From 15135e2ae06ac2e2de4c32c6064731bc39c5d34e Mon Sep 17 00:00:00 2001 From: "Niklas.Au" <80054533+7Sovaren@users.noreply.github.com> Date: Wed, 3 Jun 2026 15:10:42 +0200 Subject: [PATCH 1/8] feat: compat between soap and new rest --- .../BfsJsonMapperTests.cs | 232 + .../Bricknode.Rest.CompatSdk.Tests.csproj | 21 + .../TestSupport/JsonEquivalence.cs | 66 + .../TestSupport/ObjectFiller.cs | 124 + .../Bricknode.Rest.CompatSdk.csproj | 26 + .../Builders/IMultiBfsApiClientBuilder.cs | 14 + .../Builders/MultiBfsApiClientBuilder.cs | 28 + .../Configuration/BfsApiConfiguration.cs | 16 + .../BfsApiDependencyInjectionExtensions.cs | 88 + .../MultiBfsApiClientBuilderExtensions.cs | 29 + .../Factories/BfsApiClientFactory.cs | 61 + .../Factories/BfsApiConfigurationProvider.cs | 31 + .../Factories/IBfsApiClientFactory.cs | 16 + .../Factories/IBfsApiConfigurationProvider.cs | 9 + .../Factories/RestResourceClientActivator.cs | 34 + .../Factories/SingleBfsClientFactory.cs | 57 + .../Generated/BfsApiModels.cs | 87317 ++++++++++++++++ .../Lookups/BfsAccountStatus.cs | 13 + .../Lookups/BfsAccountType.cs | 55 + .../Lookups/BfsInstrumentType.cs | 18 + .../Lookups/BfsTransferReceiverTypeKey.cs | 43 + .../Mapping/BfsJsonMapper.cs | 64 + .../RestClient.generated.cs | 64975 ++++++++++++ .../Services/Bases/BfsServiceBase.cs | 115 + .../Services/BfsAccountService.cs | 149 + .../Services/BfsAllocationProfileService.cs | 120 + .../Services/BfsAssetService.cs | 319 + .../Services/BfsAuthenticationService.cs | 71 + .../Services/BfsBankIdService.cs | 104 + .../Services/BfsBusinessEventService.cs | 50 + .../Services/BfsCountryService.cs | 43 + .../Services/BfsCurrencyService.cs | 75 + .../Services/BfsCustomFieldService.cs | 70 + .../Services/BfsDealService.cs | 50 + .../Services/BfsFeeManagerService.cs | 91 + .../Services/BfsFileService.cs | 138 + .../Services/BfsInstructionService.cs | 125 + .../Services/BfsInsuranceService.cs | 288 + .../Services/BfsLegalEntitiesService.cs | 224 + .../Services/BfsMessageService.cs | 95 + .../Services/BfsNoteService.cs | 95 + .../Services/BfsOrderService.cs | 1243 + .../Services/BfsPositionService.cs | 124 + .../Services/BfsPowerOfAttorneyService.cs | 117 + .../Services/BfsPriceService.cs | 86 + .../Services/BfsReservationService.cs | 93 + .../Services/BfsService.cs | 6 + .../Services/BfsTaskService.cs | 95 + .../Services/BfsTaxService.cs | 96 + .../Services/BfsTransactionNoteService.cs | 50 + .../Services/BfsTransactionService.cs | 286 + .../Services/BfsTransferReceiverService.cs | 124 + .../Services/BfsTrsService.cs | 50 + .../Services/BfsWebhookService.cs | 141 + .../Services/BfsWhiteLabelService.cs | 95 + .../Services/IBfsAccountService.cs | 62 + .../Services/IBfsAllocationProfileService.cs | 42 + .../Services/IBfsAssetService.cs | 101 + .../Services/IBfsAuthenticationService.cs | 22 + .../Services/IBfsBankIdService.cs | 41 + .../Services/IBfsBusinessEventService.cs | 16 + .../Services/IBfsCountryService.cs | 10 + .../Services/IBfsCurrencyService.cs | 24 + .../Services/IBfsCustomFieldService.cs | 17 + .../Services/IBfsDealService.cs | 16 + .../Services/IBfsFeeManagerService.cs | 19 + .../Services/IBfsFileService.cs | 49 + .../Services/IBfsInstructionService.cs | 40 + .../Services/IBfsInsuranceService.cs | 91 + .../Services/IBfsLegalEntitiesService.cs | 70 + .../Services/IBfsMessageService.cs | 34 + .../Services/IBfsNoteService.cs | 34 + .../Services/IBfsOrderService.cs | 388 + .../Services/IBfsPositionService.cs | 44 + .../Services/IBfsPowerOfAttorneyService.cs | 41 + .../Services/IBfsPriceService.cs | 34 + .../Services/IBfsReservationService.cs | 16 + .../Services/IBfsTaskService.cs | 34 + .../Services/IBfsTaxService.cs | 34 + .../Services/IBfsTransactionNoteService.cs | 14 + .../Services/IBfsTransactionService.cs | 103 + .../Services/IBfsTransferReceiverService.cs | 42 + .../Services/IBfsTrsService.cs | 16 + .../Services/IBfsWebhookService.cs | 48 + .../Services/IBfsWhiteLabelService.cs | 33 + Bricknode.Soap.Sdk.sln | 40 + 86 files changed, 159740 insertions(+) create mode 100644 Bricknode.Rest.CompatSdk.Tests/BfsJsonMapperTests.cs create mode 100644 Bricknode.Rest.CompatSdk.Tests/Bricknode.Rest.CompatSdk.Tests.csproj create mode 100644 Bricknode.Rest.CompatSdk.Tests/TestSupport/JsonEquivalence.cs create mode 100644 Bricknode.Rest.CompatSdk.Tests/TestSupport/ObjectFiller.cs create mode 100644 Bricknode.Rest.CompatSdk/Bricknode.Rest.CompatSdk.csproj create mode 100644 Bricknode.Rest.CompatSdk/Builders/IMultiBfsApiClientBuilder.cs create mode 100644 Bricknode.Rest.CompatSdk/Builders/MultiBfsApiClientBuilder.cs create mode 100644 Bricknode.Rest.CompatSdk/Configuration/BfsApiConfiguration.cs create mode 100644 Bricknode.Rest.CompatSdk/Extensions/BfsApiDependencyInjectionExtensions.cs create mode 100644 Bricknode.Rest.CompatSdk/Extensions/MultiBfsApiClientBuilderExtensions.cs create mode 100644 Bricknode.Rest.CompatSdk/Factories/BfsApiClientFactory.cs create mode 100644 Bricknode.Rest.CompatSdk/Factories/BfsApiConfigurationProvider.cs create mode 100644 Bricknode.Rest.CompatSdk/Factories/IBfsApiClientFactory.cs create mode 100644 Bricknode.Rest.CompatSdk/Factories/IBfsApiConfigurationProvider.cs create mode 100644 Bricknode.Rest.CompatSdk/Factories/RestResourceClientActivator.cs create mode 100644 Bricknode.Rest.CompatSdk/Factories/SingleBfsClientFactory.cs create mode 100644 Bricknode.Rest.CompatSdk/Generated/BfsApiModels.cs create mode 100644 Bricknode.Rest.CompatSdk/Lookups/BfsAccountStatus.cs create mode 100644 Bricknode.Rest.CompatSdk/Lookups/BfsAccountType.cs create mode 100644 Bricknode.Rest.CompatSdk/Lookups/BfsInstrumentType.cs create mode 100644 Bricknode.Rest.CompatSdk/Lookups/BfsTransferReceiverTypeKey.cs create mode 100644 Bricknode.Rest.CompatSdk/Mapping/BfsJsonMapper.cs create mode 100644 Bricknode.Rest.CompatSdk/RestClient.generated.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/Bases/BfsServiceBase.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsAccountService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsAllocationProfileService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsAssetService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsAuthenticationService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsBankIdService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsBusinessEventService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsCountryService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsCurrencyService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsCustomFieldService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsDealService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsFeeManagerService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsFileService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsInstructionService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsInsuranceService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsLegalEntitiesService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsMessageService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsNoteService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsOrderService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsPositionService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsPowerOfAttorneyService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsPriceService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsReservationService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsTaskService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsTaxService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsTransactionNoteService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsTransactionService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsTransferReceiverService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsTrsService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsWebhookService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/BfsWhiteLabelService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsAccountService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsAllocationProfileService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsAssetService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsAuthenticationService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsBankIdService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsBusinessEventService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsCountryService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsCurrencyService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsCustomFieldService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsDealService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsFeeManagerService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsFileService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsInstructionService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsInsuranceService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsLegalEntitiesService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsMessageService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsNoteService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsOrderService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsPositionService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsPowerOfAttorneyService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsPriceService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsReservationService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsTaskService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsTaxService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsTransactionNoteService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsTransactionService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsTransferReceiverService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsTrsService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsWebhookService.cs create mode 100644 Bricknode.Rest.CompatSdk/Services/IBfsWhiteLabelService.cs diff --git a/Bricknode.Rest.CompatSdk.Tests/BfsJsonMapperTests.cs b/Bricknode.Rest.CompatSdk.Tests/BfsJsonMapperTests.cs new file mode 100644 index 0000000..1f11f7b --- /dev/null +++ b/Bricknode.Rest.CompatSdk.Tests/BfsJsonMapperTests.cs @@ -0,0 +1,232 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using BfsApi; +using CompatSdkTests.TestSupport; +using Bricknode.Soap.Sdk.Mapping; +using Xunit; +using Xunit.Abstractions; +using RestApi = global::Bricknode.Rest.CompatSdk; + +namespace CompatSdkTests; + +/// +/// Validates the JSON-bridge mapper used by the REST compat layer: +/// SOAP-shaped BfsApi.* DTOs must survive a SOAP -> REST -> SOAP round-trip unchanged. +/// +public class BfsJsonMapperTests +{ + private readonly ITestOutputHelper _output; + + public BfsJsonMapperTests(ITestOutputHelper output) + { + _output = output; + } + + // ---- Diagnostic: which BfsApi request/response types have NO REST counterpart? ---- + // These are SOAP operations that cannot be ported by name as-is (the REST op may be absent, + // renamed, or merged). Informational only - stays green; writes the list to a file artifact. + + [Fact] + public void Report_Soap_RequestResponse_Types_Without_Rest_Counterpart() + { + var assembly = typeof(RestApi.AccountsClient).Assembly; + var restNames = RestTypeNames(assembly); + + var soapTypes = SoapRequestResponseTypes(assembly).ToList(); + var unmatched = soapTypes + .Where(t => !restNames.Contains(t.Name)) + .Select(t => t.Name) + .OrderBy(n => n, StringComparer.Ordinal) + .ToList(); + + var matchedCount = soapTypes.Count - unmatched.Count; + + var report = + $"BfsApi request/response types: {soapTypes.Count} total, " + + $"{matchedCount} matched to a REST type, {unmatched.Count} unmatched.\n" + + "Unmatched (no REST type with the same name):\n" + + (unmatched.Count == 0 ? " (none)" : string.Join("\n", unmatched.Select(n => " " + n))); + + _output.WriteLine(report); + + var path = Path.Combine(AppContext.BaseDirectory, "unmatched-soap-request-response.txt"); + File.WriteAllText(path, report); + _output.WriteLine("Written to: " + path); + } + + // ---- Round-trip fidelity for EVERY BfsApi request/response with a REST counterpart ---- + // SOAP -> REST -> SOAP must "look the same". Data-driven so new types are covered automatically. + + [Theory] + [MemberData(nameof(RequestResponsePairs))] + public void RequestResponse_RoundTrips(TypePair pair) + { + var original = ObjectFiller.Create(pair.Soap); + Assert.NotNull(original); + + var rest = MapDynamic(original!, pair.Rest); + Assert.NotNull(rest); + + var roundTripped = MapDynamic(rest!, pair.Soap); + Assert.NotNull(roundTripped); + Assert.NotNull(original); + + JsonEquivalence.AssertEquivalent(original, roundTripped); + Assert.NotEqual(original, roundTripped); + } + + public static IEnumerable RequestResponsePairs() + { + var assembly = typeof(RestApi.AccountsClient).Assembly; + + var restByName = assembly.GetTypes() + .Where(t => t.Namespace == "Bricknode.Rest.CompatSdk" && t.IsPublic && !t.IsAbstract) + .GroupBy(t => t.Name) + .ToDictionary(g => g.Key, g => g.First(), StringComparer.Ordinal); + + foreach (var soap in SoapRequestResponseTypes(assembly)) + { + if (restByName.TryGetValue(soap.Name, out var rest)) + yield return new object[] { new TypePair(soap, rest) }; + } + } + + private static IEnumerable SoapRequestResponseTypes(Assembly assembly) => + assembly.GetTypes() + .Where(t => t.Namespace == "BfsApi" && t.IsPublic && t.IsClass && !t.IsAbstract) + .Where(t => t.Name.EndsWith("Request", StringComparison.Ordinal) || + t.Name.EndsWith("Response", StringComparison.Ordinal)) + .OrderBy(t => t.Name, StringComparer.Ordinal); + + private static HashSet RestTypeNames(Assembly assembly) => + assembly.GetTypes() + .Where(t => t.Namespace == "Bricknode.Rest.CompatSdk" && t.IsPublic && !t.IsAbstract) + .Select(t => t.Name) + .ToHashSet(StringComparer.Ordinal); + + private static object? MapDynamic(object source, Type targetType) + { + var map = typeof(BfsJsonMapper) + .GetMethod(nameof(BfsJsonMapper.Map), BindingFlags.Public | BindingFlags.Static)! + .MakeGenericMethod(targetType); + + return map.Invoke(null, new[] { source }); + } + + /// Serializable (for xUnit) pair of matched SOAP/REST types with a readable test name. + public sealed class TypePair : IXunitSerializable + { + public Type Soap { get; private set; } = null!; + public Type Rest { get; private set; } = null!; + + public TypePair() { } + + public TypePair(Type soap, Type rest) + { + Soap = soap; + Rest = rest; + } + + public void Deserialize(IXunitSerializationInfo info) + { + Soap = Type.GetType(info.GetValue("soap"))!; + Rest = Type.GetType(info.GetValue("rest"))!; + } + + public void Serialize(IXunitSerializationInfo info) + { + info.AddValue("soap", Soap.AssemblyQualifiedName); + info.AddValue("rest", Rest.AssemblyQualifiedName); + } + + public override string ToString() => Soap.Name; + } + + // ---- Targeted conversions that the generic round-trip relies on ---- + + [Fact] + public void Maps_Credentials_And_Identify_Casing_SoapToRest() + { + var soap = new GetAccountsRequest + { + identify = "ident-123", + Credentials = new Credentials { UserName = "user", Password = "pass" }, + }; + + var rest = BfsJsonMapper.Map(soap)!; + + // identify (lower) on SOAP <-> Identify ([JsonPropertyName("identify")]) on REST + Assert.Equal("ident-123", rest.Identify); + Assert.NotNull(rest.Credentials); + Assert.Equal("user", rest.Credentials!.UserName); + Assert.Equal("pass", rest.Credentials.Password); + } + + [Fact] + public void Maps_Array_To_Collection_SoapToRest() + { + var id1 = Guid.NewGuid(); + var id2 = Guid.NewGuid(); + var soap = new GetAccountsRequest + { + Args = new GetAccountsArgs + { + BrickIds = new[] { id1, id2 }, + AccountNos = new[] { "A1", "A2", "A3" }, + }, + }; + + var rest = BfsJsonMapper.Map(soap)!; + + Assert.NotNull(rest.Args); + Assert.Equal(new[] { id1, id2 }, rest.Args!.BrickIds!.ToArray()); + Assert.Equal(new[] { "A1", "A2", "A3" }, rest.Args.AccountNos!.ToArray()); + } + + [Fact] + public void Maps_Collection_To_Array_RestToSoap() + { + var rest = new RestApi.GetAccountsResponse + { + Message = "OK", + Result = new[] + { + new RestApi.GetAccountResponseRow { AccountNo = "ACC-1", BaseCurrencyCode = "SEK" }, + }, + }; + + var soap = BfsJsonMapper.Map(rest)!; + + Assert.Equal("OK", soap.Message); + Assert.NotNull(soap.Result); + Assert.Single(soap.Result); + Assert.Equal("ACC-1", soap.Result[0].AccountNo); + Assert.Equal("SEK", soap.Result[0].BaseCurrencyCode); + } + + [Fact] + public void Null_Source_Maps_To_Default() + { + var rest = BfsJsonMapper.Map(null); + Assert.Null(rest); + } + + private static void AssertRoundTrips() where TSoap : class + { + var original = ObjectFiller.Create(); + Assert.NotNull(original); + + var rest = BfsJsonMapper.Map(original); + Assert.NotNull(rest); + + var roundTripped = BfsJsonMapper.Map(rest); + Assert.NotNull(roundTripped); + Assert.NotNull(original); + + JsonEquivalence.AssertEquivalent(original, roundTripped); + Assert.NotEqual(original, roundTripped); + } +} diff --git a/Bricknode.Rest.CompatSdk.Tests/Bricknode.Rest.CompatSdk.Tests.csproj b/Bricknode.Rest.CompatSdk.Tests/Bricknode.Rest.CompatSdk.Tests.csproj new file mode 100644 index 0000000..286aeaa --- /dev/null +++ b/Bricknode.Rest.CompatSdk.Tests/Bricknode.Rest.CompatSdk.Tests.csproj @@ -0,0 +1,21 @@ + + + + net9.0 + latest + enable + false + true + + + + + + + + + + + + + diff --git a/Bricknode.Rest.CompatSdk.Tests/TestSupport/JsonEquivalence.cs b/Bricknode.Rest.CompatSdk.Tests/TestSupport/JsonEquivalence.cs new file mode 100644 index 0000000..6f1d9d3 --- /dev/null +++ b/Bricknode.Rest.CompatSdk.Tests/TestSupport/JsonEquivalence.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Json; +using System.Text.Json.Nodes; +using Xunit.Sdk; + +namespace CompatSdkTests.TestSupport; + +/// +/// Compares two objects by their canonical JSON form ("do they look the same?"). +/// Nulls are NOT ignored, so a value that is lost during a mapping round-trip (becomes null) +/// shows up as a difference instead of being silently hidden. +/// +public static class JsonEquivalence +{ + private static readonly JsonSerializerOptions SerializeOptions = new() + { + // Keep nulls so dropped values are visible. Write numbers/enums consistently. + WriteIndented = false, + }; + + public static string Canonical(object? value) + { + var json = JsonSerializer.Serialize(value, value?.GetType() ?? typeof(object), SerializeOptions); + var node = JsonNode.Parse(json); + return Sort(node)?.ToJsonString() ?? "null"; + } + + public static void AssertEquivalent(object? expected, object? actual) + { + var expectedJson = Canonical(expected); + var actualJson = Canonical(actual); + + if (!string.Equals(expectedJson, actualJson, StringComparison.Ordinal)) + { + throw new XunitException( + "Objects are not JSON-equivalent after round-trip.\n" + + "--- expected (original) ---\n" + expectedJson + "\n" + + "--- actual (round-tripped) ---\n" + actualJson); + } + } + + private static JsonNode? Sort(JsonNode? node) + { + switch (node) + { + case JsonObject obj: + { + var sorted = new JsonObject(); + foreach (var kvp in obj.OrderBy(p => p.Key, StringComparer.Ordinal)) + sorted[kvp.Key] = Sort(kvp.Value?.DeepClone()); + return sorted; + } + case JsonArray arr: + { + var sortedArray = new JsonArray(); + foreach (var item in arr.ToList()) + sortedArray.Add(Sort(item?.DeepClone())); + return sortedArray; + } + default: + return node; + } + } +} diff --git a/Bricknode.Rest.CompatSdk.Tests/TestSupport/ObjectFiller.cs b/Bricknode.Rest.CompatSdk.Tests/TestSupport/ObjectFiller.cs new file mode 100644 index 0000000..3951b1e --- /dev/null +++ b/Bricknode.Rest.CompatSdk.Tests/TestSupport/ObjectFiller.cs @@ -0,0 +1,124 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; + +namespace CompatSdkTests.TestSupport; + +/// +/// Recursively populates an object graph with deterministic, non-default values so that a +/// round-trip mapping exercises every property (not just a hand-picked few). Values are +/// JSON-stable (fixed dates, UTC kind, deterministic Guids) so two fills of the same type +/// serialize identically. +/// +public static class ObjectFiller +{ + private const int MaxDepth = 6; + private static readonly DateTime BaseDate = new(2021, 2, 3, 4, 5, 6, DateTimeKind.Utc); + + public static T Create() => (T)Create(typeof(T))!; + + public static object? Create(Type type) + { + var counter = new int[] { 0 }; + return Build(type, 0, new HashSet(), counter); + } + + private static object? Build(Type type, int depth, HashSet path, int[] counter) + { + var underlying = Nullable.GetUnderlyingType(type); + if (underlying != null) + return Build(underlying, depth, path, counter); + + var n = ++counter[0]; + + if (type == typeof(string)) return "str_" + n; + if (type == typeof(bool)) return true; + if (type == typeof(byte)) return (byte)(n % 250 + 1); + if (type == typeof(sbyte)) return (sbyte)(n % 120 + 1); + if (type == typeof(short)) return (short)(n + 10); + if (type == typeof(ushort)) return (ushort)(n + 10); + if (type == typeof(int)) return n + 100; + if (type == typeof(uint)) return (uint)(n + 100); + if (type == typeof(long)) return (long)(n + 1000); + if (type == typeof(ulong)) return (ulong)(n + 1000); + if (type == typeof(double)) return n + 0.5d; + if (type == typeof(float)) return n + 0.5f; + if (type == typeof(decimal)) return n + 0.25m; + if (type == typeof(char)) return (char)('A' + (n % 26)); + if (type == typeof(Guid)) return DeterministicGuid(n); + if (type == typeof(DateTime)) return BaseDate.AddMinutes(n); + if (type == typeof(DateTimeOffset)) return new DateTimeOffset(BaseDate.AddMinutes(n)); + if (type == typeof(TimeSpan)) return TimeSpan.FromMinutes(n); + if (type == typeof(byte[])) return new byte[] { (byte)n, (byte)(n + 1) }; + + if (type.IsEnum) + { + var values = Enum.GetValues(type); + // pick a non-first value when possible to catch default-vs-set bugs + return values.Length > 1 ? values.GetValue(1) : values.GetValue(0); + } + + if (type.IsArray) + { + var elementType = type.GetElementType()!; + var element = Build(elementType, depth + 1, path, counter); + var array = Array.CreateInstance(elementType, 1); + array.SetValue(element, 0); + return array; + } + + if (type.IsGenericType) + { + var def = type.GetGenericTypeDefinition(); + if (def == typeof(List<>) || def == typeof(IList<>) || def == typeof(ICollection<>) || + def == typeof(IEnumerable<>) || def == typeof(IReadOnlyList<>) || def == typeof(IReadOnlyCollection<>)) + { + var elementType = type.GetGenericArguments()[0]; + var listType = typeof(List<>).MakeGenericType(elementType); + var list = (IList)Activator.CreateInstance(listType)!; + list.Add(Build(elementType, depth + 1, path, counter)); + return list; + } + } + + // Complex type + if (type.IsAbstract || type.IsInterface) + return null; + + if (depth >= MaxDepth || path.Contains(type)) + return null; + + object instance; + try + { + instance = Activator.CreateInstance(type, nonPublic: true)!; + } + catch + { + return null; + } + + path.Add(type); + foreach (var property in type.GetProperties(BindingFlags.Public | BindingFlags.Instance) + .Where(p => p.CanRead && p.CanWrite && p.GetIndexParameters().Length == 0)) + { + var value = Build(property.PropertyType, depth + 1, path, counter); + if (value != null) + property.SetValue(instance, value); + } + path.Remove(type); + + return instance; + } + + private static Guid DeterministicGuid(int n) + { + var bytes = new byte[16]; + bytes[0] = (byte)(n & 0xFF); + bytes[1] = (byte)((n >> 8) & 0xFF); + bytes[15] = (byte)(n & 0xFF); + return new Guid(bytes); + } +} diff --git a/Bricknode.Rest.CompatSdk/Bricknode.Rest.CompatSdk.csproj b/Bricknode.Rest.CompatSdk/Bricknode.Rest.CompatSdk.csproj new file mode 100644 index 0000000..b13572d --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Bricknode.Rest.CompatSdk.csproj @@ -0,0 +1,26 @@ + + + + netstandard2.0 + Bricknode.Rest.CompatSdk + Bricknode.Rest.CompatSdk + latest + enable + true + + $(NoWarn);1591;8618;8625;8601;8603;8604;8602;0108;0114 + + + + + + + + + + + + + + + diff --git a/Bricknode.Rest.CompatSdk/Builders/IMultiBfsApiClientBuilder.cs b/Bricknode.Rest.CompatSdk/Builders/IMultiBfsApiClientBuilder.cs new file mode 100644 index 0000000..437afce --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Builders/IMultiBfsApiClientBuilder.cs @@ -0,0 +1,14 @@ +namespace Bricknode.Soap.Sdk.Builders +{ + using System.Collections.Generic; + using Configuration; + using Microsoft.Extensions.DependencyInjection; + + public interface IMultiBfsApiClientBuilder + { + IServiceCollection Services { get; } + + void AddBfsApiConfiguration(string key, BfsApiConfiguration bfsApiConfiguration); + Dictionary GetBfsApiConfigurations(); + } +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Builders/MultiBfsApiClientBuilder.cs b/Bricknode.Rest.CompatSdk/Builders/MultiBfsApiClientBuilder.cs new file mode 100644 index 0000000..2415c68 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Builders/MultiBfsApiClientBuilder.cs @@ -0,0 +1,28 @@ +namespace Bricknode.Soap.Sdk.Builders +{ + using System; + using System.Collections.Generic; + using Configuration; + using Microsoft.Extensions.DependencyInjection; + + public class MultiBfsApiClientBuilder : IMultiBfsApiClientBuilder + { + public IServiceCollection Services { get; } + + private readonly Dictionary _apiConfigurations = new Dictionary(); + + public MultiBfsApiClientBuilder(IServiceCollection services) + => Services = services; + + public void AddBfsApiConfiguration(string bfsApiClientName, BfsApiConfiguration bfsApiConfiguration) + { + if (_apiConfigurations.ContainsKey(bfsApiClientName)) + throw new Exception($"A BfsApiClient with name {bfsApiClientName} has already been added."); + + _apiConfigurations.Add(bfsApiClientName, bfsApiConfiguration); + } + + public Dictionary GetBfsApiConfigurations() + => _apiConfigurations; + } +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Configuration/BfsApiConfiguration.cs b/Bricknode.Rest.CompatSdk/Configuration/BfsApiConfiguration.cs new file mode 100644 index 0000000..ff2416e --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Configuration/BfsApiConfiguration.cs @@ -0,0 +1,16 @@ +using BfsApi; + +namespace Bricknode.Soap.Sdk.Configuration +{ + public class BfsApiConfiguration + { + public Credentials Credentials { get; set; } + public string Identifier { get; set; } + + /// + /// Base address of the Bricknode REST API (e.g. https://api.bricknode.com/). + /// Kept named EndpointAddress for drop-in compatibility with the SOAP SDK. + /// + public string EndpointAddress { get; set; } + } +} diff --git a/Bricknode.Rest.CompatSdk/Extensions/BfsApiDependencyInjectionExtensions.cs b/Bricknode.Rest.CompatSdk/Extensions/BfsApiDependencyInjectionExtensions.cs new file mode 100644 index 0000000..8f05fab --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Extensions/BfsApiDependencyInjectionExtensions.cs @@ -0,0 +1,88 @@ +namespace Bricknode.Soap.Sdk.Extensions +{ + using System; + using System.Collections.Generic; + using Bricknode.Soap.Sdk.Builders; + using Configuration; + using Factories; + using Microsoft.Extensions.DependencyInjection; + using Services; + + public static class BfsApiDependencyInjectionExtensions + { + public static IServiceCollection AddBfsApiClient( + this IServiceCollection services, + Action configureAction) + { + services.AddSingleton(new SingleBfsClientFactory(configureAction)); + AddBfsServices(services); + return services; + } + + public static IServiceCollection AddBfsApiClients( + this IServiceCollection services, + Func> configureFactory) + { + services.AddSingleton(_ => new BfsApiConfigurationProvider(configureFactory())); + services.AddScoped(); + AddBfsServices(services); + return services; + } + + public static IServiceCollection AddBfsApiClients( + this IServiceCollection services, + Func providerFactory) + { + services.AddSingleton(providerFactory); + services.AddScoped(); + AddBfsServices(services); + return services; + } + + [Obsolete($"The usage of {nameof(IMultiBfsApiClientBuilder)} is deprecated, please migrate to {nameof(AddBfsServices)} or for more flexibility you can create a custom implementation of {nameof(IBfsApiConfigurationProvider)}. {nameof(IMultiBfsApiClientBuilder)} will be removed in a future release.")] + public static IMultiBfsApiClientBuilder AddMultiBfsApiClient(this IServiceCollection services) + { + var builder = new MultiBfsApiClientBuilder(services); + + services.AddScoped(); + AddBfsServices(services); + + return builder; + } + + public static IServiceCollection AddBfsServices(this IServiceCollection services) + { + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + return services; + } + } +} diff --git a/Bricknode.Rest.CompatSdk/Extensions/MultiBfsApiClientBuilderExtensions.cs b/Bricknode.Rest.CompatSdk/Extensions/MultiBfsApiClientBuilderExtensions.cs new file mode 100644 index 0000000..152b3d6 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Extensions/MultiBfsApiClientBuilderExtensions.cs @@ -0,0 +1,29 @@ +namespace Bricknode.Soap.Sdk.Extensions +{ + using System; + using Builders; + using Configuration; + using Factories; + using Microsoft.Extensions.DependencyInjection; + + public static class MultiBfsApiClientBuilderExtensions + { + public static IMultiBfsApiClientBuilder AddNamedBfsApiClient(this IMultiBfsApiClientBuilder builder, + string bfsApiClientName, Action bfsApiConfiguration) + { + var configuration = new BfsApiConfiguration(); + bfsApiConfiguration(configuration); + + builder.AddBfsApiConfiguration(bfsApiClientName, configuration); + + return builder; + } + + public static void BuildClients(this IMultiBfsApiClientBuilder builder) + { + var configurationProvider = new BfsApiConfigurationProvider(); + configurationProvider.AddConfigurations(builder.GetBfsApiConfigurations()); + builder.Services.AddSingleton(configurationProvider); + } + } +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Factories/BfsApiClientFactory.cs b/Bricknode.Rest.CompatSdk/Factories/BfsApiClientFactory.cs new file mode 100644 index 0000000..bddd9b4 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Factories/BfsApiClientFactory.cs @@ -0,0 +1,61 @@ +namespace Bricknode.Soap.Sdk.Factories; + +using System; +using System.Collections.Concurrent; +using System.Net.Http; +using System.Threading.Tasks; +using Configuration; + +public class BfsApiClientFactory : IBfsApiClientFactory +{ + private readonly IBfsApiConfigurationProvider _configurationProvider; + private readonly ConcurrentDictionary _cacheConfigurations; + private readonly ConcurrentDictionary _cacheHttpClients; + private readonly ConcurrentDictionary<(string Name, Type ClientType), object> _cacheClients; + + public BfsApiClientFactory(IBfsApiConfigurationProvider configurationProvider) + { + _configurationProvider = configurationProvider; + _cacheConfigurations = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase); + _cacheHttpClients = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase); + _cacheClients = new ConcurrentDictionary<(string, Type), object>(); + } + + public async ValueTask GetConfigurationAsync(string? bfsApiClientName = null) + { + bfsApiClientName ??= string.Empty; + + if (!_cacheConfigurations.TryGetValue(bfsApiClientName, out var configuration)) + { + configuration = await _configurationProvider.GetConfigurationAsync(bfsApiClientName); + _cacheConfigurations.TryAdd(bfsApiClientName, configuration); + } + + return configuration; + } + + public async ValueTask CreateClientAsync(string? bfsApiClientName = null) where TClient : class + { + bfsApiClientName ??= string.Empty; + + var key = (bfsApiClientName, typeof(TClient)); + if (_cacheClients.TryGetValue(key, out var cached)) + return (TClient)cached; + + var configuration = await GetConfigurationAsync(bfsApiClientName); + var httpClient = _cacheHttpClients.GetOrAdd(bfsApiClientName, static _ => new HttpClient()); + var client = RestResourceClientActivator.Create(httpClient, configuration); + _cacheClients.TryAdd(key, client); + + return client; + } + + public void Dispose() + { + foreach (var httpClient in _cacheHttpClients.Values) + httpClient.Dispose(); + + _cacheHttpClients.Clear(); + _cacheClients.Clear(); + } +} diff --git a/Bricknode.Rest.CompatSdk/Factories/BfsApiConfigurationProvider.cs b/Bricknode.Rest.CompatSdk/Factories/BfsApiConfigurationProvider.cs new file mode 100644 index 0000000..b06009b --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Factories/BfsApiConfigurationProvider.cs @@ -0,0 +1,31 @@ +namespace Bricknode.Soap.Sdk.Factories; + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Bricknode.Soap.Sdk.Configuration; + +public class BfsApiConfigurationProvider : IBfsApiConfigurationProvider +{ + private IReadOnlyDictionary _bfsApiConfigurations; + + public BfsApiConfigurationProvider() + { + _bfsApiConfigurations = new Dictionary(StringComparer.OrdinalIgnoreCase); + } + + public BfsApiConfigurationProvider(IDictionary configurations) + { + _bfsApiConfigurations = new Dictionary(configurations, StringComparer.OrdinalIgnoreCase); + } + + public void AddConfigurations(Dictionary configurations) + { + _bfsApiConfigurations = configurations; + } + + public ValueTask GetConfigurationAsync(string? bfsApiClientName = null) + { + return new ValueTask(_bfsApiConfigurations[bfsApiClientName ?? string.Empty]); + } +} diff --git a/Bricknode.Rest.CompatSdk/Factories/IBfsApiClientFactory.cs b/Bricknode.Rest.CompatSdk/Factories/IBfsApiClientFactory.cs new file mode 100644 index 0000000..ffa56ca --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Factories/IBfsApiClientFactory.cs @@ -0,0 +1,16 @@ +namespace Bricknode.Soap.Sdk.Factories; + +using System; +using System.Threading.Tasks; +using Configuration; + +public interface IBfsApiClientFactory : IDisposable +{ + ValueTask GetConfigurationAsync(string? bfsApiClientName = null); + + /// + /// Creates (and caches) a generated REST resource client of type + /// configured with the base address from the matching . + /// + ValueTask CreateClientAsync(string? bfsApiClientName = null) where TClient : class; +} diff --git a/Bricknode.Rest.CompatSdk/Factories/IBfsApiConfigurationProvider.cs b/Bricknode.Rest.CompatSdk/Factories/IBfsApiConfigurationProvider.cs new file mode 100644 index 0000000..d33cd8a --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Factories/IBfsApiConfigurationProvider.cs @@ -0,0 +1,9 @@ +using Bricknode.Soap.Sdk.Configuration; +using System.Threading.Tasks; + +namespace Bricknode.Soap.Sdk.Factories; + +public interface IBfsApiConfigurationProvider +{ + ValueTask GetConfigurationAsync(string? bfsApiClientName = null); +} diff --git a/Bricknode.Rest.CompatSdk/Factories/RestResourceClientActivator.cs b/Bricknode.Rest.CompatSdk/Factories/RestResourceClientActivator.cs new file mode 100644 index 0000000..4b99faa --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Factories/RestResourceClientActivator.cs @@ -0,0 +1,34 @@ +namespace Bricknode.Soap.Sdk.Factories; + +using System; +using System.Collections.Concurrent; +using System.Net.Http; +using System.Reflection; +using Configuration; + +/// +/// Builds the NSwag-generated REST resource clients (e.g. AccountsClient). +/// Every generated client exposes a (HttpClient) constructor and a settable +/// BaseUrl property, so we configure them generically via reflection. +/// +internal static class RestResourceClientActivator +{ + private static readonly ConcurrentDictionary BaseUrlProperties = new(); + + public static TClient Create(HttpClient httpClient, BfsApiConfiguration configuration) + where TClient : class + { + var client = (TClient)Activator.CreateInstance(typeof(TClient), httpClient)!; + + if (!string.IsNullOrWhiteSpace(configuration.EndpointAddress)) + { + var baseUrlProperty = BaseUrlProperties.GetOrAdd( + typeof(TClient), + static type => type.GetProperty("BaseUrl", BindingFlags.Public | BindingFlags.Instance)!); + + baseUrlProperty?.SetValue(client, configuration.EndpointAddress); + } + + return client; + } +} diff --git a/Bricknode.Rest.CompatSdk/Factories/SingleBfsClientFactory.cs b/Bricknode.Rest.CompatSdk/Factories/SingleBfsClientFactory.cs new file mode 100644 index 0000000..09660d5 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Factories/SingleBfsClientFactory.cs @@ -0,0 +1,57 @@ +namespace Bricknode.Soap.Sdk.Factories; + +using System; +using System.Collections.Concurrent; +using System.Net.Http; +using System.Threading.Tasks; +using Bricknode.Soap.Sdk.Configuration; + +internal class SingleBfsClientFactory : IBfsApiClientFactory +{ + private readonly Action _configureAction; + private readonly ConcurrentDictionary _cacheClients; + private BfsApiConfiguration? _configuration; + private HttpClient? _httpClient; + + public SingleBfsClientFactory(Action configureAction) + { + _configureAction = configureAction; + _cacheClients = new ConcurrentDictionary(); + } + + private BfsApiConfiguration Configuration + { + get + { + if (_configuration is null) + { + _configuration = new BfsApiConfiguration(); + _configureAction(_configuration); + } + + return _configuration; + } + } + + private HttpClient HttpClient => _httpClient ??= new HttpClient(); + + public ValueTask GetConfigurationAsync(string? bfsApiClientName = null) + { + return new ValueTask(Configuration); + } + + public ValueTask CreateClientAsync(string? bfsApiClientName = null) where TClient : class + { + var client = (TClient)_cacheClients.GetOrAdd( + typeof(TClient), + _ => RestResourceClientActivator.Create(HttpClient, Configuration)); + + return new ValueTask(client); + } + + public void Dispose() + { + _httpClient?.Dispose(); + _cacheClients.Clear(); + } +} diff --git a/Bricknode.Rest.CompatSdk/Generated/BfsApiModels.cs b/Bricknode.Rest.CompatSdk/Generated/BfsApiModels.cs new file mode 100644 index 0000000..36f916d --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Generated/BfsApiModels.cs @@ -0,0 +1,87317 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace BfsApi +{ + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceProductsRequest : APISearchRequestOfGetInsuranceProductsArgsGetInsuranceProductsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceProductsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInsuranceProductsArgsGetInsuranceProductsFields : Request + { + + private GetInsuranceProductsArgs argsField; + + private GetInsuranceProductsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInsuranceProductsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsuranceProductsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceProductsArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] insuranceProductSupplierIdsField; + + private System.Guid[] resellerIdsField; + + private System.Guid[] brokerIdsField; + + private System.Guid[] adminsitratorIdsField; + + private System.Guid[] accountManagerIdsField; + + private System.Guid[] claimsAdjusterIdsField; + + private string[] insuranceProductTypeKeysField; + + private string[] insuranceCategoryKeysField; + + private string[] keysField; + + private string[] namesField; + + private string[] descriptionStringsField; + + private string[] productCodesField; + + private string[] statusKeysField; + + private string[] countriesField; + + private decimal[] ruleOf12sField; + + private decimal[] ruleOf45sField; + + private decimal[] ruleOf72sField; + + private System.Guid[] currenciesField; + + private decimal[] insuranceCommissionsField; + + private decimal[] retentionsField; + + private double[] profitSharesField; + + private string[] termsNoField; + + private string[] termsUrlsField; + + private string[] productVersionsField; + + private System.Nullable startDateFromField; + + private System.Nullable startDateToField; + + private System.Nullable endDateFromField; + + private System.Nullable endDateToField; + + private string[] maxTermsField; + + private string[] insurableInterestsField; + + private decimal[] grossPricesField; + + private string[] premiumBasedOnsField; + + private decimal[] netPricesField; + + private int[] chargeIntervalsField; + + private string[] saleMethodsField; + + private string[] externalReferencesField; + + private string[] parametersField; + + private string[] commentsField; + + private string[] dealTypeKeysField; + + private int[] periodOfNoticesField; + + private System.Nullable rAFApprovedDateFromField; + + private System.Nullable rAFApprovedDateToField; + + private decimal[] insuranceTaxesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] InsuranceProductSupplierIds + { + get + { + return this.insuranceProductSupplierIdsField; + } + set + { + this.insuranceProductSupplierIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] ResellerIds + { + get + { + return this.resellerIdsField; + } + set + { + this.resellerIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] BrokerIds + { + get + { + return this.brokerIdsField; + } + set + { + this.brokerIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] AdminsitratorIds + { + get + { + return this.adminsitratorIdsField; + } + set + { + this.adminsitratorIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] AccountManagerIds + { + get + { + return this.accountManagerIdsField; + } + set + { + this.accountManagerIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] ClaimsAdjusterIds + { + get + { + return this.claimsAdjusterIdsField; + } + set + { + this.claimsAdjusterIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] InsuranceProductTypeKeys + { + get + { + return this.insuranceProductTypeKeysField; + } + set + { + this.insuranceProductTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public string[] InsuranceCategoryKeys + { + get + { + return this.insuranceCategoryKeysField; + } + set + { + this.insuranceCategoryKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] Names + { + get + { + return this.namesField; + } + set + { + this.namesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public string[] DescriptionStrings + { + get + { + return this.descriptionStringsField; + } + set + { + this.descriptionStringsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public string[] ProductCodes + { + get + { + return this.productCodesField; + } + set + { + this.productCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public string[] StatusKeys + { + get + { + return this.statusKeysField; + } + set + { + this.statusKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public string[] Countries + { + get + { + return this.countriesField; + } + set + { + this.countriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=17)] + public decimal[] RuleOf12s + { + get + { + return this.ruleOf12sField; + } + set + { + this.ruleOf12sField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public decimal[] RuleOf45s + { + get + { + return this.ruleOf45sField; + } + set + { + this.ruleOf45sField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public decimal[] RuleOf72s + { + get + { + return this.ruleOf72sField; + } + set + { + this.ruleOf72sField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=20)] + public System.Guid[] Currencies + { + get + { + return this.currenciesField; + } + set + { + this.currenciesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=21)] + public decimal[] InsuranceCommissions + { + get + { + return this.insuranceCommissionsField; + } + set + { + this.insuranceCommissionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=22)] + public decimal[] Retentions + { + get + { + return this.retentionsField; + } + set + { + this.retentionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=23)] + public double[] ProfitShares + { + get + { + return this.profitSharesField; + } + set + { + this.profitSharesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=24)] + public string[] TermsNo + { + get + { + return this.termsNoField; + } + set + { + this.termsNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=25)] + public string[] TermsUrls + { + get + { + return this.termsUrlsField; + } + set + { + this.termsUrlsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=26)] + public string[] ProductVersions + { + get + { + return this.productVersionsField; + } + set + { + this.productVersionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=27)] + public System.Nullable StartDateFrom + { + get + { + return this.startDateFromField; + } + set + { + this.startDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=28)] + public System.Nullable StartDateTo + { + get + { + return this.startDateToField; + } + set + { + this.startDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=29)] + public System.Nullable EndDateFrom + { + get + { + return this.endDateFromField; + } + set + { + this.endDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=30)] + public System.Nullable EndDateTo + { + get + { + return this.endDateToField; + } + set + { + this.endDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=31)] + public string[] MaxTerms + { + get + { + return this.maxTermsField; + } + set + { + this.maxTermsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=32)] + public string[] InsurableInterests + { + get + { + return this.insurableInterestsField; + } + set + { + this.insurableInterestsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=33)] + public decimal[] GrossPrices + { + get + { + return this.grossPricesField; + } + set + { + this.grossPricesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=34)] + public string[] PremiumBasedOns + { + get + { + return this.premiumBasedOnsField; + } + set + { + this.premiumBasedOnsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=35)] + public decimal[] NetPrices + { + get + { + return this.netPricesField; + } + set + { + this.netPricesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=36)] + public int[] ChargeIntervals + { + get + { + return this.chargeIntervalsField; + } + set + { + this.chargeIntervalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=37)] + public string[] SaleMethods + { + get + { + return this.saleMethodsField; + } + set + { + this.saleMethodsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=38)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=39)] + public string[] Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=40)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=41)] + public string[] DealTypeKeys + { + get + { + return this.dealTypeKeysField; + } + set + { + this.dealTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=42)] + public int[] PeriodOfNotices + { + get + { + return this.periodOfNoticesField; + } + set + { + this.periodOfNoticesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=43)] + public System.Nullable RAFApprovedDateFrom + { + get + { + return this.rAFApprovedDateFromField; + } + set + { + this.rAFApprovedDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=44)] + public System.Nullable RAFApprovedDateTo + { + get + { + return this.rAFApprovedDateToField; + } + set + { + this.rAFApprovedDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=45)] + public decimal[] InsuranceTaxes + { + get + { + return this.insuranceTaxesField; + } + set + { + this.insuranceTaxesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCustomFieldResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class ResponseBaseOfCreateCustomFieldDto + { + + private CreateCustomFieldDto[] entitiesField; + + private string messageField; + + private bool isErrorField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateCustomFieldDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool IsError + { + get + { + return this.isErrorField; + } + set + { + this.isErrorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateCustomFieldDto : DtoBase + { + + private System.Guid bfsEntityBrickIdField; + + private CustomField[] customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BfsEntityBrickId + { + get + { + return this.bfsEntityBrickIdField; + } + set + { + this.bfsEntityBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public CustomField[] CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CustomField : EntityBase + { + + private string fieldNameField; + + private string valueField; + + private bool hiddenFromGuiField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FieldName + { + get + { + return this.fieldNameField; + } + set + { + this.fieldNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool HiddenFromGui + { + get + { + return this.hiddenFromGuiField; + } + set + { + this.hiddenFromGuiField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceClaim))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InsuranceClaim))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceClaimsResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceCoversResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradingVenue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradingVenueResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeGroupResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileInfoResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPricesResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRecurringOrderTemplatesResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RecurringOrderTemplateAvtaleGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAutoGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RecurringOrderTemplateAutoGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWorkflowInstance))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverState))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiver))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiver))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferReceiverResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionTypeResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetOrderTypeResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOATypeResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountTypeResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCashResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyValueResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateBusinessTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSuperTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CorrectionBusinessTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BusinessTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SuperTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSuperTransactionResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWhiteLabel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WhiteLabel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWhiteLabelResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAccount))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Account))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionExecutionResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionStatusLogResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDecisionMakerResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessEventResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDealsResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetExternalFundBatchOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundBatchOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AutoGiroDepositOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AutoGiroWithdrawalOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelAutoGiroOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAutoGiroOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DirectBankWithdrawalOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationOrderResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SwitchOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositTransferOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositBatchTransferOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalTransferOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalBatchTransferOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WithdrawalCashOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DepositCashOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TradeBuyOrderFromAutogiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelTradeOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradeOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TradeOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyExchangeOrderResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReservationItem))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrderFeeCategory))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSubscriptionOrderResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSubscriptionOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateOrderFeeCategory))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalInstrumentTransferOrderResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalTransferOrderBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalInstrumentTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalCashTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalCashTransferOrderResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAlgorithmResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AllocationProfile))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AllocationItem))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationProfileResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(POA))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOAResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInstrument))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAssetAccountTypeLimitationResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AssetAccountTypeLimitation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Instrument))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundStockProportion))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundStockProportion))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InactivatePerson))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdatePerson))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Person))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundEntity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundEntity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundCompany))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundCompany))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TIN))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaxWithholdingAgreement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TaxWithholdingAgreement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTaxWithholdingAgreementResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHouseInformationResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBackgroundJobsResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvtaleGiroOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferOrdersResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCountryResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransactionNoteResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Reservation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetReservationResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTask))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTask))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTasksResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateNote))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateNote))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetNotesResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMessage))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateMessage))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetMessagesResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFailedWebhookResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteWebhookSubscription))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWebhookSubscription))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvailableWebhookEventResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWebhookSubscriptionResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTRSCountriesResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsurancePolicy))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InsurancePolicy))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsurancePolicyResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceProduct))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InsuranceProduct))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualExecutionInterfaceOld))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MfexExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrderBuy))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrderSell))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateManualExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInternalExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMFEXExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateExternalFundExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrderExecuteBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualResultingOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundBatchOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrderSettleBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundBatchOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferOrderState))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAvtaleGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceProductsResponseRow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomField))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class EntityBase + { + + private System.Guid brickIdField; + + private System.DateTime createdDateField; + + private string requestReferenceField; + + private string[] errorsField; + + private CustomField[] customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string RequestReference + { + get + { + return this.requestReferenceField; + } + set + { + this.requestReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Errors + { + get + { + return this.errorsField; + } + set + { + this.errorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public CustomField[] CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceClaim : EntityBase + { + + private System.Guid insurancePolicyIdField; + + private System.Guid insuranceCoverIdField; + + private decimal benefitGrantField; + + private System.Guid personIdField; + + private System.DateTime systemDateField; + + private System.DateTime receiveDateField; + + private System.DateTime claimDateField; + + private string claimNoField; + + private int statusField; + + private int priorityField; + + private int rejectReasonField; + + private string commentField; + + private string xmlFormFillOutField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsurancePolicyId + { + get + { + return this.insurancePolicyIdField; + } + set + { + this.insurancePolicyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid InsuranceCoverId + { + get + { + return this.insuranceCoverIdField; + } + set + { + this.insuranceCoverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal BenefitGrant + { + get + { + return this.benefitGrantField; + } + set + { + this.benefitGrantField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime SystemDate + { + get + { + return this.systemDateField; + } + set + { + this.systemDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime ClaimDate + { + get + { + return this.claimDateField; + } + set + { + this.claimDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ClaimNo + { + get + { + return this.claimNoField; + } + set + { + this.claimNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public int Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int RejectReason + { + get + { + return this.rejectReasonField; + } + set + { + this.rejectReasonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string XmlFormFillOut + { + get + { + return this.xmlFormFillOutField; + } + set + { + this.xmlFormFillOutField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InsuranceClaim : EntityBase + { + + private System.Guid insurancePolicyIdField; + + private System.Guid insuranceCoverIdField; + + private System.Guid insuranceProductIdField; + + private decimal benefitGrantField; + + private System.Guid personIdField; + + private System.DateTime systemDateField; + + private System.DateTime receiveDateField; + + private System.DateTime claimDateField; + + private string claimNoField; + + private int statusField; + + private int priorityField; + + private int rejectReasonField; + + private string commentField; + + private string xmlFormFillOutField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsurancePolicyId + { + get + { + return this.insurancePolicyIdField; + } + set + { + this.insurancePolicyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid InsuranceCoverId + { + get + { + return this.insuranceCoverIdField; + } + set + { + this.insuranceCoverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid InsuranceProductId + { + get + { + return this.insuranceProductIdField; + } + set + { + this.insuranceProductIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal BenefitGrant + { + get + { + return this.benefitGrantField; + } + set + { + this.benefitGrantField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime SystemDate + { + get + { + return this.systemDateField; + } + set + { + this.systemDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime ClaimDate + { + get + { + return this.claimDateField; + } + set + { + this.claimDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string ClaimNo + { + get + { + return this.claimNoField; + } + set + { + this.claimNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public int RejectReason + { + get + { + return this.rejectReasonField; + } + set + { + this.rejectReasonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string XmlFormFillOut + { + get + { + return this.xmlFormFillOutField; + } + set + { + this.xmlFormFillOutField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceClaimsResponseRow : EntityBase + { + + private System.Guid insurancePolicyIdField; + + private System.Guid insuranceCoverIdField; + + private System.Guid insuranceProductIdField; + + private string insuranceProductNameField; + + private decimal benefitGrantField; + + private System.Guid personIdField; + + private System.DateTime systemDateField; + + private System.DateTime receiveDateField; + + private System.DateTime claimDateField; + + private string claimNoField; + + private int statusField; + + private int priorityField; + + private int rejectReasonField; + + private string commentField; + + private string xmlFormFillOutField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsurancePolicyId + { + get + { + return this.insurancePolicyIdField; + } + set + { + this.insurancePolicyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid InsuranceCoverId + { + get + { + return this.insuranceCoverIdField; + } + set + { + this.insuranceCoverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid InsuranceProductId + { + get + { + return this.insuranceProductIdField; + } + set + { + this.insuranceProductIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string InsuranceProductName + { + get + { + return this.insuranceProductNameField; + } + set + { + this.insuranceProductNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal BenefitGrant + { + get + { + return this.benefitGrantField; + } + set + { + this.benefitGrantField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SystemDate + { + get + { + return this.systemDateField; + } + set + { + this.systemDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime ClaimDate + { + get + { + return this.claimDateField; + } + set + { + this.claimDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string ClaimNo + { + get + { + return this.claimNoField; + } + set + { + this.claimNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public int Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public int RejectReason + { + get + { + return this.rejectReasonField; + } + set + { + this.rejectReasonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string XmlFormFillOut + { + get + { + return this.xmlFormFillOutField; + } + set + { + this.xmlFormFillOutField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceCoversResponseRow : EntityBase + { + + private string keyField; + + private string labelField; + + private string nameField; + + private string descriptionStringField; + + private int statusField; + + private string qualificationPeriodField; + + private string reQualificationPeriodField; + + private string qualifyingPeriodField; + + private string compensationTypeField; + + private decimal maxCompensationField; + + private int minSubscriptionAgeField; + + private int maxSubscriptionAgeField; + + private int maxAgeField; + + private decimal deductibleField; + + private string commentField; + + private string xmlFormTemplateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string QualificationPeriod + { + get + { + return this.qualificationPeriodField; + } + set + { + this.qualificationPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string ReQualificationPeriod + { + get + { + return this.reQualificationPeriodField; + } + set + { + this.reQualificationPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string QualifyingPeriod + { + get + { + return this.qualifyingPeriodField; + } + set + { + this.qualifyingPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string CompensationType + { + get + { + return this.compensationTypeField; + } + set + { + this.compensationTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public decimal MaxCompensation + { + get + { + return this.maxCompensationField; + } + set + { + this.maxCompensationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int MinSubscriptionAge + { + get + { + return this.minSubscriptionAgeField; + } + set + { + this.minSubscriptionAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public int MaxSubscriptionAge + { + get + { + return this.maxSubscriptionAgeField; + } + set + { + this.maxSubscriptionAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public int MaxAge + { + get + { + return this.maxAgeField; + } + set + { + this.maxAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public decimal Deductible + { + get + { + return this.deductibleField; + } + set + { + this.deductibleField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string XmlFormTemplate + { + get + { + return this.xmlFormTemplateField; + } + set + { + this.xmlFormTemplateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradingVenue : EntityBase + { + + private string nameField; + + private string shortNameField; + + private string mICField; + + private bool isTradingVenueField; + + private bool isMarketField; + + private bool isInternalField; + + private string tRSCountryField; + + private string countryField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ShortName + { + get + { + return this.shortNameField; + } + set + { + this.shortNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MIC + { + get + { + return this.mICField; + } + set + { + this.mICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsTradingVenue + { + get + { + return this.isTradingVenueField; + } + set + { + this.isTradingVenueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsMarket + { + get + { + return this.isMarketField; + } + set + { + this.isMarketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsInternal + { + get + { + return this.isInternalField; + } + set + { + this.isInternalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradingVenueResponseRow : EntityBase + { + + private string nameField; + + private string mICField; + + private string shortNameField; + + private bool isTradingVenueField; + + private bool isMarketField; + + private bool isInternalField; + + private string tRSCountryField; + + private string countryField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MIC + { + get + { + return this.mICField; + } + set + { + this.mICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ShortName + { + get + { + return this.shortNameField; + } + set + { + this.shortNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsTradingVenue + { + get + { + return this.isTradingVenueField; + } + set + { + this.isTradingVenueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsMarket + { + get + { + return this.isMarketField; + } + set + { + this.isMarketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsInternal + { + get + { + return this.isInternalField; + } + set + { + this.isInternalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeGroupResponseRow : EntityBase + { + + private string keyField; + + private string statusKeyField; + + private string actionTypeKeyField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ActionTypeKey + { + get + { + return this.actionTypeKeyField; + } + set + { + this.actionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileInfoResponseRow : EntityBase + { + + private int filePermissionField; + + private string fileContentTypeField; + + private string nameField; + + private System.Guid fileContextField; + + private System.Nullable fileSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int FilePermission + { + get + { + return this.filePermissionField; + } + set + { + this.filePermissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FileContentType + { + get + { + return this.fileContentTypeField; + } + set + { + this.fileContentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid FileContext + { + get + { + return this.fileContextField; + } + set + { + this.fileContextField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable FileSize + { + get + { + return this.fileSizeField; + } + set + { + this.fileSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPricesResponseRow : EntityBase + { + + private System.Guid assetIdField; + + private double priceField; + + private System.DateTime priceDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AssetId + { + get + { + return this.assetIdField; + } + set + { + this.assetIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRecurringOrderTemplatesResponseRow : EntityBase + { + + private string periodicityCodeField; + + private string orderNoField; + + private System.Guid accountIdField; + + private int dayField; + + private System.Guid transferReceiverField; + + private string statusKeyField; + + private decimal amountField; + + private System.DateTime businessDateField; + + private bool isRecurringOrderField; + + private string currencyCodeField; + + private System.Guid instrumentField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string PeriodicityCode + { + get + { + return this.periodicityCodeField; + } + set + { + this.periodicityCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool IsRecurringOrder + { + get + { + return this.isRecurringOrderField; + } + set + { + this.isRecurringOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class RecurringOrderTemplateAvtaleGiro : EntityBase + { + + private System.Guid accountIdField; + + private System.Nullable cashAmountField; + + private System.Guid transferReceiverIdField; + + private int paymentPeriodField; + + private System.DateTime businessDateField; + + private string commentField; + + private System.Guid instrumentIdField; + + private System.Nullable sendDateField; + + private System.Nullable monthField; + + private System.Nullable dayField; + + private System.Guid allocationProfileIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int PaymentPeriod + { + get + { + return this.paymentPeriodField; + } + set + { + this.paymentPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.Guid InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable SendDate + { + get + { + return this.sendDateField; + } + set + { + this.sendDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable Month + { + get + { + return this.monthField; + } + set + { + this.monthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.Guid AllocationProfileId + { + get + { + return this.allocationProfileIdField; + } + set + { + this.allocationProfileIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplateAutoGiro : EntityBase + { + + private System.DateTime businessDateField; + + private System.Nullable cashAmountField; + + private System.Guid transferReceiverField; + + private string commentField; + + private string statusKeyField; + + private ExecutionInterfaceKey executionInterfaceKeyField; + + private bool isUnitOrderField; + + private decimal limitPriceField; + + private System.Guid decisionMakerWithinFirmField; + + private int dayField; + + private int monthField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ExecutionInterfaceKey ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public decimal LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int Month + { + get + { + return this.monthField; + } + set + { + this.monthField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum ExecutionInterfaceKey + { + + /// + Manual, + + /// + Internal, + + /// + MFEX, + + /// + ExternalFund, + + /// + Fax, + + /// + NFM, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class RecurringOrderTemplateAutoGiro : EntityBase + { + + private System.Guid accountField; + + private System.Nullable cashAmountField; + + private System.Guid transferReceiverField; + + private int autoGiroPaymentPeriodField; + + private System.DateTime businessDateField; + + private string commentField; + + private System.Guid instrumentField; + + private int monthField; + + private int dayField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int AutoGiroPaymentPeriod + { + get + { + return this.autoGiroPaymentPeriodField; + } + set + { + this.autoGiroPaymentPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int Month + { + get + { + return this.monthField; + } + set + { + this.monthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public int Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWorkflowInstance : EntityBase + { + + private WorkflowInstance workflowInstanceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public WorkflowInstance WorkflowInstance + { + get + { + return this.workflowInstanceField; + } + set + { + this.workflowInstanceField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdmissionWorkflowInstance))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class WorkflowInstance + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AdmissionWorkflowInstance : WorkflowInstance + { + + private System.Guid admissionIdField; + + private AdmissionStates currentStateKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AdmissionId + { + get + { + return this.admissionIdField; + } + set + { + this.admissionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public AdmissionStates CurrentStateKey + { + get + { + return this.currentStateKeyField; + } + set + { + this.currentStateKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum AdmissionStates + { + + /// + Admission_Active, + + /// + Admission_PendingCancelConfirmation, + + /// + Admission_Cancelled, + + /// + Admission_PendingCreateConfirmation, + + /// + Admission_Created, + + /// + Admission_ToBeCancelled, + + /// + Admission_Rejected, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiverState : EntityBase + { + + private AdmissionState targetStateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AdmissionState TargetState + { + get + { + return this.targetStateField; + } + set + { + this.targetStateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum AdmissionState + { + + /// + Admission_Created, + + /// + Admission_Active, + + /// + Admission_PendingCancelConfirmation, + + /// + Admission_Cancelled, + + /// + Admission_PendingCreateConfirmation, + + /// + Admission_ToBeCancelled, + + /// + Admission_Rejected, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiver : EntityBase + { + + private string nameField; + + private string commentField; + + private bool batchOrdersField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiver : EntityBase + { + + private System.Guid personField; + + private string nameField; + + private string commentField; + + private bool batchOrdersField; + + private TransferReceiverExtraInfo transferReceiverExtraInfoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public TransferReceiverExtraInfo TransferReceiverExtraInfo + { + get + { + return this.transferReceiverExtraInfoField; + } + set + { + this.transferReceiverExtraInfoField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoAutoGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoBankGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoDirectBankDomestic))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoDirectBankForeign))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoSecuritiesAccount))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoSecurities))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoPlusGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoBicIban))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoAvtaleGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoNorwegianPostGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransferReceiverExtraInfoNorwegianBankAccount))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class TransferReceiverExtraInfo + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoAutoGiro : TransferReceiverExtraInfo + { + + private string bankNameField; + + private string counterPartyClearingNoField; + + private string counterPartyAccountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string BankName + { + get + { + return this.bankNameField; + } + set + { + this.bankNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CounterPartyClearingNo + { + get + { + return this.counterPartyClearingNoField; + } + set + { + this.counterPartyClearingNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CounterPartyAccountNo + { + get + { + return this.counterPartyAccountNoField; + } + set + { + this.counterPartyAccountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoBankGiro : TransferReceiverExtraInfo + { + + private string accountNoField; + + private string bankGiroNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string BankGiroNumber + { + get + { + return this.bankGiroNumberField; + } + set + { + this.bankGiroNumberField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoDirectBankDomestic : TransferReceiverExtraInfo + { + + private string counterPartyClearingNoField; + + private string counterPartyAccountNoField; + + private string bankNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string CounterPartyClearingNo + { + get + { + return this.counterPartyClearingNoField; + } + set + { + this.counterPartyClearingNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CounterPartyAccountNo + { + get + { + return this.counterPartyAccountNoField; + } + set + { + this.counterPartyAccountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string BankName + { + get + { + return this.bankNameField; + } + set + { + this.bankNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoDirectBankForeign : TransferReceiverExtraInfo + { + + private string bICField; + + private string iBANField; + + private string addressField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Address + { + get + { + return this.addressField; + } + set + { + this.addressField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoSecuritiesAccount : TransferReceiverExtraInfo + { + + private System.Guid counterPartyField; + + private string accountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid CounterParty + { + get + { + return this.counterPartyField; + } + set + { + this.counterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoSecurities : TransferReceiverExtraInfo + { + + private System.Guid counterPartyField; + + private string accountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid CounterParty + { + get + { + return this.counterPartyField; + } + set + { + this.counterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoPlusGiro : TransferReceiverExtraInfo + { + + private string accountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoBicIban : TransferReceiverExtraInfo + { + + private string bICField; + + private string iBANField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoAvtaleGiro : TransferReceiverExtraInfo + { + + private string accountNoField; + + private string bankNameField; + + private string kIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string BankName + { + get + { + return this.bankNameField; + } + set + { + this.bankNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string KID + { + get + { + return this.kIDField; + } + set + { + this.kIDField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoNorwegianPostGiro : TransferReceiverExtraInfo + { + + private string accountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferReceiverExtraInfoNorwegianBankAccount : TransferReceiverExtraInfo + { + + private string accountNoField; + + private string bankNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string BankName + { + get + { + return this.bankNameField; + } + set + { + this.bankNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferReceiverResponseRow : EntityBase + { + + private System.Guid personField; + + private string transferReceiverTypeKeyField; + + private string nameField; + + private string bankNameField; + + private string commentField; + + private bool batchOrdersField; + + private string accountNoField; + + private string counterPartyClearingNoField; + + private string counterPartyAccountNoField; + + private string payerNumberField; + + private string iBANField; + + private string bICField; + + private System.Guid counterpartyBrickIdField; + + private string counterpartyNameField; + + private string stateField; + + private string bankGiroNumberField; + + private string kIDField; + + private string statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TransferReceiverTypeKey + { + get + { + return this.transferReceiverTypeKeyField; + } + set + { + this.transferReceiverTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string BankName + { + get + { + return this.bankNameField; + } + set + { + this.bankNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string CounterPartyClearingNo + { + get + { + return this.counterPartyClearingNoField; + } + set + { + this.counterPartyClearingNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string CounterPartyAccountNo + { + get + { + return this.counterPartyAccountNoField; + } + set + { + this.counterPartyAccountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string PayerNumber + { + get + { + return this.payerNumberField; + } + set + { + this.payerNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.Guid CounterpartyBrickId + { + get + { + return this.counterpartyBrickIdField; + } + set + { + this.counterpartyBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string CounterpartyName + { + get + { + return this.counterpartyNameField; + } + set + { + this.counterpartyNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string BankGiroNumber + { + get + { + return this.bankGiroNumberField; + } + set + { + this.bankGiroNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string KID + { + get + { + return this.kIDField; + } + set + { + this.kIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionTypeResponseRow : EntityBase + { + + private string keyField; + + private string labelField; + + private string statusKeyField; + + private bool manualTicketField; + + private int sortOrderField; + + private bool transactionReferenceIncludedField; + + private bool systemAccountIncludedField; + + private string accountReportGroupsField; + + private bool asset1IncludedField; + + private string asset1KeyField; + + private string asset1TypeKeyField; + + private bool asset2IncludedField; + + private string asset2KeyField; + + private string asset2TypeKeyField; + + private bool amountAsset1IncludedField; + + private string amountAsset1KeyField; + + private bool amountAsset2IncludedField; + + private string amountAsset2KeyField; + + private bool custodyAccountAsset1IncludedField; + + private bool custodyAccountAsset2IncludedField; + + private bool priceIncludedField; + + private bool valueDateIncludedField; + + private bool settlementDateIncludedField; + + private string returnCalculationTypeField; + + private string taxTypeKeyField; + + private bool tradeDateIncludedField; + + private bool tx_AcquisitionValueIncludedField; + + private bool tx_AcquisitionValueAccountCurrencyIncludedField; + + private string reportingTypeKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ManualTicket + { + get + { + return this.manualTicketField; + } + set + { + this.manualTicketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int SortOrder + { + get + { + return this.sortOrderField; + } + set + { + this.sortOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool TransactionReferenceIncluded + { + get + { + return this.transactionReferenceIncludedField; + } + set + { + this.transactionReferenceIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SystemAccountIncluded + { + get + { + return this.systemAccountIncludedField; + } + set + { + this.systemAccountIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string AccountReportGroups + { + get + { + return this.accountReportGroupsField; + } + set + { + this.accountReportGroupsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Asset1Included + { + get + { + return this.asset1IncludedField; + } + set + { + this.asset1IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Asset1Key + { + get + { + return this.asset1KeyField; + } + set + { + this.asset1KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string Asset1TypeKey + { + get + { + return this.asset1TypeKeyField; + } + set + { + this.asset1TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Asset2Included + { + get + { + return this.asset2IncludedField; + } + set + { + this.asset2IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string Asset2Key + { + get + { + return this.asset2KeyField; + } + set + { + this.asset2KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string Asset2TypeKey + { + get + { + return this.asset2TypeKeyField; + } + set + { + this.asset2TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool AmountAsset1Included + { + get + { + return this.amountAsset1IncludedField; + } + set + { + this.amountAsset1IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string AmountAsset1Key + { + get + { + return this.amountAsset1KeyField; + } + set + { + this.amountAsset1KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool AmountAsset2Included + { + get + { + return this.amountAsset2IncludedField; + } + set + { + this.amountAsset2IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string AmountAsset2Key + { + get + { + return this.amountAsset2KeyField; + } + set + { + this.amountAsset2KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool CustodyAccountAsset1Included + { + get + { + return this.custodyAccountAsset1IncludedField; + } + set + { + this.custodyAccountAsset1IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool CustodyAccountAsset2Included + { + get + { + return this.custodyAccountAsset2IncludedField; + } + set + { + this.custodyAccountAsset2IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool PriceIncluded + { + get + { + return this.priceIncludedField; + } + set + { + this.priceIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool ValueDateIncluded + { + get + { + return this.valueDateIncludedField; + } + set + { + this.valueDateIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool SettlementDateIncluded + { + get + { + return this.settlementDateIncludedField; + } + set + { + this.settlementDateIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string ReturnCalculationType + { + get + { + return this.returnCalculationTypeField; + } + set + { + this.returnCalculationTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public string TaxTypeKey + { + get + { + return this.taxTypeKeyField; + } + set + { + this.taxTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool TradeDateIncluded + { + get + { + return this.tradeDateIncludedField; + } + set + { + this.tradeDateIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool Tx_AcquisitionValueIncluded + { + get + { + return this.tx_AcquisitionValueIncludedField; + } + set + { + this.tx_AcquisitionValueIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool Tx_AcquisitionValueAccountCurrencyIncluded + { + get + { + return this.tx_AcquisitionValueAccountCurrencyIncludedField; + } + set + { + this.tx_AcquisitionValueAccountCurrencyIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public string ReportingTypeKey + { + get + { + return this.reportingTypeKeyField; + } + set + { + this.reportingTypeKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetOrderTypeResponseRow : EntityBase + { + + private string keyField; + + private string labelField; + + private System.Guid businessTransactionTypeField; + + private string[] transactionCoveringSequenceField; + + private bool useFreeCashField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid BusinessTransactionType + { + get + { + return this.businessTransactionTypeField; + } + set + { + this.businessTransactionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] TransactionCoveringSequence + { + get + { + return this.transactionCoveringSequenceField; + } + set + { + this.transactionCoveringSequenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool UseFreeCash + { + get + { + return this.useFreeCashField; + } + set + { + this.useFreeCashField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOATypeResponseRow : EntityBase + { + + private string keyField; + + private string labelField; + + private string actionListField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ActionList + { + get + { + return this.actionListField; + } + set + { + this.actionListField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountTypeResponseRow : EntityBase + { + + private string keyField; + + private string labelField; + + private string accountNoSeriesKeyField; + + private System.Guid accountTypeRuleTypeField; + + private int accountTypeStatusField; + + private string accountPositionLogicField; + + private string interestRateInstrumentKeyField; + + private bool mustCoverField; + + private bool isSubjectToIncomeTaxField; + + private bool isInsuranceAccountField; + + private string externalHouseField; + + private System.Nullable reconciliationTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string AccountNoSeriesKey + { + get + { + return this.accountNoSeriesKeyField; + } + set + { + this.accountNoSeriesKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid AccountTypeRuleType + { + get + { + return this.accountTypeRuleTypeField; + } + set + { + this.accountTypeRuleTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int AccountTypeStatus + { + get + { + return this.accountTypeStatusField; + } + set + { + this.accountTypeStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string AccountPositionLogic + { + get + { + return this.accountPositionLogicField; + } + set + { + this.accountPositionLogicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string InterestRateInstrumentKey + { + get + { + return this.interestRateInstrumentKeyField; + } + set + { + this.interestRateInstrumentKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool MustCover + { + get + { + return this.mustCoverField; + } + set + { + this.mustCoverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool IsSubjectToIncomeTax + { + get + { + return this.isSubjectToIncomeTaxField; + } + set + { + this.isSubjectToIncomeTaxField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsInsuranceAccount + { + get + { + return this.isInsuranceAccountField; + } + set + { + this.isInsuranceAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string ExternalHouse + { + get + { + return this.externalHouseField; + } + set + { + this.externalHouseField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ReconciliationType + { + get + { + return this.reconciliationTypeField; + } + set + { + this.reconciliationTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum ReconciliationType + { + + /// + None, + + /// + Internal, + + /// + Custody, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCashResponseRow : EntityBase + { + + private string keyField; + + private string nameField; + + private System.Guid currencyField; + + private System.Guid defaultCustodyAccountField; + + private int decimalPlacesField; + + private int instrumentStatusField; + + private int priceDecimalsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid DefaultCustodyAccount + { + get + { + return this.defaultCustodyAccountField; + } + set + { + this.defaultCustodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int DecimalPlaces + { + get + { + return this.decimalPlacesField; + } + set + { + this.decimalPlacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public int InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int PriceDecimals + { + get + { + return this.priceDecimalsField; + } + set + { + this.priceDecimalsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyValueResponseRow : EntityBase + { + + private string sourceCurrencyCodeField; + + private string requestedCurrencyCodeField; + + private string statusKeyField; + + private System.DateTime priceDateField; + + private double valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string SourceCurrencyCode + { + get + { + return this.sourceCurrencyCodeField; + } + set + { + this.sourceCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string RequestedCurrencyCode + { + get + { + return this.requestedCurrencyCodeField; + } + set + { + this.requestedCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public double Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyResponseRow : EntityBase + { + + private string codeField; + + private double priceField; + + private System.DateTime priceDateField; + + private string statusKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code + { + get + { + return this.codeField; + } + set + { + this.codeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateBusinessTransaction : EntityBase + { + + private System.Nullable reconciliationStatusField; + + private CustomField[] superTransactionCustomFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable ReconciliationStatus + { + get + { + return this.reconciliationStatusField; + } + set + { + this.reconciliationStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public CustomField[] SuperTransactionCustomFields + { + get + { + return this.superTransactionCustomFieldsField; + } + set + { + this.superTransactionCustomFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum ReconciliationStatus + { + + /// + Reconciled, + + /// + Ignored, + + /// + Investigate, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSuperTransaction : EntityBase + { + + private System.Guid noteIdField; + + private System.Guid batchIdField; + + private System.Guid orderIdField; + + private System.Guid businessEventIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid BatchId + { + get + { + return this.batchIdField; + } + set + { + this.batchIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CorrectionBusinessTransaction : EntityBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class BusinessTransaction : EntityBase + { + + private System.Guid accountField; + + private string businessTransactionTypeField; + + private string transactionReferenceField; + + private System.Guid asset1Field; + + private System.Guid asset2Field; + + private decimal amountAsset1Field; + + private decimal amountAsset2Field; + + private System.Guid custodyAccountAsset1Field; + + private System.Guid custodyAccountAsset2Field; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + private double priceField; + + private double acquisitionValueField; + + private double acquisitionValueAccountCurrencyField; + + private string settlementTypeField; + + private System.Nullable reconciliationStatusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string BusinessTransactionType + { + get + { + return this.businessTransactionTypeField; + } + set + { + this.businessTransactionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TransactionReference + { + get + { + return this.transactionReferenceField; + } + set + { + this.transactionReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Asset1 + { + get + { + return this.asset1Field; + } + set + { + this.asset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid Asset2 + { + get + { + return this.asset2Field; + } + set + { + this.asset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public decimal AmountAsset1 + { + get + { + return this.amountAsset1Field; + } + set + { + this.amountAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public decimal AmountAsset2 + { + get + { + return this.amountAsset2Field; + } + set + { + this.amountAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid CustodyAccountAsset1 + { + get + { + return this.custodyAccountAsset1Field; + } + set + { + this.custodyAccountAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid CustodyAccountAsset2 + { + get + { + return this.custodyAccountAsset2Field; + } + set + { + this.custodyAccountAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public double AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public double AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string SettlementType + { + get + { + return this.settlementTypeField; + } + set + { + this.settlementTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable ReconciliationStatus + { + get + { + return this.reconciliationStatusField; + } + set + { + this.reconciliationStatusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SuperTransaction : EntityBase + { + + private BusinessTransaction[] businessTransactionsField; + + private System.Guid insurancePolicyField; + + private System.Guid insuranceClaimField; + + private System.Guid batchField; + + private System.Guid businessEventIdField; + + private System.Guid orderIdField; + + private System.Guid noteIdField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public BusinessTransaction[] BusinessTransactions + { + get + { + return this.businessTransactionsField; + } + set + { + this.businessTransactionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid InsurancePolicy + { + get + { + return this.insurancePolicyField; + } + set + { + this.insurancePolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid InsuranceClaim + { + get + { + return this.insuranceClaimField; + } + set + { + this.insuranceClaimField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Batch + { + get + { + return this.batchField; + } + set + { + this.batchField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.Guid NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionResponseRow : EntityBase + { + + private int sequenceNoField; + + private string returnCalculationTypeField; + + private System.Guid accountField; + + private string[] leg1DimensionsField; + + private string[] leg2DimensionsField; + + private string nameAsset1Field; + + private string nameAsset2Field; + + private string asset1CurrencyCodeField; + + private string asset2CurrencyCodeField; + + private System.Guid asset1Field; + + private System.Guid asset2Field; + + private string asset1TypeKeyField; + + private string asset2TypeKeyField; + + private string businessTransactionTypeKeyField; + + private System.Guid businessTransactionTypeField; + + private decimal amountAsset1Field; + + private decimal amountAsset2Field; + + private string instrumentNameField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + private System.DateTime accountingDateField; + + private System.DateTime fifoTradeDateField; + + private bool isCorrectedField; + + private System.Nullable correctionDateField; + + private string correctionCommentField; + + private double priceField; + + private double acquisitionValueField; + + private double acquisitionValueAccountCurrencyField; + + private string transactionReferenceField; + + private System.Guid superTransactionIdField; + + private System.Guid insurancePolicyField; + + private System.Guid insuranceClaimField; + + private System.Guid batchIdField; + + private string accountTypeKeyField; + + private System.Guid orderIdField; + + private string reportingTypeField; + + private System.Guid superTransactionBusinessEventIdField; + + private CustomField[] superTransactionCustomFieldsField; + + private System.Nullable reconciliationStatusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int SequenceNo + { + get + { + return this.sequenceNoField; + } + set + { + this.sequenceNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ReturnCalculationType + { + get + { + return this.returnCalculationTypeField; + } + set + { + this.returnCalculationTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Leg1Dimensions + { + get + { + return this.leg1DimensionsField; + } + set + { + this.leg1DimensionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] Leg2Dimensions + { + get + { + return this.leg2DimensionsField; + } + set + { + this.leg2DimensionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string NameAsset1 + { + get + { + return this.nameAsset1Field; + } + set + { + this.nameAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string NameAsset2 + { + get + { + return this.nameAsset2Field; + } + set + { + this.nameAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Asset1CurrencyCode + { + get + { + return this.asset1CurrencyCodeField; + } + set + { + this.asset1CurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Asset2CurrencyCode + { + get + { + return this.asset2CurrencyCodeField; + } + set + { + this.asset2CurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid Asset1 + { + get + { + return this.asset1Field; + } + set + { + this.asset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.Guid Asset2 + { + get + { + return this.asset2Field; + } + set + { + this.asset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string Asset1TypeKey + { + get + { + return this.asset1TypeKeyField; + } + set + { + this.asset1TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string Asset2TypeKey + { + get + { + return this.asset2TypeKeyField; + } + set + { + this.asset2TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string BusinessTransactionTypeKey + { + get + { + return this.businessTransactionTypeKeyField; + } + set + { + this.businessTransactionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public System.Guid BusinessTransactionType + { + get + { + return this.businessTransactionTypeField; + } + set + { + this.businessTransactionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public decimal AmountAsset1 + { + get + { + return this.amountAsset1Field; + } + set + { + this.amountAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public decimal AmountAsset2 + { + get + { + return this.amountAsset2Field; + } + set + { + this.amountAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string InstrumentName + { + get + { + return this.instrumentNameField; + } + set + { + this.instrumentNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public System.DateTime AccountingDate + { + get + { + return this.accountingDateField; + } + set + { + this.accountingDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public System.DateTime FifoTradeDate + { + get + { + return this.fifoTradeDateField; + } + set + { + this.fifoTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool IsCorrected + { + get + { + return this.isCorrectedField; + } + set + { + this.isCorrectedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable CorrectionDate + { + get + { + return this.correctionDateField; + } + set + { + this.correctionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string CorrectionComment + { + get + { + return this.correctionCommentField; + } + set + { + this.correctionCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public double AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public double AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string TransactionReference + { + get + { + return this.transactionReferenceField; + } + set + { + this.transactionReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public System.Guid SuperTransactionId + { + get + { + return this.superTransactionIdField; + } + set + { + this.superTransactionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public System.Guid InsurancePolicy + { + get + { + return this.insurancePolicyField; + } + set + { + this.insurancePolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public System.Guid InsuranceClaim + { + get + { + return this.insuranceClaimField; + } + set + { + this.insuranceClaimField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public System.Guid BatchId + { + get + { + return this.batchIdField; + } + set + { + this.batchIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string ReportingType + { + get + { + return this.reportingTypeField; + } + set + { + this.reportingTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public System.Guid SuperTransactionBusinessEventId + { + get + { + return this.superTransactionBusinessEventIdField; + } + set + { + this.superTransactionBusinessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=38)] + public CustomField[] SuperTransactionCustomFields + { + get + { + return this.superTransactionCustomFieldsField; + } + set + { + this.superTransactionCustomFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=39)] + public System.Nullable ReconciliationStatus + { + get + { + return this.reconciliationStatusField; + } + set + { + this.reconciliationStatusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSuperTransactionResponseRow : EntityBase + { + + private System.Guid insurancePolicyField; + + private System.Guid insuranceClaimField; + + private System.Guid batchIdField; + + private System.Guid orderIdField; + + private System.Guid businessEventIdField; + + private System.Guid noteIdField; + + private int sequenceNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsurancePolicy + { + get + { + return this.insurancePolicyField; + } + set + { + this.insurancePolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid InsuranceClaim + { + get + { + return this.insuranceClaimField; + } + set + { + this.insuranceClaimField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid BatchId + { + get + { + return this.batchIdField; + } + set + { + this.batchIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int SequenceNo + { + get + { + return this.sequenceNoField; + } + set + { + this.sequenceNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWhiteLabel : EntityBase + { + + private string nameField; + + private string keyField; + + private string urlField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Url + { + get + { + return this.urlField; + } + set + { + this.urlField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WhiteLabel : EntityBase + { + + private string nameField; + + private string keyField; + + private string urlField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Url + { + get + { + return this.urlField; + } + set + { + this.urlField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWhiteLabelResponseRow : EntityBase + { + + private string keyField; + + private string nameField; + + private string commentField; + + private string urlField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Url + { + get + { + return this.urlField; + } + set + { + this.urlField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAccount : EntityBase + { + + private string ownerAccountLabelField; + + private System.Nullable accountStatusField; + + private System.Nullable closeDateField; + + private string closeCommentField; + + private System.Nullable allocationProfileField; + + private string externalReferenceField; + + private string accountCommentField; + + private System.Nullable insuranceOwnerField; + + private System.Nullable insuredField; + + private System.Nullable insurancePayerField; + + private System.Nullable contactLegalEntityField; + + private string iBANField; + + private System.Nullable firstPaymentAgeField; + + private string paymentIntervalKeyField; + + private System.Nullable paymentLengthField; + + private System.Nullable payoutsField; + + private System.Nullable payoutsLeftField; + + private System.Nullable firstPaymentDateField; + + private System.Nullable highWaterMarkField; + + private string resellerNoField; + + private System.Nullable decisionMakerField; + + private string lockedStatusKeyField; + + private System.Nullable isSubjectToContinuousInvestmentAdviceField; + + private System.Nullable counterpartyAccountTypeField; + + private System.Nullable custodianBrickIdField; + + private System.Nullable discountGroupIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OwnerAccountLabel + { + get + { + return this.ownerAccountLabelField; + } + set + { + this.ownerAccountLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable AccountStatus + { + get + { + return this.accountStatusField; + } + set + { + this.accountStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CloseDate + { + get + { + return this.closeDateField; + } + set + { + this.closeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CloseComment + { + get + { + return this.closeCommentField; + } + set + { + this.closeCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable AllocationProfile + { + get + { + return this.allocationProfileField; + } + set + { + this.allocationProfileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string AccountComment + { + get + { + return this.accountCommentField; + } + set + { + this.accountCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable InsuranceOwner + { + get + { + return this.insuranceOwnerField; + } + set + { + this.insuranceOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable Insured + { + get + { + return this.insuredField; + } + set + { + this.insuredField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable InsurancePayer + { + get + { + return this.insurancePayerField; + } + set + { + this.insurancePayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable ContactLegalEntity + { + get + { + return this.contactLegalEntityField; + } + set + { + this.contactLegalEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable FirstPaymentAge + { + get + { + return this.firstPaymentAgeField; + } + set + { + this.firstPaymentAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string PaymentIntervalKey + { + get + { + return this.paymentIntervalKeyField; + } + set + { + this.paymentIntervalKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable PaymentLength + { + get + { + return this.paymentLengthField; + } + set + { + this.paymentLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable Payouts + { + get + { + return this.payoutsField; + } + set + { + this.payoutsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable PayoutsLeft + { + get + { + return this.payoutsLeftField; + } + set + { + this.payoutsLeftField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable FirstPaymentDate + { + get + { + return this.firstPaymentDateField; + } + set + { + this.firstPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable HighWaterMark + { + get + { + return this.highWaterMarkField; + } + set + { + this.highWaterMarkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable DecisionMaker + { + get + { + return this.decisionMakerField; + } + set + { + this.decisionMakerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string LockedStatusKey + { + get + { + return this.lockedStatusKeyField; + } + set + { + this.lockedStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=22)] + public System.Nullable IsSubjectToContinuousInvestmentAdvice + { + get + { + return this.isSubjectToContinuousInvestmentAdviceField; + } + set + { + this.isSubjectToContinuousInvestmentAdviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=23)] + public System.Nullable CounterpartyAccountType + { + get + { + return this.counterpartyAccountTypeField; + } + set + { + this.counterpartyAccountTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable CustodianBrickId + { + get + { + return this.custodianBrickIdField; + } + set + { + this.custodianBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable DiscountGroupId + { + get + { + return this.discountGroupIdField; + } + set + { + this.discountGroupIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum CounterpartyAccountType + { + + /// + Intermediary, + + /// + Issuer, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Account : EntityBase + { + + private string ownerAccountLabelField; + + private System.Guid ownerField; + + private string accountTypeKeyField; + + private string baseCurrencyCodeField; + + private System.Nullable accountStatusField; + + private System.Nullable allocationProfileField; + + private string externalReferenceField; + + private string accountCommentField; + + private string accountNoField; + + private string acquisitionValueCalculationMethodField; + + private string iBANField; + + private System.Nullable insuranceOwnerField; + + private System.Nullable insuredField; + + private System.Nullable insurancePayerField; + + private System.Nullable contactLegalEntityField; + + private System.Nullable firstPaymentAgeField; + + private string paymentIntervalKeyField; + + private System.Nullable paymentLengthField; + + private System.Nullable payoutsField; + + private System.Nullable payoutsLeftField; + + private System.Nullable firstPaymentDateField; + + private decimal highWaterMarkField; + + private string resellerNoField; + + private System.Guid decisionMakerField; + + private string lockedStatusKeyField; + + private System.Nullable isSubjectToContinuousInvestmentAdviceField; + + private System.Nullable custodianBrickIdField; + + private System.Nullable counterpartyAccountTypeField; + + private System.Nullable discountGroupIdField; + + private System.Nullable closeDateField; + + private string closeCommentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OwnerAccountLabel + { + get + { + return this.ownerAccountLabelField; + } + set + { + this.ownerAccountLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string BaseCurrencyCode + { + get + { + return this.baseCurrencyCodeField; + } + set + { + this.baseCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable AccountStatus + { + get + { + return this.accountStatusField; + } + set + { + this.accountStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable AllocationProfile + { + get + { + return this.allocationProfileField; + } + set + { + this.allocationProfileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string AccountComment + { + get + { + return this.accountCommentField; + } + set + { + this.accountCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string AcquisitionValueCalculationMethod + { + get + { + return this.acquisitionValueCalculationMethodField; + } + set + { + this.acquisitionValueCalculationMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable InsuranceOwner + { + get + { + return this.insuranceOwnerField; + } + set + { + this.insuranceOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable Insured + { + get + { + return this.insuredField; + } + set + { + this.insuredField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable InsurancePayer + { + get + { + return this.insurancePayerField; + } + set + { + this.insurancePayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable ContactLegalEntity + { + get + { + return this.contactLegalEntityField; + } + set + { + this.contactLegalEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable FirstPaymentAge + { + get + { + return this.firstPaymentAgeField; + } + set + { + this.firstPaymentAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string PaymentIntervalKey + { + get + { + return this.paymentIntervalKeyField; + } + set + { + this.paymentIntervalKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable PaymentLength + { + get + { + return this.paymentLengthField; + } + set + { + this.paymentLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable Payouts + { + get + { + return this.payoutsField; + } + set + { + this.payoutsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=19)] + public System.Nullable PayoutsLeft + { + get + { + return this.payoutsLeftField; + } + set + { + this.payoutsLeftField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable FirstPaymentDate + { + get + { + return this.firstPaymentDateField; + } + set + { + this.firstPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public decimal HighWaterMark + { + get + { + return this.highWaterMarkField; + } + set + { + this.highWaterMarkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public System.Guid DecisionMaker + { + get + { + return this.decisionMakerField; + } + set + { + this.decisionMakerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public string LockedStatusKey + { + get + { + return this.lockedStatusKeyField; + } + set + { + this.lockedStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable IsSubjectToContinuousInvestmentAdvice + { + get + { + return this.isSubjectToContinuousInvestmentAdviceField; + } + set + { + this.isSubjectToContinuousInvestmentAdviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=26)] + public System.Nullable CustodianBrickId + { + get + { + return this.custodianBrickIdField; + } + set + { + this.custodianBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=27)] + public System.Nullable CounterpartyAccountType + { + get + { + return this.counterpartyAccountTypeField; + } + set + { + this.counterpartyAccountTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=28)] + public System.Nullable DiscountGroupId + { + get + { + return this.discountGroupIdField; + } + set + { + this.discountGroupIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=29)] + public System.Nullable CloseDate + { + get + { + return this.closeDateField; + } + set + { + this.closeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public string CloseComment + { + get + { + return this.closeCommentField; + } + set + { + this.closeCommentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountResponseRow : EntityBase + { + + private string accountNoField; + + private string baseCurrencyCodeField; + + private string ownerAccountLabelField; + + private System.Guid ownerField; + + private string accountTypeKeyField; + + private string accountWorldField; + + private int accountStatusField; + + private string externalReferenceField; + + private System.Guid allocationProfileField; + + private System.Guid resellerField; + + private string resellerNoField; + + private string accountCommentField; + + private System.Guid insuranceOwnerField; + + private System.Guid insuredField; + + private System.Guid insurancePayerField; + + private System.Guid contactLegalEntityField; + + private string iBANField; + + private int firstPaymentAgeField; + + private string paymentIntervalKeyField; + + private int paymentLengthField; + + private int payoutsField; + + private int payoutsLeftField; + + private System.DateTime firstPaymentDateField; + + private decimal highWaterMarkField; + + private System.Guid decisionMakerField; + + private string lockedStatusKeyField; + + private bool isSubjectToContinuousInvestmentAdviceField; + + private System.Guid custodianBrickIdField; + + private System.Nullable counterpartyAccountTypeField; + + private System.Guid discountGroupIdField; + + private System.DateTime closeDateField; + + private string closeCommentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string BaseCurrencyCode + { + get + { + return this.baseCurrencyCodeField; + } + set + { + this.baseCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string OwnerAccountLabel + { + get + { + return this.ownerAccountLabelField; + } + set + { + this.ownerAccountLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string AccountWorld + { + get + { + return this.accountWorldField; + } + set + { + this.accountWorldField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int AccountStatus + { + get + { + return this.accountStatusField; + } + set + { + this.accountStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid AllocationProfile + { + get + { + return this.allocationProfileField; + } + set + { + this.allocationProfileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string AccountComment + { + get + { + return this.accountCommentField; + } + set + { + this.accountCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.Guid InsuranceOwner + { + get + { + return this.insuranceOwnerField; + } + set + { + this.insuranceOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public System.Guid Insured + { + get + { + return this.insuredField; + } + set + { + this.insuredField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public System.Guid InsurancePayer + { + get + { + return this.insurancePayerField; + } + set + { + this.insurancePayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public System.Guid ContactLegalEntity + { + get + { + return this.contactLegalEntityField; + } + set + { + this.contactLegalEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public int FirstPaymentAge + { + get + { + return this.firstPaymentAgeField; + } + set + { + this.firstPaymentAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string PaymentIntervalKey + { + get + { + return this.paymentIntervalKeyField; + } + set + { + this.paymentIntervalKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public int PaymentLength + { + get + { + return this.paymentLengthField; + } + set + { + this.paymentLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public int Payouts + { + get + { + return this.payoutsField; + } + set + { + this.payoutsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public int PayoutsLeft + { + get + { + return this.payoutsLeftField; + } + set + { + this.payoutsLeftField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public System.DateTime FirstPaymentDate + { + get + { + return this.firstPaymentDateField; + } + set + { + this.firstPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public decimal HighWaterMark + { + get + { + return this.highWaterMarkField; + } + set + { + this.highWaterMarkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.Guid DecisionMaker + { + get + { + return this.decisionMakerField; + } + set + { + this.decisionMakerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string LockedStatusKey + { + get + { + return this.lockedStatusKeyField; + } + set + { + this.lockedStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool IsSubjectToContinuousInvestmentAdvice + { + get + { + return this.isSubjectToContinuousInvestmentAdviceField; + } + set + { + this.isSubjectToContinuousInvestmentAdviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public System.Guid CustodianBrickId + { + get + { + return this.custodianBrickIdField; + } + set + { + this.custodianBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=28)] + public System.Nullable CounterpartyAccountType + { + get + { + return this.counterpartyAccountTypeField; + } + set + { + this.counterpartyAccountTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public System.Guid DiscountGroupId + { + get + { + return this.discountGroupIdField; + } + set + { + this.discountGroupIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public System.DateTime CloseDate + { + get + { + return this.closeDateField; + } + set + { + this.closeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public string CloseComment + { + get + { + return this.closeCommentField; + } + set + { + this.closeCommentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionExecutionResponseRow : EntityBase + { + + private System.Guid fundInstructionField; + + private string fundInstructionEventSourceField; + + private string marketplaceOrderNoField; + + private decimal executionNAVField; + + private System.Guid paymentCurrencyField; + + private System.Guid currencyField; + + private decimal feeField; + + private double fxRateField; + + private decimal instrumentAmountField; + + private decimal cashAmountField; + + private System.DateTime settlementDateField; + + private System.DateTime tradeDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid FundInstruction + { + get + { + return this.fundInstructionField; + } + set + { + this.fundInstructionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FundInstructionEventSource + { + get + { + return this.fundInstructionEventSourceField; + } + set + { + this.fundInstructionEventSourceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MarketplaceOrderNo + { + get + { + return this.marketplaceOrderNoField; + } + set + { + this.marketplaceOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal ExecutionNAV + { + get + { + return this.executionNAVField; + } + set + { + this.executionNAVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid PaymentCurrency + { + get + { + return this.paymentCurrencyField; + } + set + { + this.paymentCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public decimal Fee + { + get + { + return this.feeField; + } + set + { + this.feeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public double FxRate + { + get + { + return this.fxRateField; + } + set + { + this.fxRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public decimal InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionStatusLogResponseRow : EntityBase + { + + private System.Guid fundInstructionField; + + private string marketPlaceOrderNoField; + + private string fundInstructionNoField; + + private string statusKeyField; + + private string receivedStatusTextField; + + private System.DateTime receiveDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid FundInstruction + { + get + { + return this.fundInstructionField; + } + set + { + this.fundInstructionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MarketPlaceOrderNo + { + get + { + return this.marketPlaceOrderNoField; + } + set + { + this.marketPlaceOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FundInstructionNo + { + get + { + return this.fundInstructionNoField; + } + set + { + this.fundInstructionNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string ReceivedStatusText + { + get + { + return this.receivedStatusTextField; + } + set + { + this.receivedStatusTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionResponseRow : EntityBase + { + + private System.Guid executionInterfaceIdField; + + private bool physicalDeliveryIndicatorField; + + private string fundInstructionNoField; + + private string statusKeyField; + + private System.Guid externalFundBatchOrderIdField; + + private System.Guid instrumentIdField; + + private string instructionTypeKeyField; + + private System.Guid requestedNAVCurrencyIdField; + + private System.Guid requestedSettlementCurrencyIdField; + + private decimal cashAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool PhysicalDeliveryIndicator + { + get + { + return this.physicalDeliveryIndicatorField; + } + set + { + this.physicalDeliveryIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FundInstructionNo + { + get + { + return this.fundInstructionNoField; + } + set + { + this.fundInstructionNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid ExternalFundBatchOrderId + { + get + { + return this.externalFundBatchOrderIdField; + } + set + { + this.externalFundBatchOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string InstructionTypeKey + { + get + { + return this.instructionTypeKeyField; + } + set + { + this.instructionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid RequestedNAVCurrencyId + { + get + { + return this.requestedNAVCurrencyIdField; + } + set + { + this.requestedNAVCurrencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid RequestedSettlementCurrencyId + { + get + { + return this.requestedSettlementCurrencyIdField; + } + set + { + this.requestedSettlementCurrencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDecisionMakerResponseRow : EntityBase + { + + private System.Guid personField; + + private System.Guid orderField; + + private bool isHouseField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Order + { + get + { + return this.orderField; + } + set + { + this.orderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool IsHouse + { + get + { + return this.isHouseField; + } + set + { + this.isHouseField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessEventResponseRow : EntityBase + { + + private string descriptionField; + + private string executionInterfaceSettingKeyField; + + private System.Guid cashField; + + private System.Guid instrumentField; + + private System.Guid accountField; + + private string businessEventNoField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Description + { + get + { + return this.descriptionField; + } + set + { + this.descriptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ExecutionInterfaceSettingKey + { + get + { + return this.executionInterfaceSettingKeyField; + } + set + { + this.executionInterfaceSettingKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string BusinessEventNo + { + get + { + return this.businessEventNoField; + } + set + { + this.businessEventNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDealsResponseRow : EntityBase + { + + private decimal amountAsset1Field; + + private decimal amountAsset2Field; + + private System.Guid asset1Field; + + private System.Guid asset2Field; + + private double priceField; + + private string executionInterfaceField; + + private System.Guid buyPartyAccountField; + + private System.Guid sellPartyAccountField; + + private string dealNoField; + + private System.Guid buyOrderField; + + private System.Guid sellOrderField; + + private string buyPartyNoteField; + + private string sellPartyNoteField; + + private bool isTRSReportingField; + + private System.DateTime tradeTimeField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private string statusKeyField; + + private System.Nullable cancellationDateField; + + private System.Guid tradingVenueField; + + private string tradingVenueTransactionIdField; + + private System.DateTime tradingVenueTimeStampDateField; + + private string executionWithinFirmTypeField; + + private System.Guid executionWithinFirm_ALGOField; + + private System.Guid executionWithinFirm_USERField; + + private string tradingCapacityField; + + private bool oTCPostTradeIndicator_BENCField; + + private bool oTCPostTradeIndicator_ACTXField; + + private bool oTCPostTradeIndicator_ILQDField; + + private bool oTCPostTradeIndicator_SIZEField; + + private bool oTCPostTradeIndicator_CANCField; + + private bool oTCPostTradeIndicator_AMNDField; + + private bool oTCPostTradeIndicator_SDIVField; + + private bool oTCPostTradeIndicator_RPRIField; + + private bool oTCPostTradeIndicator_DUPLField; + + private bool oTCPostTradeIndicator_LRGSField; + + private bool oTCPostTradeIndicator_TNCPField; + + private bool oTCPostTradeIndicator_TPACField; + + private bool oTCPostTradeIndicator_XFPHField; + + private bool waiverIndicator_OILQField; + + private bool waiverIndicator_NLIQField; + + private bool waiverIndicator_PRICField; + + private bool waiverIndicator_ILQDField; + + private bool waiverIndicator_RFPTField; + + private bool waiverIndicator_SIZEField; + + private string tRSVenueTypeValueField; + + private bool iNTCField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal AmountAsset1 + { + get + { + return this.amountAsset1Field; + } + set + { + this.amountAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal AmountAsset2 + { + get + { + return this.amountAsset2Field; + } + set + { + this.amountAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Asset1 + { + get + { + return this.asset1Field; + } + set + { + this.asset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Asset2 + { + get + { + return this.asset2Field; + } + set + { + this.asset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.Guid BuyPartyAccount + { + get + { + return this.buyPartyAccountField; + } + set + { + this.buyPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid SellPartyAccount + { + get + { + return this.sellPartyAccountField; + } + set + { + this.sellPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string DealNo + { + get + { + return this.dealNoField; + } + set + { + this.dealNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid BuyOrder + { + get + { + return this.buyOrderField; + } + set + { + this.buyOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.Guid SellOrder + { + get + { + return this.sellOrderField; + } + set + { + this.sellOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string BuyPartyNote + { + get + { + return this.buyPartyNoteField; + } + set + { + this.buyPartyNoteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string SellPartyNote + { + get + { + return this.sellPartyNoteField; + } + set + { + this.sellPartyNoteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool IsTRSReporting + { + get + { + return this.isTRSReportingField; + } + set + { + this.isTRSReportingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public System.DateTime TradeTime + { + get + { + return this.tradeTimeField; + } + set + { + this.tradeTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable CancellationDate + { + get + { + return this.cancellationDateField; + } + set + { + this.cancellationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public System.Guid TradingVenue + { + get + { + return this.tradingVenueField; + } + set + { + this.tradingVenueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string TradingVenueTransactionId + { + get + { + return this.tradingVenueTransactionIdField; + } + set + { + this.tradingVenueTransactionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public System.DateTime TradingVenueTimeStampDate + { + get + { + return this.tradingVenueTimeStampDateField; + } + set + { + this.tradingVenueTimeStampDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string ExecutionWithinFirmType + { + get + { + return this.executionWithinFirmTypeField; + } + set + { + this.executionWithinFirmTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public System.Guid ExecutionWithinFirm_ALGO + { + get + { + return this.executionWithinFirm_ALGOField; + } + set + { + this.executionWithinFirm_ALGOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.Guid ExecutionWithinFirm_USER + { + get + { + return this.executionWithinFirm_USERField; + } + set + { + this.executionWithinFirm_USERField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string TradingCapacity + { + get + { + return this.tradingCapacityField; + } + set + { + this.tradingCapacityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool OTCPostTradeIndicator_BENC + { + get + { + return this.oTCPostTradeIndicator_BENCField; + } + set + { + this.oTCPostTradeIndicator_BENCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool OTCPostTradeIndicator_ACTX + { + get + { + return this.oTCPostTradeIndicator_ACTXField; + } + set + { + this.oTCPostTradeIndicator_ACTXField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool OTCPostTradeIndicator_ILQD + { + get + { + return this.oTCPostTradeIndicator_ILQDField; + } + set + { + this.oTCPostTradeIndicator_ILQDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool OTCPostTradeIndicator_SIZE + { + get + { + return this.oTCPostTradeIndicator_SIZEField; + } + set + { + this.oTCPostTradeIndicator_SIZEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool OTCPostTradeIndicator_CANC + { + get + { + return this.oTCPostTradeIndicator_CANCField; + } + set + { + this.oTCPostTradeIndicator_CANCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool OTCPostTradeIndicator_AMND + { + get + { + return this.oTCPostTradeIndicator_AMNDField; + } + set + { + this.oTCPostTradeIndicator_AMNDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool OTCPostTradeIndicator_SDIV + { + get + { + return this.oTCPostTradeIndicator_SDIVField; + } + set + { + this.oTCPostTradeIndicator_SDIVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool OTCPostTradeIndicator_RPRI + { + get + { + return this.oTCPostTradeIndicator_RPRIField; + } + set + { + this.oTCPostTradeIndicator_RPRIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool OTCPostTradeIndicator_DUPL + { + get + { + return this.oTCPostTradeIndicator_DUPLField; + } + set + { + this.oTCPostTradeIndicator_DUPLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool OTCPostTradeIndicator_LRGS + { + get + { + return this.oTCPostTradeIndicator_LRGSField; + } + set + { + this.oTCPostTradeIndicator_LRGSField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool OTCPostTradeIndicator_TNCP + { + get + { + return this.oTCPostTradeIndicator_TNCPField; + } + set + { + this.oTCPostTradeIndicator_TNCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool OTCPostTradeIndicator_TPAC + { + get + { + return this.oTCPostTradeIndicator_TPACField; + } + set + { + this.oTCPostTradeIndicator_TPACField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool OTCPostTradeIndicator_XFPH + { + get + { + return this.oTCPostTradeIndicator_XFPHField; + } + set + { + this.oTCPostTradeIndicator_XFPHField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool WaiverIndicator_OILQ + { + get + { + return this.waiverIndicator_OILQField; + } + set + { + this.waiverIndicator_OILQField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool WaiverIndicator_NLIQ + { + get + { + return this.waiverIndicator_NLIQField; + } + set + { + this.waiverIndicator_NLIQField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool WaiverIndicator_PRIC + { + get + { + return this.waiverIndicator_PRICField; + } + set + { + this.waiverIndicator_PRICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool WaiverIndicator_ILQD + { + get + { + return this.waiverIndicator_ILQDField; + } + set + { + this.waiverIndicator_ILQDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool WaiverIndicator_RFPT + { + get + { + return this.waiverIndicator_RFPTField; + } + set + { + this.waiverIndicator_RFPTField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool WaiverIndicator_SIZE + { + get + { + return this.waiverIndicator_SIZEField; + } + set + { + this.waiverIndicator_SIZEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public string TRSVenueTypeValue + { + get + { + return this.tRSVenueTypeValueField; + } + set + { + this.tRSVenueTypeValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool INTC + { + get + { + return this.iNTCField; + } + set + { + this.iNTCField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundBatchOrderResponse : EntityBase + { + + private System.Guid instrumentBrickIdField; + + private System.Guid cashAssetBrickIdField; + + private string orderDirectionField; + + private bool isPrePaidField; + + private bool isUnitOrderField; + + private System.Guid[] tradeOrderIdsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InstrumentBrickId + { + get + { + return this.instrumentBrickIdField; + } + set + { + this.instrumentBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid CashAssetBrickId + { + get + { + return this.cashAssetBrickIdField; + } + set + { + this.cashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string OrderDirection + { + get + { + return this.orderDirectionField; + } + set + { + this.orderDirectionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsPrePaid + { + get + { + return this.isPrePaidField; + } + set + { + this.isPrePaidField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] TradeOrderIds + { + get + { + return this.tradeOrderIdsField; + } + set + { + this.tradeOrderIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetExternalFundBatchOrdersResponseRow : EntityBase + { + + private decimal cashAmountField; + + private decimal instrumentAmountField; + + private string tradeOrderDirectionKeyField; + + private System.Guid instrumentField; + + private System.Guid cashField; + + private double priceField; + + private string stateField; + + private System.Guid executionInterfaceField; + + private string executionInterfaceKeyField; + + private bool isUnitOrderField; + + private string orderNoField; + + private bool isPrePayedField; + + private System.DateTime sentDateField; + + private decimal settledAmountField; + + private string externalReferenceField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.DateTime SentDate + { + get + { + return this.sentDateField; + } + set + { + this.sentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public decimal SettledAmount + { + get + { + return this.settledAmountField; + } + set + { + this.settledAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundBatchOrdersResponseRow : EntityBase + { + + private decimal cashAmountField; + + private decimal instrumentAmountField; + + private string tradeOrderDirectionKeyField; + + private System.Guid instrumentField; + + private System.Guid cashField; + + private double priceField; + + private string stateField; + + private System.Guid executionInterfaceField; + + private string executionInterfaceKeyField; + + private bool isUnitOrderField; + + private string orderNoField; + + private bool isPrePayedField; + + private System.DateTime sentDateField; + + private decimal settledAmountField; + + private string externalReferenceField; + + private System.Nullable paymentConfirmationDateField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.DateTime SentDate + { + get + { + return this.sentDateField; + } + set + { + this.sentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public decimal SettledAmount + { + get + { + return this.settledAmountField; + } + set + { + this.settledAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable PaymentConfirmationDate + { + get + { + return this.paymentConfirmationDateField; + } + set + { + this.paymentConfirmationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AutoGiroDepositOrder : EntityBase + { + + private System.Guid accountField; + + private decimal amountField; + + private System.Guid transferReceiverField; + + private System.Nullable businessDateField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AutoGiroWithdrawalOrder : EntityBase + { + + private System.Guid accountField; + + private string externalReferenceField; + + private decimal amountField; + + private System.Guid transferReceiverField; + + private System.Nullable businessDateField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CancelAutoGiroOrder : EntityBase + { + + private string cancelCommentField; + + private System.Guid orderIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string CancelComment + { + get + { + return this.cancelCommentField; + } + set + { + this.cancelCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAutoGiroOrdersResponseRow : EntityBase + { + + private string transferOrderTypeKeyField; + + private System.Guid accountIdField; + + private decimal cashAmountField; + + private string currencyCodeField; + + private string autogiroOrderStatusField; + + private string autogiroOrderNumberField; + + private System.DateTime settlementDateField; + + private string externalReferenceField; + + private string batchOrderNumberField; + + private System.Guid transferReceiverIdField; + + private string autoGiroResponseCodeField; + + private System.Guid[] recurringOrderTemplateIdsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TransferOrderTypeKey + { + get + { + return this.transferOrderTypeKeyField; + } + set + { + this.transferOrderTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string AutogiroOrderStatus + { + get + { + return this.autogiroOrderStatusField; + } + set + { + this.autogiroOrderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string AutogiroOrderNumber + { + get + { + return this.autogiroOrderNumberField; + } + set + { + this.autogiroOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string BatchOrderNumber + { + get + { + return this.batchOrderNumberField; + } + set + { + this.batchOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string AutoGiroResponseCode + { + get + { + return this.autoGiroResponseCodeField; + } + set + { + this.autoGiroResponseCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public System.Guid[] RecurringOrderTemplateIds + { + get + { + return this.recurringOrderTemplateIdsField; + } + set + { + this.recurringOrderTemplateIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DirectBankWithdrawalOrder : EntityBase + { + + private System.Guid accountField; + + private string externalReferenceField; + + private string cashCurrencyCodeField; + + private decimal amountField; + + private System.Guid transferReceiverField; + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CashCurrencyCode + { + get + { + return this.cashCurrencyCodeField; + } + set + { + this.cashCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationOrderResponseRow : EntityBase + { + + private System.Nullable accountField; + + private System.Nullable reBalanceInstanceField; + + private System.Nullable createdByIdField; + + private AllocationItem[] allocationItemsField; + + private ReservationItem[] reservationItemsField; + + private string orderNoField; + + private string stateField; + + private string externalReferenceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable ReBalanceInstance + { + get + { + return this.reBalanceInstanceField; + } + set + { + this.reBalanceInstanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedById + { + get + { + return this.createdByIdField; + } + set + { + this.createdByIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public AllocationItem[] AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public ReservationItem[] ReservationItems + { + get + { + return this.reservationItemsField; + } + set + { + this.reservationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AllocationItem : EntityBase + { + + private System.Guid assetField; + + private decimal allocationPercentageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal AllocationPercentage + { + get + { + return this.allocationPercentageField; + } + set + { + this.allocationPercentageField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ReservationItem : EntityBase + { + + private System.Guid reservedAssetField; + + private decimal reservedAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid ReservedAsset + { + get + { + return this.reservedAssetField; + } + set + { + this.reservedAssetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal ReservedAmount + { + get + { + return this.reservedAmountField; + } + set + { + this.reservedAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SwitchOrder : EntityBase + { + + private System.Guid accountField; + + private string commentField; + + private System.Guid resellerField; + + private string externalReferenceField; + + private System.Guid decisionMakerWithinFirmField; + + private System.Guid[] decisionMakersField; + + private System.Nullable exchangeAlgorithmField; + + private SellOrder[] sellOrdersField; + + private AllocationItem[] allocationItemsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] DecisionMakers + { + get + { + return this.decisionMakersField; + } + set + { + this.decisionMakersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable ExchangeAlgorithm + { + get + { + return this.exchangeAlgorithmField; + } + set + { + this.exchangeAlgorithmField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public SellOrder[] SellOrders + { + get + { + return this.sellOrdersField; + } + set + { + this.sellOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public AllocationItem[] AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum ExchangeAlgorithmEnum + { + + /// + AllToBaseCurrency, + + /// + HighestToLowest, + + /// + FromBaseCurrency, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SellOrder + { + + private decimal sellPercentageField; + + private System.Guid assetField; + + private string externalReferenceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal SellPercentage + { + get + { + return this.sellPercentageField; + } + set + { + this.sellPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositTransferOrdersResponseRow : EntityBase + { + + private string transferOrderTypeField; + + private System.Guid accountField; + + private string currencyCodeField; + + private decimal cashAmountField; + + private string stateField; + + private string orderNoField; + + private System.DateTime settlementDateField; + + private string externalReferenceField; + + private string batchOrderNoField; + + private System.Guid transferReceiverField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TransferOrderType + { + get + { + return this.transferOrderTypeField; + } + set + { + this.transferOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string BatchOrderNo + { + get + { + return this.batchOrderNoField; + } + set + { + this.batchOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositBatchTransferOrdersResponseRow : EntityBase + { + + private string batchOrderTypeField; + + private decimal cashAmountField; + + private string currencyCodeField; + + private string stateField; + + private string orderNoField; + + private System.DateTime settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string BatchOrderType + { + get + { + return this.batchOrderTypeField; + } + set + { + this.batchOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalTransferOrdersResponseRow : EntityBase + { + + private string transferOrderTypeField; + + private System.Guid accountField; + + private decimal cashAmountField; + + private string currencyCodeField; + + private string stateField; + + private string orderNoField; + + private System.DateTime settlementDateField; + + private string externalReferenceField; + + private string batchOrderNoField; + + private System.Guid transferReceiverField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TransferOrderType + { + get + { + return this.transferOrderTypeField; + } + set + { + this.transferOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string BatchOrderNo + { + get + { + return this.batchOrderNoField; + } + set + { + this.batchOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalBatchTransferOrdersResponseRow : EntityBase + { + + private string batchOrderTypeField; + + private decimal cashAmountField; + + private string currencyCodeField; + + private string stateField; + + private string orderNoField; + + private System.DateTime settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string BatchOrderType + { + get + { + return this.batchOrderTypeField; + } + set + { + this.batchOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WithdrawalCashOrder : EntityBase + { + + private string accountNoField; + + private bool isPercentField; + + private string externalReferenceField; + + private string currencyCodeField; + + private decimal amountField; + + private System.Guid transferReceiverField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool IsPercent + { + get + { + return this.isPercentField; + } + set + { + this.isPercentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DepositCashOrder : EntityBase + { + + private System.Guid accountIdField; + + private System.Nullable cashAmountField; + + private System.Guid transferReceiverIdField; + + private string commentField; + + private System.Guid instrumentIdField; + + private System.Guid allocationProfileIdField; + + private string paymentServiceTypeField; + + private System.Guid transferOrderIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid AllocationProfileId + { + get + { + return this.allocationProfileIdField; + } + set + { + this.allocationProfileIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string PaymentServiceType + { + get + { + return this.paymentServiceTypeField; + } + set + { + this.paymentServiceTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid TransferOrderId + { + get + { + return this.transferOrderIdField; + } + set + { + this.transferOrderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TradeBuyOrderFromAutogiro : EntityBase + { + + private System.Guid accountIdField; + + private decimal amountField; + + private System.Guid transferReceiverField; + + private int autoGiroPaymentPeriodField; + + private System.DateTime businessDateField; + + private string commentField; + + private System.Guid instrumentIdField; + + private int dayField; + + private ExecutionInterfaceKey executionInterfaceKeyField; + + private bool isUnitOrderField; + + private decimal limitPriceField; + + private System.Guid[] decisionMakersField; + + private System.Guid decisionMakerWithinFirmField; + + private int monthField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int AutoGiroPaymentPeriod + { + get + { + return this.autoGiroPaymentPeriodField; + } + set + { + this.autoGiroPaymentPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.Guid InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public ExecutionInterfaceKey ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public decimal LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public System.Guid[] DecisionMakers + { + get + { + return this.decisionMakersField; + } + set + { + this.decisionMakersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public int Month + { + get + { + return this.monthField; + } + set + { + this.monthField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CancelTradeOrder : EntityBase + { + + private System.Guid orderIdField; + + private System.Guid cancelBatchField; + + private string cancelCommentField; + + private bool cancelLinkedOrdersField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid CancelBatch + { + get + { + return this.cancelBatchField; + } + set + { + this.cancelBatchField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CancelComment + { + get + { + return this.cancelCommentField; + } + set + { + this.cancelCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CancelLinkedOrders + { + get + { + return this.cancelLinkedOrdersField; + } + set + { + this.cancelLinkedOrdersField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradeOrdersResponseRow : EntityBase + { + + private string tradeOrderTypeField; + + private System.Guid accountField; + + private decimal cashAmountField; + + private decimal instrumentAmountField; + + private string tradeOrderDirectionKeyField; + + private System.Guid instrumentField; + + private bool displayPercentagePriceField; + + private decimal displayMultiplierField; + + private System.Guid cashField; + + private double priceField; + + private string stateField; + + private System.Guid executionInterfaceField; + + private string executionInterfaceKeyField; + + private bool isUnitOrderField; + + private bool isNominalValueOrderEntryField; + + private string orderNoField; + + private decimal limitPriceField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private string externalReferenceField; + + private System.Guid allocationInstanceField; + + private System.Guid allocationOrderField; + + private bool isPrePayedField; + + private System.Nullable orderSettlementTypeField; + + private System.Guid externalFundBatchOrderField; + + private System.DateTime cashTradeDateField; + + private System.DateTime instrumentTradeDateField; + + private System.DateTime cashSettlementDateField; + + private System.DateTime instrumentSettlementDateField; + + private string sellTypeField; + + private System.Nullable shortSellingIndicatorField; + + private System.Guid decisionMakerWithinFirmField; + + private decimal feeAmountField; + + private OrderFeeCategory[] orderFeeCategoriesField; + + private string orderTypeKeyField; + + private System.Guid resellerField; + + private decimal filledCashAmountField; + + private decimal filledInstrumentAmountField; + + private System.Nullable fourEyesStatusField; + + private System.Guid subscriptionOrderIdField; + + private System.Guid fundBatchOrderField; + + private System.Guid businessEventIdField; + + private System.Guid noteIdField; + + private System.Guid triggerReferenceField; + + private LinkedOrderInfo[] linkedOrderInfoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TradeOrderType + { + get + { + return this.tradeOrderTypeField; + } + set + { + this.tradeOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public decimal DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.Guid ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool IsNominalValueOrderEntry + { + get + { + return this.isNominalValueOrderEntryField; + } + set + { + this.isNominalValueOrderEntryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public decimal LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public System.Guid AllocationInstance + { + get + { + return this.allocationInstanceField; + } + set + { + this.allocationInstanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public System.Guid AllocationOrder + { + get + { + return this.allocationOrderField; + } + set + { + this.allocationOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=23)] + public System.Nullable OrderSettlementType + { + get + { + return this.orderSettlementTypeField; + } + set + { + this.orderSettlementTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.Guid ExternalFundBatchOrder + { + get + { + return this.externalFundBatchOrderField; + } + set + { + this.externalFundBatchOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public System.DateTime CashTradeDate + { + get + { + return this.cashTradeDateField; + } + set + { + this.cashTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public System.DateTime InstrumentTradeDate + { + get + { + return this.instrumentTradeDateField; + } + set + { + this.instrumentTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public System.DateTime CashSettlementDate + { + get + { + return this.cashSettlementDateField; + } + set + { + this.cashSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public System.DateTime InstrumentSettlementDate + { + get + { + return this.instrumentSettlementDateField; + } + set + { + this.instrumentSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string SellType + { + get + { + return this.sellTypeField; + } + set + { + this.sellTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=30)] + public System.Nullable ShortSellingIndicator + { + get + { + return this.shortSellingIndicatorField; + } + set + { + this.shortSellingIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public decimal FeeAmount + { + get + { + return this.feeAmountField; + } + set + { + this.feeAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=33)] + public OrderFeeCategory[] OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string OrderTypeKey + { + get + { + return this.orderTypeKeyField; + } + set + { + this.orderTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public System.Guid Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public decimal FilledCashAmount + { + get + { + return this.filledCashAmountField; + } + set + { + this.filledCashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public decimal FilledInstrumentAmount + { + get + { + return this.filledInstrumentAmountField; + } + set + { + this.filledInstrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=38)] + public System.Nullable FourEyesStatus + { + get + { + return this.fourEyesStatusField; + } + set + { + this.fourEyesStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public System.Guid SubscriptionOrderId + { + get + { + return this.subscriptionOrderIdField; + } + set + { + this.subscriptionOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public System.Guid FundBatchOrder + { + get + { + return this.fundBatchOrderField; + } + set + { + this.fundBatchOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public System.Guid BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public System.Guid NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public System.Guid TriggerReference + { + get + { + return this.triggerReferenceField; + } + set + { + this.triggerReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=44)] + public LinkedOrderInfo[] LinkedOrderInfo + { + get + { + return this.linkedOrderInfoField; + } + set + { + this.linkedOrderInfoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum OrderSettlementType + { + + /// + PAYMENT, + + /// + PRICE, + + /// + CONFIRMATION, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum ShortSellingIndicator + { + + /// + UNDEFINED, + + /// + SESH, + + /// + SELL, + + /// + SSEX, + + /// + UNDI, + + /// + NotApplicable, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class OrderFeeCategory : EntityBase + { + + private decimal amountField; + + private System.Nullable percentageField; + + private string keyField; + + private string typeKeyField; + + private decimal minAmountField; + + private bool applyDiscountField; + + private System.Nullable feeAccountField; + + private System.Nullable toCustodyAccountField; + + private System.Nullable fromCustodyAccountField; + + private System.Nullable hasCreatedTransactionsField; + + private decimal calculatedAmountField; + + private Label[] labelsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable Percentage + { + get + { + return this.percentageField; + } + set + { + this.percentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string TypeKey + { + get + { + return this.typeKeyField; + } + set + { + this.typeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal MinAmount + { + get + { + return this.minAmountField; + } + set + { + this.minAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ApplyDiscount + { + get + { + return this.applyDiscountField; + } + set + { + this.applyDiscountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable FeeAccount + { + get + { + return this.feeAccountField; + } + set + { + this.feeAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable ToCustodyAccount + { + get + { + return this.toCustodyAccountField; + } + set + { + this.toCustodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable FromCustodyAccount + { + get + { + return this.fromCustodyAccountField; + } + set + { + this.fromCustodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable HasCreatedTransactions + { + get + { + return this.hasCreatedTransactionsField; + } + set + { + this.hasCreatedTransactionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public decimal CalculatedAmount + { + get + { + return this.calculatedAmountField; + } + set + { + this.calculatedAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public Label[] Labels + { + get + { + return this.labelsField; + } + set + { + this.labelsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Label + { + + private string labelKeyField; + + private string labelValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string LabelKey + { + get + { + return this.labelKeyField; + } + set + { + this.labelKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string LabelValue + { + get + { + return this.labelValueField; + } + set + { + this.labelValueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum FourEyesStatus + { + + /// + UnApproved, + + /// + Approved, + + /// + InProgress, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class LinkedOrderInfo + { + + private System.Guid orderIdField; + + private string orderTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string OrderType + { + get + { + return this.orderTypeField; + } + set + { + this.orderTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TradeOrder : EntityBase + { + + private string tradeOrderDirectionKeyField; + + private System.Guid accountField; + + private System.Guid instrumentField; + + private System.Nullable instrumentAmountField; + + private System.Nullable cashAmountField; + + private decimal commissionAmountField; + + private bool overrideCommissionAmountField; + + private bool isUnitOrderField; + + private bool reserveAssetsField; + + private decimal limitPriceField; + + private string orderNoField; + + private string externalReferenceField; + + private string executionInterfaceKeyField; + + private System.DateTime orderDateAndTimeField; + + private OrderSettlementType orderSettlementTypeField; + + private System.Guid[] decisionMakersField; + + private System.Guid decisionMakerWithinFirmField; + + private System.Nullable shortSellingIndicatorField; + + private ExternalAccountDataForWithdrawal externalAccountDataForWithdrawalField; + + private System.Guid businessEventIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public decimal CommissionAmount + { + get + { + return this.commissionAmountField; + } + set + { + this.commissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OverrideCommissionAmount + { + get + { + return this.overrideCommissionAmountField; + } + set + { + this.overrideCommissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool ReserveAssets + { + get + { + return this.reserveAssetsField; + } + set + { + this.reserveAssetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public decimal LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public System.DateTime OrderDateAndTime + { + get + { + return this.orderDateAndTimeField; + } + set + { + this.orderDateAndTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public OrderSettlementType OrderSettlementType + { + get + { + return this.orderSettlementTypeField; + } + set + { + this.orderSettlementTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public System.Guid[] DecisionMakers + { + get + { + return this.decisionMakersField; + } + set + { + this.decisionMakersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable ShortSellingIndicator + { + get + { + return this.shortSellingIndicatorField; + } + set + { + this.shortSellingIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public ExternalAccountDataForWithdrawal ExternalAccountDataForWithdrawal + { + get + { + return this.externalAccountDataForWithdrawalField; + } + set + { + this.externalAccountDataForWithdrawalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public System.Guid BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalAccountDataForWithdrawal + { + + private System.Guid transferReceiverIdField; + + private WithdrawalOrderTypeKey withdrawalOrderTypeKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public WithdrawalOrderTypeKey WithdrawalOrderTypeKey + { + get + { + return this.withdrawalOrderTypeKeyField; + } + set + { + this.withdrawalOrderTypeKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum WithdrawalOrderTypeKey + { + + /// + AutomaticOrder, + + /// + BankgiroOrder, + + /// + BankTransferOrder, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyExchangeOrderResponseRow : EntityBase + { + + private string orderNoField; + + private System.Guid accountIdField; + + private System.Guid executionInterfaceIdField; + + private string stateField; + + private System.Guid legalEntityIdField; + + private string commentField; + + private decimal buyAmountField; + + private decimal sellAmountField; + + private string orderDirectionKeyField; + + private System.Guid sellCashAssetBrickIdField; + + private System.Guid buyCashAssetBrickIdField; + + private System.Guid currencyExchangeBatchOrderField; + + private System.Guid allocationOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid LegalEntityId + { + get + { + return this.legalEntityIdField; + } + set + { + this.legalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public decimal BuyAmount + { + get + { + return this.buyAmountField; + } + set + { + this.buyAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public decimal SellAmount + { + get + { + return this.sellAmountField; + } + set + { + this.sellAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string OrderDirectionKey + { + get + { + return this.orderDirectionKeyField; + } + set + { + this.orderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid SellCashAssetBrickId + { + get + { + return this.sellCashAssetBrickIdField; + } + set + { + this.sellCashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.Guid BuyCashAssetBrickId + { + get + { + return this.buyCashAssetBrickIdField; + } + set + { + this.buyCashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.Guid CurrencyExchangeBatchOrder + { + get + { + return this.currencyExchangeBatchOrderField; + } + set + { + this.currencyExchangeBatchOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.Guid AllocationOrder + { + get + { + return this.allocationOrderField; + } + set + { + this.allocationOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSubscriptionOrderResponseRow : EntityBase + { + + private decimal limitPriceField; + + private bool overrideCommissionAmountField; + + private decimal commissionAmountField; + + private decimal cashAmountField; + + private decimal instrumentAmountField; + + private string orderNoField; + + private string orderTypeKeyField; + + private System.Guid instrumentIdField; + + private System.Guid cashIdField; + + private System.Guid accountIdField; + + private bool isUnitOrderField; + + private bool displayPercentagePriceField; + + private decimal displayMultiplierField; + + private System.Guid executionInterfaceIdField; + + private string stateField; + + private System.DateTime lastPaymentDateField; + + private System.Guid legalEntityIdField; + + private bool isDVPField; + + private System.Guid transferReceiverIdField; + + private string commentField; + + private string externalReferenceField; + + private System.DateTime expectedTradeDateField; + + private System.DateTime expectedSettlementDateField; + + private OrderFeeCategory[] orderFeeCategoriesField; + + private decimal feeAmountField; + + private System.Guid resellerField; + + private ReservationItem[] reservationItemsField; + + private System.Guid tradeOrderIdField; + + private System.Guid transferReceiverIdForCollectingFinancingField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool OverrideCommissionAmount + { + get + { + return this.overrideCommissionAmountField; + } + set + { + this.overrideCommissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal CommissionAmount + { + get + { + return this.commissionAmountField; + } + set + { + this.commissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string OrderTypeKey + { + get + { + return this.orderTypeKeyField; + } + set + { + this.orderTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid CashId + { + get + { + return this.cashIdField; + } + set + { + this.cashIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public decimal DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public System.Guid ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public System.DateTime LastPaymentDate + { + get + { + return this.lastPaymentDateField; + } + set + { + this.lastPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.Guid LegalEntityId + { + get + { + return this.legalEntityIdField; + } + set + { + this.legalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool IsDVP + { + get + { + return this.isDVPField; + } + set + { + this.isDVPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public System.DateTime ExpectedTradeDate + { + get + { + return this.expectedTradeDateField; + } + set + { + this.expectedTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public System.DateTime ExpectedSettlementDate + { + get + { + return this.expectedSettlementDateField; + } + set + { + this.expectedSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=23)] + public OrderFeeCategory[] OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public decimal FeeAmount + { + get + { + return this.feeAmountField; + } + set + { + this.feeAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public System.Guid Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=26)] + public ReservationItem[] ReservationItems + { + get + { + return this.reservationItemsField; + } + set + { + this.reservationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public System.Guid TradeOrderId + { + get + { + return this.tradeOrderIdField; + } + set + { + this.tradeOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public System.Guid TransferReceiverIdForCollectingFinancing + { + get + { + return this.transferReceiverIdForCollectingFinancingField; + } + set + { + this.transferReceiverIdForCollectingFinancingField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSubscriptionOrder : EntityBase + { + + private System.Guid accountField; + + private string cashCurrencyCodeField; + + private System.Nullable instrumentField; + + private System.Nullable limitPriceField; + + private System.DateTime lastPaymentDateField; + + private string executionInterfaceSettingKeyField; + + private bool isUnitOrderField; + + private bool reserveAssetsField; + + private System.Nullable cashAmountField; + + private System.Nullable instrumentAmountField; + + private decimal commissionAmountField; + + private bool overrideCommissionAmountField; + + private System.Guid transferReceiverField; + + private System.Guid transferReceiverForCollectingFinancingField; + + private string externalReferenceField; + + private bool isDVPField; + + private System.DateTime expectedTradeDateField; + + private System.DateTime expectedSettlementDateField; + + private string commentField; + + private CreateOrderFeeCategory[] orderFeeCategoriesField; + + private System.Guid resellerField; + + private int autoGiroPaymentMetodField; + + private System.DateTime businessDateField; + + private System.Guid decisionMakerWithinFirmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CashCurrencyCode + { + get + { + return this.cashCurrencyCodeField; + } + set + { + this.cashCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime LastPaymentDate + { + get + { + return this.lastPaymentDateField; + } + set + { + this.lastPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExecutionInterfaceSettingKey + { + get + { + return this.executionInterfaceSettingKeyField; + } + set + { + this.executionInterfaceSettingKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ReserveAssets + { + get + { + return this.reserveAssetsField; + } + set + { + this.reserveAssetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public decimal CommissionAmount + { + get + { + return this.commissionAmountField; + } + set + { + this.commissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool OverrideCommissionAmount + { + get + { + return this.overrideCommissionAmountField; + } + set + { + this.overrideCommissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public System.Guid TransferReceiverForCollectingFinancing + { + get + { + return this.transferReceiverForCollectingFinancingField; + } + set + { + this.transferReceiverForCollectingFinancingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool IsDVP + { + get + { + return this.isDVPField; + } + set + { + this.isDVPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.DateTime ExpectedTradeDate + { + get + { + return this.expectedTradeDateField; + } + set + { + this.expectedTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.DateTime ExpectedSettlementDate + { + get + { + return this.expectedSettlementDateField; + } + set + { + this.expectedSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public CreateOrderFeeCategory[] OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public System.Guid Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public int AutoGiroPaymentMetod + { + get + { + return this.autoGiroPaymentMetodField; + } + set + { + this.autoGiroPaymentMetodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateOrderFeeCategory : EntityBase + { + + private decimal amountField; + + private string keyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder : EntityBase + { + + private System.Guid accountField; + + private string cashCurrencyCodeField; + + private System.Guid instrumentField; + + private System.Nullable limitPriceField; + + private System.DateTime lastPaymentDateField; + + private string executionInterfaceSettingKeyField; + + private bool isUnitOrderField; + + private bool reserveAssetsField; + + private System.Nullable cashAmountField; + + private System.Nullable instrumentAmountField; + + private decimal commissionAmountField; + + private bool overrideCommissionAmountField; + + private System.Nullable transferReceiverField; + + private string externalReferenceField; + + private string orderNoField; + + private bool isDVPField; + + private System.DateTime expectedTradeDateField; + + private System.DateTime expectedSettlementDateField; + + private string commentField; + + private CreateOrderFeeCategory[] orderFeeCategoriesField; + + private System.Guid resellerField; + + private ExternalAccountData externalAccountDataField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CashCurrencyCode + { + get + { + return this.cashCurrencyCodeField; + } + set + { + this.cashCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime LastPaymentDate + { + get + { + return this.lastPaymentDateField; + } + set + { + this.lastPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExecutionInterfaceSettingKey + { + get + { + return this.executionInterfaceSettingKeyField; + } + set + { + this.executionInterfaceSettingKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ReserveAssets + { + get + { + return this.reserveAssetsField; + } + set + { + this.reserveAssetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public decimal CommissionAmount + { + get + { + return this.commissionAmountField; + } + set + { + this.commissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool OverrideCommissionAmount + { + get + { + return this.overrideCommissionAmountField; + } + set + { + this.overrideCommissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool IsDVP + { + get + { + return this.isDVPField; + } + set + { + this.isDVPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.DateTime ExpectedTradeDate + { + get + { + return this.expectedTradeDateField; + } + set + { + this.expectedTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.DateTime ExpectedSettlementDate + { + get + { + return this.expectedSettlementDateField; + } + set + { + this.expectedSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public CreateOrderFeeCategory[] OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public System.Guid Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public ExternalAccountData ExternalAccountData + { + get + { + return this.externalAccountDataField; + } + set + { + this.externalAccountDataField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalAccountData + { + + private System.Guid transferReceiverForCollectingFinancingField; + + private int autoGiroPaymentPeriodField; + + private System.DateTime businessDateField; + + private System.Guid[] decisionMakersField; + + private System.Guid decisionMakerWithinFirmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid TransferReceiverForCollectingFinancing + { + get + { + return this.transferReceiverForCollectingFinancingField; + } + set + { + this.transferReceiverForCollectingFinancingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int AutoGiroPaymentPeriod + { + get + { + return this.autoGiroPaymentPeriodField; + } + set + { + this.autoGiroPaymentPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] DecisionMakers + { + get + { + return this.decisionMakersField; + } + set + { + this.decisionMakersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalInstrumentTransferOrderResponseRow : EntityBase + { + + private string fromAccountNumberField; + + private string toAccountNumberField; + + private System.Nullable fromAccountBrickIdField; + + private System.Nullable toAccountBrickIdField; + + private decimal unitsField; + + private string commentField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + private System.Nullable instrumentBrickIdField; + + private decimal acquisitionValueField; + + private decimal acquisitionPriceField; + + private decimal acquisitionValueAccountCurrencyField; + + private decimal acquisitionPriceAccountCurrencyField; + + private bool overrideOwnershipChangeValidationField; + + private string isinField; + + private string orderStatusField; + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FromAccountNumber + { + get + { + return this.fromAccountNumberField; + } + set + { + this.fromAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ToAccountNumber + { + get + { + return this.toAccountNumberField; + } + set + { + this.toAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable FromAccountBrickId + { + get + { + return this.fromAccountBrickIdField; + } + set + { + this.fromAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable ToAccountBrickId + { + get + { + return this.toAccountBrickIdField; + } + set + { + this.toAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal Units + { + get + { + return this.unitsField; + } + set + { + this.unitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable InstrumentBrickId + { + get + { + return this.instrumentBrickIdField; + } + set + { + this.instrumentBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public decimal AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public decimal AcquisitionPrice + { + get + { + return this.acquisitionPriceField; + } + set + { + this.acquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public decimal AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public decimal AcquisitionPriceAccountCurrency + { + get + { + return this.acquisitionPriceAccountCurrencyField; + } + set + { + this.acquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool OverrideOwnershipChangeValidation + { + get + { + return this.overrideOwnershipChangeValidationField; + } + set + { + this.overrideOwnershipChangeValidationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string Isin + { + get + { + return this.isinField; + } + set + { + this.isinField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalInstrumentTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalCashTransferOrder))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalTransferOrderBase : EntityBase + { + + private string fromAccountNumberField; + + private string toAccountNumberField; + + private System.Nullable fromAccountBrickIdField; + + private System.Nullable toAccountBrickIdField; + + private string commentField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FromAccountNumber + { + get + { + return this.fromAccountNumberField; + } + set + { + this.fromAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ToAccountNumber + { + get + { + return this.toAccountNumberField; + } + set + { + this.toAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable FromAccountBrickId + { + get + { + return this.fromAccountBrickIdField; + } + set + { + this.fromAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable ToAccountBrickId + { + get + { + return this.toAccountBrickIdField; + } + set + { + this.toAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalInstrumentTransferOrder : InternalTransferOrderBase + { + + private decimal unitsField; + + private System.Guid instrumentBrickIdField; + + private System.Nullable acquisitionValueField; + + private System.Nullable acquisitionPriceField; + + private System.Nullable acquisitionValueAccountCurrencyField; + + private System.Nullable acquisitionPriceAccountCurrencyField; + + private bool overrideOwnershipChangeValidationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal Units + { + get + { + return this.unitsField; + } + set + { + this.unitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid InstrumentBrickId + { + get + { + return this.instrumentBrickIdField; + } + set + { + this.instrumentBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable AcquisitionPrice + { + get + { + return this.acquisitionPriceField; + } + set + { + this.acquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable AcquisitionPriceAccountCurrency + { + get + { + return this.acquisitionPriceAccountCurrencyField; + } + set + { + this.acquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OverrideOwnershipChangeValidation + { + get + { + return this.overrideOwnershipChangeValidationField; + } + set + { + this.overrideOwnershipChangeValidationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalCashTransferOrder : InternalTransferOrderBase + { + + private decimal amountField; + + private string currencyCodeField; + + private System.Nullable cashAssetBrickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CashAssetBrickId + { + get + { + return this.cashAssetBrickIdField; + } + set + { + this.cashAssetBrickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalCashTransferOrderResponseRow : EntityBase + { + + private string fromAccountNumberField; + + private string toAccountNumberField; + + private System.Nullable fromAccountBrickIdField; + + private System.Nullable toAccountBrickIdField; + + private decimal amountField; + + private string commentField; + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + private string currencyCodeField; + + private System.Nullable cashAssetBrickIdField; + + private string orderStatusField; + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FromAccountNumber + { + get + { + return this.fromAccountNumberField; + } + set + { + this.fromAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ToAccountNumber + { + get + { + return this.toAccountNumberField; + } + set + { + this.toAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable FromAccountBrickId + { + get + { + return this.fromAccountBrickIdField; + } + set + { + this.fromAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable ToAccountBrickId + { + get + { + return this.toAccountBrickIdField; + } + set + { + this.toAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable CashAssetBrickId + { + get + { + return this.cashAssetBrickIdField; + } + set + { + this.cashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAlgorithmResponseRow : EntityBase + { + + private string keyField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AllocationProfile : EntityBase + { + + private string nameField; + + private string keyField; + + private System.Guid ownerField; + + private AllocationItem[] allocationItemsField; + + private string orderAlgorithmKeyField; + + private string exchangeAlgorithmKeyField; + + private string statusKeyField; + + private decimal minOrderAmountField; + + private System.Guid decisionMakerWithinFirmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public AllocationItem[] AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string OrderAlgorithmKey + { + get + { + return this.orderAlgorithmKeyField; + } + set + { + this.orderAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExchangeAlgorithmKey + { + get + { + return this.exchangeAlgorithmKeyField; + } + set + { + this.exchangeAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public decimal MinOrderAmount + { + get + { + return this.minOrderAmountField; + } + set + { + this.minOrderAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationProfileResponseRow : EntityBase + { + + private string nameField; + + private string keyField; + + private AllocationItem[] allocationItemsField; + + private System.Guid ownerField; + + private string orderAlgorithmKeyField; + + private string exchangeAlgorithmKeyField; + + private string statusKeyField; + + private decimal minOrderAmountField; + + private System.Guid decisionMakerWithinFirmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public AllocationItem[] AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string OrderAlgorithmKey + { + get + { + return this.orderAlgorithmKeyField; + } + set + { + this.orderAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExchangeAlgorithmKey + { + get + { + return this.exchangeAlgorithmKeyField; + } + set + { + this.exchangeAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public decimal MinOrderAmount + { + get + { + return this.minOrderAmountField; + } + set + { + this.minOrderAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class POA : EntityBase + { + + private System.Guid accountIdField; + + private string pOACustomerNoField; + + private string keyField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string POACustomerNo + { + get + { + return this.pOACustomerNoField; + } + set + { + this.pOACustomerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOAResponseRow : EntityBase + { + + private string pOACustomerNoField; + + private System.Guid pOACustomerIdField; + + private System.Guid accountIdField; + + private string keyField; + + private System.Guid powerOfAttorneyTypeIdField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string POACustomerNo + { + get + { + return this.pOACustomerNoField; + } + set + { + this.pOACustomerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid POACustomerId + { + get + { + return this.pOACustomerIdField; + } + set + { + this.pOACustomerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid PowerOfAttorneyTypeId + { + get + { + return this.powerOfAttorneyTypeIdField; + } + set + { + this.powerOfAttorneyTypeIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInstrument : EntityBase + { + + private string symbolField; + + private System.Nullable priceDateField; + + private string dataSeriesField; + + private bool displayPercentagePriceField; + + private double displayMultiplierField; + + private bool debtInstrumentField; + + private int instrumentTypeField; + + private string currencyCodeField; + + private string iSINField; + + private string nameField; + + private System.DateTime lastSubscriptionDateField; + + private System.DateTime expirationDateField; + + private double priceField; + + private int quantityDecimalsField; + + private int displayDecimalsPriceField; + + private double valueMultiplierField; + + private int instrumentStatusField; + + private bool isUnitOrderField; + + private InstrumentCategorizationArray instrumentCategorizationField; + + private string taxCountryField; + + private string visibleStatusKeyField; + + private string externalReferenceField; + + private string commentField; + + private System.Guid defaultMarketPlaceField; + + private string settlementCalenderField; + + private System.Guid issuerField; + + private double previousClosePriceField; + + private System.Guid whiteLabelField; + + private bool hasMifidIIDataField; + + private string knowledgeGroupField; + + private string exPostCalcMethodField; + + private decimal managementFeePercentageField; + + private System.Guid fundEntityField; + + private System.Guid fundCompanyField; + + private string feeGroupField; + + private string datasheetURLField; + + private bool enableMifidIITenPercentAlertField; + + private UpdateExecutionInterface[] executionInterfacesField; + + private string defaultExecutionInterfaceField; + + private bool excludeFromFeeRelatedSellingField; + + private string fundClassField; + + private FundStockProportion[] fundStockProportionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Symbol + { + get + { + return this.symbolField; + } + set + { + this.symbolField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string DataSeries + { + get + { + return this.dataSeriesField; + } + set + { + this.dataSeriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public double DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool DebtInstrument + { + get + { + return this.debtInstrumentField; + } + set + { + this.debtInstrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int InstrumentType + { + get + { + return this.instrumentTypeField; + } + set + { + this.instrumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string ISIN + { + get + { + return this.iSINField; + } + set + { + this.iSINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime LastSubscriptionDate + { + get + { + return this.lastSubscriptionDateField; + } + set + { + this.lastSubscriptionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.DateTime ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public int QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public int DisplayDecimalsPrice + { + get + { + return this.displayDecimalsPriceField; + } + set + { + this.displayDecimalsPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public double ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public int InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public InstrumentCategorizationArray InstrumentCategorization + { + get + { + return this.instrumentCategorizationField; + } + set + { + this.instrumentCategorizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string VisibleStatusKey + { + get + { + return this.visibleStatusKeyField; + } + set + { + this.visibleStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public System.Guid DefaultMarketPlace + { + get + { + return this.defaultMarketPlaceField; + } + set + { + this.defaultMarketPlaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public string SettlementCalender + { + get + { + return this.settlementCalenderField; + } + set + { + this.settlementCalenderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public System.Guid Issuer + { + get + { + return this.issuerField; + } + set + { + this.issuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public double PreviousClosePrice + { + get + { + return this.previousClosePriceField; + } + set + { + this.previousClosePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public System.Guid WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool HasMifidIIData + { + get + { + return this.hasMifidIIDataField; + } + set + { + this.hasMifidIIDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string KnowledgeGroup + { + get + { + return this.knowledgeGroupField; + } + set + { + this.knowledgeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public string ExPostCalcMethod + { + get + { + return this.exPostCalcMethodField; + } + set + { + this.exPostCalcMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public decimal ManagementFeePercentage + { + get + { + return this.managementFeePercentageField; + } + set + { + this.managementFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public System.Guid FundEntity + { + get + { + return this.fundEntityField; + } + set + { + this.fundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string FeeGroup + { + get + { + return this.feeGroupField; + } + set + { + this.feeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string DatasheetURL + { + get + { + return this.datasheetURLField; + } + set + { + this.datasheetURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool EnableMifidIITenPercentAlert + { + get + { + return this.enableMifidIITenPercentAlertField; + } + set + { + this.enableMifidIITenPercentAlertField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=37)] + public UpdateExecutionInterface[] ExecutionInterfaces + { + get + { + return this.executionInterfacesField; + } + set + { + this.executionInterfacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public string DefaultExecutionInterface + { + get + { + return this.defaultExecutionInterfaceField; + } + set + { + this.defaultExecutionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool ExcludeFromFeeRelatedSelling + { + get + { + return this.excludeFromFeeRelatedSellingField; + } + set + { + this.excludeFromFeeRelatedSellingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public string FundClass + { + get + { + return this.fundClassField; + } + set + { + this.fundClassField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=41)] + public FundStockProportion[] FundStockProportions + { + get + { + return this.fundStockProportionsField; + } + set + { + this.fundStockProportionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InstrumentCategorizationArray + { + + private InstrumentCategorizationItem[] arrayField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InstrumentCategorizationItem[] Array + { + get + { + return this.arrayField; + } + set + { + this.arrayField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InstrumentCategorizationItem + { + + private string groupKeyField; + + private string keyField; + + private System.Nullable weightField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string GroupKey + { + get + { + return this.groupKeyField; + } + set + { + this.groupKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable Weight + { + get + { + return this.weightField; + } + set + { + this.weightField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateManualExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInternalExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMFEXExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateExternalFundExecutionInterface))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class UpdateExecutionInterface : EntityBase + { + + private System.Guid custodyAccountField; + + private System.Guid counterPartyField; + + private System.Guid counterPartyAccountField; + + private bool buyAmountAllowedField; + + private bool buyUnitAllowedField; + + private bool sellAmountAllowedField; + + private bool sellUnitAllowedField; + + private bool isNominalValueOrderEntryField; + + private double minimumLotSizeField; + + private System.Nullable quantityDecimalsField; + + private bool enabledField; + + private bool isUnitOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid CustodyAccount + { + get + { + return this.custodyAccountField; + } + set + { + this.custodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid CounterParty + { + get + { + return this.counterPartyField; + } + set + { + this.counterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid CounterPartyAccount + { + get + { + return this.counterPartyAccountField; + } + set + { + this.counterPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BuyAmountAllowed + { + get + { + return this.buyAmountAllowedField; + } + set + { + this.buyAmountAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BuyUnitAllowed + { + get + { + return this.buyUnitAllowedField; + } + set + { + this.buyUnitAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool SellAmountAllowed + { + get + { + return this.sellAmountAllowedField; + } + set + { + this.sellAmountAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SellUnitAllowed + { + get + { + return this.sellUnitAllowedField; + } + set + { + this.sellUnitAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsNominalValueOrderEntry + { + get + { + return this.isNominalValueOrderEntryField; + } + set + { + this.isNominalValueOrderEntryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public double MinimumLotSize + { + get + { + return this.minimumLotSizeField; + } + set + { + this.minimumLotSizeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateManualExecutionInterface : UpdateExecutionInterface + { + + private ManualExecutionInterfaceFields updateFieldsField; + + private System.Guid defaultCustodyAccountCashField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ManualExecutionInterfaceFields UpdateFields + { + get + { + return this.updateFieldsField; + } + set + { + this.updateFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid DefaultCustodyAccountCash + { + get + { + return this.defaultCustodyAccountCashField; + } + set + { + this.defaultCustodyAccountCashField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ManualExecutionInterfaceFields : ExecutionInterfaceFields + { + + private bool defaultCustodyAccountCashField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool DefaultCustodyAccountCash + { + get + { + return this.defaultCustodyAccountCashField; + } + set + { + this.defaultCustodyAccountCashField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualExecutionInterfaceFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalExecutionInterfaceFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MFEXExecutionInterfaceFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundExecutionInterfaceFields))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class ExecutionInterfaceFields + { + + private bool custodyAccountField; + + private bool counterPartyField; + + private bool counterPartyAccountField; + + private bool buyAmountAllowedField; + + private bool buyUnitAllowedField; + + private bool sellAmountAllowedField; + + private bool sellUnitAllowedField; + + private bool isNominalValueOrderEntryField; + + private bool minimumLotSizeField; + + private bool quantityDecimalsField; + + private bool enabledField; + + private bool isUnitOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool CustodyAccount + { + get + { + return this.custodyAccountField; + } + set + { + this.custodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CounterParty + { + get + { + return this.counterPartyField; + } + set + { + this.counterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CounterPartyAccount + { + get + { + return this.counterPartyAccountField; + } + set + { + this.counterPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BuyAmountAllowed + { + get + { + return this.buyAmountAllowedField; + } + set + { + this.buyAmountAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BuyUnitAllowed + { + get + { + return this.buyUnitAllowedField; + } + set + { + this.buyUnitAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool SellAmountAllowed + { + get + { + return this.sellAmountAllowedField; + } + set + { + this.sellAmountAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SellUnitAllowed + { + get + { + return this.sellUnitAllowedField; + } + set + { + this.sellUnitAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsNominalValueOrderEntry + { + get + { + return this.isNominalValueOrderEntryField; + } + set + { + this.isNominalValueOrderEntryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool MinimumLotSize + { + get + { + return this.minimumLotSizeField; + } + set + { + this.minimumLotSizeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalExecutionInterfaceFields : ExecutionInterfaceFields + { + + private bool orderExecutionInterfaceKeyField; + + private bool nettingAccountField; + + private bool tRSResultingOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool OrderExecutionInterfaceKey + { + get + { + return this.orderExecutionInterfaceKeyField; + } + set + { + this.orderExecutionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool NettingAccount + { + get + { + return this.nettingAccountField; + } + set + { + this.nettingAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool TRSResultingOrder + { + get + { + return this.tRSResultingOrderField; + } + set + { + this.tRSResultingOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class MFEXExecutionInterfaceFields : ExecutionInterfaceFields + { + + private bool prePaidWorkflowField; + + private bool minimumSubscriptionCashAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool PrePaidWorkflow + { + get + { + return this.prePaidWorkflowField; + } + set + { + this.prePaidWorkflowField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool MinimumSubscriptionCashAmount + { + get + { + return this.minimumSubscriptionCashAmountField; + } + set + { + this.minimumSubscriptionCashAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalFundExecutionInterfaceFields : ExecutionInterfaceFields + { + + private bool exceptionAccountField; + + private bool firstTradeDateField; + + private bool lastTradeDateField; + + private bool prePaidWorkflowField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool ExceptionAccount + { + get + { + return this.exceptionAccountField; + } + set + { + this.exceptionAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FirstTradeDate + { + get + { + return this.firstTradeDateField; + } + set + { + this.firstTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool LastTradeDate + { + get + { + return this.lastTradeDateField; + } + set + { + this.lastTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool PrePaidWorkflow + { + get + { + return this.prePaidWorkflowField; + } + set + { + this.prePaidWorkflowField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInternalExecutionInterface : UpdateExecutionInterface + { + + private InternalExecutionInterfaceFields updateFieldsField; + + private string orderExecutionInterfaceKeyField; + + private System.Guid nettingAccountField; + + private bool tRSResultingOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public InternalExecutionInterfaceFields UpdateFields + { + get + { + return this.updateFieldsField; + } + set + { + this.updateFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string OrderExecutionInterfaceKey + { + get + { + return this.orderExecutionInterfaceKeyField; + } + set + { + this.orderExecutionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid NettingAccount + { + get + { + return this.nettingAccountField; + } + set + { + this.nettingAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool TRSResultingOrder + { + get + { + return this.tRSResultingOrderField; + } + set + { + this.tRSResultingOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateMFEXExecutionInterface : UpdateExecutionInterface + { + + private MFEXExecutionInterfaceFields updateFieldsField; + + private bool prePaidWorkflowField; + + private decimal minimumSubscriptionCashAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public MFEXExecutionInterfaceFields UpdateFields + { + get + { + return this.updateFieldsField; + } + set + { + this.updateFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool PrePaidWorkflow + { + get + { + return this.prePaidWorkflowField; + } + set + { + this.prePaidWorkflowField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal MinimumSubscriptionCashAmount + { + get + { + return this.minimumSubscriptionCashAmountField; + } + set + { + this.minimumSubscriptionCashAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateExternalFundExecutionInterface : UpdateExecutionInterface + { + + private System.Nullable tradeRouteField; + + private ExternalFundExecutionInterfaceFields updateFieldsField; + + private System.Nullable exceptionAccountField; + + private System.Nullable firstTradeDateField; + + private System.Nullable lastTradeDateField; + + private bool prePaidWorkflowField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable TradeRoute + { + get + { + return this.tradeRouteField; + } + set + { + this.tradeRouteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ExternalFundExecutionInterfaceFields UpdateFields + { + get + { + return this.updateFieldsField; + } + set + { + this.updateFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable ExceptionAccount + { + get + { + return this.exceptionAccountField; + } + set + { + this.exceptionAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable FirstTradeDate + { + get + { + return this.firstTradeDateField; + } + set + { + this.firstTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable LastTradeDate + { + get + { + return this.lastTradeDateField; + } + set + { + this.lastTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool PrePaidWorkflow + { + get + { + return this.prePaidWorkflowField; + } + set + { + this.prePaidWorkflowField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum TradeRoute + { + + /// + ExternalFund, + + /// + Allfunds, + + /// + Fax, + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundStockProportion))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundStockProportion : EntityBase + { + + private decimal stockPercentageField; + + private System.DateTime stockPercentageDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal StockPercentage + { + get + { + return this.stockPercentageField; + } + set + { + this.stockPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime StockPercentageDate + { + get + { + return this.stockPercentageDateField; + } + set + { + this.stockPercentageDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundStockProportion : FundStockProportion + { + + private string stockProportionCategorizationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string StockProportionCategorization + { + get + { + return this.stockProportionCategorizationField; + } + set + { + this.stockProportionCategorizationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAssetAccountTypeLimitationResponseRow : EntityBase + { + + private System.Guid assetField; + + private System.Guid accountTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid AccountType + { + get + { + return this.accountTypeField; + } + set + { + this.accountTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AssetAccountTypeLimitation : EntityBase + { + + private System.Guid assetField; + + private System.Guid accountTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid AccountType + { + get + { + return this.accountTypeField; + } + set + { + this.accountTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Instrument : EntityBase + { + + private int instrumentTypeField; + + private string currencyCodeField; + + private string iSINField; + + private string nameField; + + private System.Nullable lastSubscriptionDateField; + + private System.Nullable expirationDateField; + + private double priceField; + + private int quantityDecimalsField; + + private bool displayPercentagePriceField; + + private int instrumentStatusField; + + private bool isUnitOrderField; + + private string taxCountryField; + + private string tradingCalendarField; + + private string settlementCalendarField; + + private System.Nullable valueMultiplierField; + + private System.Nullable displayMultiplierField; + + private string visibleStatusKeyField; + + private string externalReferenceField; + + private string commentField; + + private InstrumentCategorizationArray instrumentCategorizationField; + + private System.Nullable displayDecimalsPriceField; + + private string symbolField; + + private System.Guid defaultMarketPlaceField; + + private System.Guid issuerField; + + private System.Guid organizerField; + + private System.Nullable priceDateField; + + private string feeCategoryKeyField; + + private double buyCommissionPercentageField; + + private double sellCommissionPercentageField; + + private double earlySellFeePercentageField; + + private double productCompensationPercentageField; + + private System.Nullable firstTradeDateField; + + private System.Nullable lastTradeDateField; + + private string datasheetURLField; + + private int lockInPeriodDaysField; + + private bool isLimitedToAccountTypesField; + + private bool debtInstrumentField; + + private double previousClosePriceField; + + private System.Guid whiteLabelField; + + private bool hasMifidIIDataField; + + private string knowledgeGroupField; + + private string exPostCalcMethodField; + + private System.Nullable managementFeePercentageField; + + private System.Guid fundEntityField; + + private System.Guid fundCompanyField; + + private string feeGroupField; + + private bool enableMifidIITenPercentAlertField; + + private ExecutionInterface[] executionInterfacesField; + + private FundStockProportion[] fundStockProportionsField; + + private string defaultExecutionInterfaceField; + + private bool excludeFromFeeRelatedSellingField; + + private string fundClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int InstrumentType + { + get + { + return this.instrumentTypeField; + } + set + { + this.instrumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ISIN + { + get + { + return this.iSINField; + } + set + { + this.iSINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable LastSubscriptionDate + { + get + { + return this.lastSubscriptionDateField; + } + set + { + this.lastSubscriptionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string TradingCalendar + { + get + { + return this.tradingCalendarField; + } + set + { + this.tradingCalendarField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string SettlementCalendar + { + get + { + return this.settlementCalendarField; + } + set + { + this.settlementCalendarField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string VisibleStatusKey + { + get + { + return this.visibleStatusKeyField; + } + set + { + this.visibleStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public InstrumentCategorizationArray InstrumentCategorization + { + get + { + return this.instrumentCategorizationField; + } + set + { + this.instrumentCategorizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable DisplayDecimalsPrice + { + get + { + return this.displayDecimalsPriceField; + } + set + { + this.displayDecimalsPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string Symbol + { + get + { + return this.symbolField; + } + set + { + this.symbolField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public System.Guid DefaultMarketPlace + { + get + { + return this.defaultMarketPlaceField; + } + set + { + this.defaultMarketPlaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public System.Guid Issuer + { + get + { + return this.issuerField; + } + set + { + this.issuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.Guid Organizer + { + get + { + return this.organizerField; + } + set + { + this.organizerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public string FeeCategoryKey + { + get + { + return this.feeCategoryKeyField; + } + set + { + this.feeCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public double BuyCommissionPercentage + { + get + { + return this.buyCommissionPercentageField; + } + set + { + this.buyCommissionPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public double SellCommissionPercentage + { + get + { + return this.sellCommissionPercentageField; + } + set + { + this.sellCommissionPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public double EarlySellFeePercentage + { + get + { + return this.earlySellFeePercentageField; + } + set + { + this.earlySellFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public double ProductCompensationPercentage + { + get + { + return this.productCompensationPercentageField; + } + set + { + this.productCompensationPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=31)] + public System.Nullable FirstTradeDate + { + get + { + return this.firstTradeDateField; + } + set + { + this.firstTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=32)] + public System.Nullable LastTradeDate + { + get + { + return this.lastTradeDateField; + } + set + { + this.lastTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public string DatasheetURL + { + get + { + return this.datasheetURLField; + } + set + { + this.datasheetURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public int LockInPeriodDays + { + get + { + return this.lockInPeriodDaysField; + } + set + { + this.lockInPeriodDaysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool IsLimitedToAccountTypes + { + get + { + return this.isLimitedToAccountTypesField; + } + set + { + this.isLimitedToAccountTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool DebtInstrument + { + get + { + return this.debtInstrumentField; + } + set + { + this.debtInstrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public double PreviousClosePrice + { + get + { + return this.previousClosePriceField; + } + set + { + this.previousClosePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public System.Guid WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool HasMifidIIData + { + get + { + return this.hasMifidIIDataField; + } + set + { + this.hasMifidIIDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public string KnowledgeGroup + { + get + { + return this.knowledgeGroupField; + } + set + { + this.knowledgeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public string ExPostCalcMethod + { + get + { + return this.exPostCalcMethodField; + } + set + { + this.exPostCalcMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=42)] + public System.Nullable ManagementFeePercentage + { + get + { + return this.managementFeePercentageField; + } + set + { + this.managementFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public System.Guid FundEntity + { + get + { + return this.fundEntityField; + } + set + { + this.fundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public string FeeGroup + { + get + { + return this.feeGroupField; + } + set + { + this.feeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool EnableMifidIITenPercentAlert + { + get + { + return this.enableMifidIITenPercentAlertField; + } + set + { + this.enableMifidIITenPercentAlertField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=47)] + public ExecutionInterface[] ExecutionInterfaces + { + get + { + return this.executionInterfacesField; + } + set + { + this.executionInterfacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=48)] + public FundStockProportion[] FundStockProportions + { + get + { + return this.fundStockProportionsField; + } + set + { + this.fundStockProportionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public string DefaultExecutionInterface + { + get + { + return this.defaultExecutionInterfaceField; + } + set + { + this.defaultExecutionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=50)] + public bool ExcludeFromFeeRelatedSelling + { + get + { + return this.excludeFromFeeRelatedSellingField; + } + set + { + this.excludeFromFeeRelatedSellingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public string FundClass + { + get + { + return this.fundClassField; + } + set + { + this.fundClassField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualExecutionInterfaceOld))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MfexExecutionInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundExecutionInterface))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class ExecutionInterface : EntityBase + { + + private System.Guid defaultCustodyAccountField; + + private System.Guid counterPartyAccountField; + + private System.Guid counterPartyField; + + private bool buyAmountAllowedField; + + private bool buyUnitAllowedField; + + private bool sellAmountAllowedField; + + private bool sellUnitAllowedField; + + private bool isNominalValueOrderEntryField; + + private System.Nullable quantityDecimalsField; + + private double minimumLotSizeField; + + private bool enabledField; + + private bool isUnitOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid DefaultCustodyAccount + { + get + { + return this.defaultCustodyAccountField; + } + set + { + this.defaultCustodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid CounterPartyAccount + { + get + { + return this.counterPartyAccountField; + } + set + { + this.counterPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid CounterParty + { + get + { + return this.counterPartyField; + } + set + { + this.counterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BuyAmountAllowed + { + get + { + return this.buyAmountAllowedField; + } + set + { + this.buyAmountAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BuyUnitAllowed + { + get + { + return this.buyUnitAllowedField; + } + set + { + this.buyUnitAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool SellAmountAllowed + { + get + { + return this.sellAmountAllowedField; + } + set + { + this.sellAmountAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SellUnitAllowed + { + get + { + return this.sellUnitAllowedField; + } + set + { + this.sellUnitAllowedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsNominalValueOrderEntry + { + get + { + return this.isNominalValueOrderEntryField; + } + set + { + this.isNominalValueOrderEntryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public double MinimumLotSize + { + get + { + return this.minimumLotSizeField; + } + set + { + this.minimumLotSizeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ManualExecutionInterfaceOld : ExecutionInterface + { + + private System.Guid instrumentField; + + private bool defaultExecutionInterfaceField; + + private System.Guid custodyAccountField; + + private string feeCategoryField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool DefaultExecutionInterface + { + get + { + return this.defaultExecutionInterfaceField; + } + set + { + this.defaultExecutionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid CustodyAccount + { + get + { + return this.custodyAccountField; + } + set + { + this.custodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string FeeCategory + { + get + { + return this.feeCategoryField; + } + set + { + this.feeCategoryField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ManualExecutionInterface : ExecutionInterface + { + + private string feeCategoryField; + + private System.Guid defaultCustodyAccountCashField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FeeCategory + { + get + { + return this.feeCategoryField; + } + set + { + this.feeCategoryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid DefaultCustodyAccountCash + { + get + { + return this.defaultCustodyAccountCashField; + } + set + { + this.defaultCustodyAccountCashField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalExecutionInterface : ExecutionInterface + { + + private string orderExecutionInterfaceKeyField; + + private System.Guid nettingAccountField; + + private System.Nullable tRSResultingOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrderExecutionInterfaceKey + { + get + { + return this.orderExecutionInterfaceKeyField; + } + set + { + this.orderExecutionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid NettingAccount + { + get + { + return this.nettingAccountField; + } + set + { + this.nettingAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable TRSResultingOrder + { + get + { + return this.tRSResultingOrderField; + } + set + { + this.tRSResultingOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class MfexExecutionInterface : ExecutionInterface + { + + private bool prePaidWorkflowField; + + private decimal minimumSubscriptionCashAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool PrePaidWorkflow + { + get + { + return this.prePaidWorkflowField; + } + set + { + this.prePaidWorkflowField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal MinimumSubscriptionCashAmount + { + get + { + return this.minimumSubscriptionCashAmountField; + } + set + { + this.minimumSubscriptionCashAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalFundExecutionInterface : ExecutionInterface + { + + private TradeRoute tradeRouteField; + + private System.Nullable exceptionAccountField; + + private System.Nullable firstTradeDateField; + + private System.Nullable lastTradeDateField; + + private bool prePaidWorkflowField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TradeRoute TradeRoute + { + get + { + return this.tradeRouteField; + } + set + { + this.tradeRouteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable ExceptionAccount + { + get + { + return this.exceptionAccountField; + } + set + { + this.exceptionAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable FirstTradeDate + { + get + { + return this.firstTradeDateField; + } + set + { + this.firstTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable LastTradeDate + { + get + { + return this.lastTradeDateField; + } + set + { + this.lastTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool PrePaidWorkflow + { + get + { + return this.prePaidWorkflowField; + } + set + { + this.prePaidWorkflowField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsResponseRow : EntityBase + { + + private int instrumentTypeField; + + private string currencyCodeField; + + private string iSINField; + + private string nameField; + + private System.DateTime lastSubscriptionDateField; + + private System.DateTime expirationDateField; + + private double priceField; + + private int quantityDecimalsField; + + private decimal minAmountField; + + private decimal maxAmountField; + + private string externalReferenceField; + + private string commentField; + + private bool displayPercentagePriceField; + + private double displayMultiplierField; + + private int instrumentStatusField; + + private bool debtInstrumentField; + + private double previousClosePriceField; + + private InstrumentCategorizationArray instrumentCategorizationField; + + private System.Guid defaultMarketPlaceField; + + private string mICField; + + private string symbolField; + + private int displayDecimalsPriceField; + + private double valueMultiplierField; + + private string visibleStatusKeyField; + + private System.Guid issuerField; + + private string defaultExecutionInterfaceKeyField; + + private System.Guid organizerField; + + private System.DateTime priceDateField; + + private string feeCategoryKeyField; + + private double buyCommissionPercentageField; + + private double sellCommissionPercentageField; + + private double earlySellFeePercentageField; + + private double productCompensationPercentageField; + + private System.DateTime firstTradeDateField; + + private System.DateTime lastTradeDateField; + + private string datasheetURLField; + + private int lockInPeriodDaysField; + + private bool isLimitedToAccountTypesField; + + private bool isUnitOrderField; + + private string taxCountryField; + + private System.Guid whiteLabelField; + + private bool hasMifidIIDataField; + + private string knowledgeGroupField; + + private string exPostCalcMethodField; + + private decimal managementFeePercentageField; + + private System.Guid fundEntityField; + + private System.Guid fundCompanyField; + + private string feeGroupField; + + private bool enableMifidIITenPercentAlertField; + + private ExecutionInterface[] executionInterfacesField; + + private System.Nullable lastUpdatedDateField; + + private bool excludeFromFeeRelatedSellingField; + + private string fundClassField; + + private GetFundStockProportion[] fundStockProportionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int InstrumentType + { + get + { + return this.instrumentTypeField; + } + set + { + this.instrumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ISIN + { + get + { + return this.iSINField; + } + set + { + this.iSINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime LastSubscriptionDate + { + get + { + return this.lastSubscriptionDateField; + } + set + { + this.lastSubscriptionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public decimal MinAmount + { + get + { + return this.minAmountField; + } + set + { + this.minAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public decimal MaxAmount + { + get + { + return this.maxAmountField; + } + set + { + this.maxAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public double DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public int InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool DebtInstrument + { + get + { + return this.debtInstrumentField; + } + set + { + this.debtInstrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public double PreviousClosePrice + { + get + { + return this.previousClosePriceField; + } + set + { + this.previousClosePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public InstrumentCategorizationArray InstrumentCategorization + { + get + { + return this.instrumentCategorizationField; + } + set + { + this.instrumentCategorizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public System.Guid DefaultMarketPlace + { + get + { + return this.defaultMarketPlaceField; + } + set + { + this.defaultMarketPlaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string MIC + { + get + { + return this.mICField; + } + set + { + this.mICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string Symbol + { + get + { + return this.symbolField; + } + set + { + this.symbolField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public int DisplayDecimalsPrice + { + get + { + return this.displayDecimalsPriceField; + } + set + { + this.displayDecimalsPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public double ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string VisibleStatusKey + { + get + { + return this.visibleStatusKeyField; + } + set + { + this.visibleStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.Guid Issuer + { + get + { + return this.issuerField; + } + set + { + this.issuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string DefaultExecutionInterfaceKey + { + get + { + return this.defaultExecutionInterfaceKeyField; + } + set + { + this.defaultExecutionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public System.Guid Organizer + { + get + { + return this.organizerField; + } + set + { + this.organizerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public System.DateTime PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public string FeeCategoryKey + { + get + { + return this.feeCategoryKeyField; + } + set + { + this.feeCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public double BuyCommissionPercentage + { + get + { + return this.buyCommissionPercentageField; + } + set + { + this.buyCommissionPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public double SellCommissionPercentage + { + get + { + return this.sellCommissionPercentageField; + } + set + { + this.sellCommissionPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public double EarlySellFeePercentage + { + get + { + return this.earlySellFeePercentageField; + } + set + { + this.earlySellFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public double ProductCompensationPercentage + { + get + { + return this.productCompensationPercentageField; + } + set + { + this.productCompensationPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public System.DateTime FirstTradeDate + { + get + { + return this.firstTradeDateField; + } + set + { + this.firstTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public System.DateTime LastTradeDate + { + get + { + return this.lastTradeDateField; + } + set + { + this.lastTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string DatasheetURL + { + get + { + return this.datasheetURLField; + } + set + { + this.datasheetURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public int LockInPeriodDays + { + get + { + return this.lockInPeriodDaysField; + } + set + { + this.lockInPeriodDaysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool IsLimitedToAccountTypes + { + get + { + return this.isLimitedToAccountTypesField; + } + set + { + this.isLimitedToAccountTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public System.Guid WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool HasMifidIIData + { + get + { + return this.hasMifidIIDataField; + } + set + { + this.hasMifidIIDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public string KnowledgeGroup + { + get + { + return this.knowledgeGroupField; + } + set + { + this.knowledgeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public string ExPostCalcMethod + { + get + { + return this.exPostCalcMethodField; + } + set + { + this.exPostCalcMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public decimal ManagementFeePercentage + { + get + { + return this.managementFeePercentageField; + } + set + { + this.managementFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public System.Guid FundEntity + { + get + { + return this.fundEntityField; + } + set + { + this.fundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public string FeeGroup + { + get + { + return this.feeGroupField; + } + set + { + this.feeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public bool EnableMifidIITenPercentAlert + { + get + { + return this.enableMifidIITenPercentAlertField; + } + set + { + this.enableMifidIITenPercentAlertField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=49)] + public ExecutionInterface[] ExecutionInterfaces + { + get + { + return this.executionInterfacesField; + } + set + { + this.executionInterfacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=50)] + public System.Nullable LastUpdatedDate + { + get + { + return this.lastUpdatedDateField; + } + set + { + this.lastUpdatedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public bool ExcludeFromFeeRelatedSelling + { + get + { + return this.excludeFromFeeRelatedSellingField; + } + set + { + this.excludeFromFeeRelatedSellingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public string FundClass + { + get + { + return this.fundClassField; + } + set + { + this.fundClassField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=53)] + public GetFundStockProportion[] FundStockProportions + { + get + { + return this.fundStockProportionsField; + } + set + { + this.fundStockProportionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InactivatePerson : EntityBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdatePerson : EntityBase + { + + private bool isApprovedField; + + private string firstNameField; + + private string lastNameField; + + private string middleNamesField; + + private System.DateTime birthDateField; + + private string addressCityField; + + private string addressStreetField; + + private string addressZipField; + + private string addressCOField; + + private string departmentField; + + private string countryField; + + private string taxCountryField; + + private string postageAddressStreetField; + + private string postageAddressCityField; + + private string postageAddressZipField; + + private string postageAddressCOField; + + private string postageAddressDepartmentField; + + private string postageAddressCountryField; + + private bool isNaturalPersonField; + + private string userNameField; + + private string emailField; + + private string phoneHomeField; + + private string phoneMobileField; + + private string phoneWorkField; + + private string commentField; + + private string passportNumberField; + + private bool isFundEntityField; + + private bool isFundCompanyField; + + private bool isIssuerField; + + private bool isVerifiedField; + + private bool isApprovedForStructsField; + + private bool isTaxPayerField; + + private string sectorNACEField; + + private string groupCodeField; + + private string externalRatingField; + + private string ratingAgencyField; + + private string externalReferenceField; + + private int[] instrumentTypesField; + + private string lEIField; + + private string tRSIdField; + + private string tRSCountryField; + + private string tRSIdTypeField; + + private bool tRSManualHandlingField; + + private bool isProfessionalField; + + private bool mifidOkField; + + private bool isPEPField; + + private string branchCountryField; + + private System.Guid defaultCompanyField; + + private string resellerNoField; + + private string personalNumberField; + + private System.Guid whiteLabelField; + + private bool hasCustomerProtectionDataField; + + private System.Guid customerCashAccountField; + + private bool isCounterPartyField; + + private System.Guid fundCompanyField; + + private System.DateTime kycDateField; + + private string gIINField; + + private System.Guid resellerAccountField; + + private decimal riskValueField; + + private string legalJurisdictionField; + + private System.Guid parentCompanyField; + + private bool isCustodianField; + + private TIN[] tINsField; + + private bool isTerminatedField; + + private bool forcePasswordResetField; + + private double taxRateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FirstName + { + get + { + return this.firstNameField; + } + set + { + this.firstNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string LastName + { + get + { + return this.lastNameField; + } + set + { + this.lastNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string MiddleNames + { + get + { + return this.middleNamesField; + } + set + { + this.middleNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime BirthDate + { + get + { + return this.birthDateField; + } + set + { + this.birthDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string AddressCity + { + get + { + return this.addressCityField; + } + set + { + this.addressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string AddressStreet + { + get + { + return this.addressStreetField; + } + set + { + this.addressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string AddressZip + { + get + { + return this.addressZipField; + } + set + { + this.addressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string AddressCO + { + get + { + return this.addressCOField; + } + set + { + this.addressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Department + { + get + { + return this.departmentField; + } + set + { + this.departmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string PostageAddressStreet + { + get + { + return this.postageAddressStreetField; + } + set + { + this.postageAddressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string PostageAddressCity + { + get + { + return this.postageAddressCityField; + } + set + { + this.postageAddressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string PostageAddressZip + { + get + { + return this.postageAddressZipField; + } + set + { + this.postageAddressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string PostageAddressCO + { + get + { + return this.postageAddressCOField; + } + set + { + this.postageAddressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string PostageAddressDepartment + { + get + { + return this.postageAddressDepartmentField; + } + set + { + this.postageAddressDepartmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string PostageAddressCountry + { + get + { + return this.postageAddressCountryField; + } + set + { + this.postageAddressCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool IsNaturalPerson + { + get + { + return this.isNaturalPersonField; + } + set + { + this.isNaturalPersonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string PhoneHome + { + get + { + return this.phoneHomeField; + } + set + { + this.phoneHomeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string PhoneMobile + { + get + { + return this.phoneMobileField; + } + set + { + this.phoneMobileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string PhoneWork + { + get + { + return this.phoneWorkField; + } + set + { + this.phoneWorkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string PassportNumber + { + get + { + return this.passportNumberField; + } + set + { + this.passportNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool IsFundEntity + { + get + { + return this.isFundEntityField; + } + set + { + this.isFundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool IsFundCompany + { + get + { + return this.isFundCompanyField; + } + set + { + this.isFundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool IsIssuer + { + get + { + return this.isIssuerField; + } + set + { + this.isIssuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool IsApprovedForStructs + { + get + { + return this.isApprovedForStructsField; + } + set + { + this.isApprovedForStructsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool IsTaxPayer + { + get + { + return this.isTaxPayerField; + } + set + { + this.isTaxPayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public string SectorNACE + { + get + { + return this.sectorNACEField; + } + set + { + this.sectorNACEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public string GroupCode + { + get + { + return this.groupCodeField; + } + set + { + this.groupCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string ExternalRating + { + get + { + return this.externalRatingField; + } + set + { + this.externalRatingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string RatingAgency + { + get + { + return this.ratingAgencyField; + } + set + { + this.ratingAgencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=37)] + public int[] InstrumentTypes + { + get + { + return this.instrumentTypesField; + } + set + { + this.instrumentTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public string LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public string TRSId + { + get + { + return this.tRSIdField; + } + set + { + this.tRSIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public string TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public string TRSIdType + { + get + { + return this.tRSIdTypeField; + } + set + { + this.tRSIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool TRSManualHandling + { + get + { + return this.tRSManualHandlingField; + } + set + { + this.tRSManualHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool IsProfessional + { + get + { + return this.isProfessionalField; + } + set + { + this.isProfessionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool MifidOk + { + get + { + return this.mifidOkField; + } + set + { + this.mifidOkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool IsPEP + { + get + { + return this.isPEPField; + } + set + { + this.isPEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public string BranchCountry + { + get + { + return this.branchCountryField; + } + set + { + this.branchCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public System.Guid DefaultCompany + { + get + { + return this.defaultCompanyField; + } + set + { + this.defaultCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public string PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=50)] + public System.Guid WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public bool HasCustomerProtectionData + { + get + { + return this.hasCustomerProtectionDataField; + } + set + { + this.hasCustomerProtectionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public System.Guid CustomerCashAccount + { + get + { + return this.customerCashAccountField; + } + set + { + this.customerCashAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=53)] + public bool IsCounterParty + { + get + { + return this.isCounterPartyField; + } + set + { + this.isCounterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=54)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=55)] + public System.DateTime KycDate + { + get + { + return this.kycDateField; + } + set + { + this.kycDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=56)] + public string GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=57)] + public System.Guid ResellerAccount + { + get + { + return this.resellerAccountField; + } + set + { + this.resellerAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=58)] + public decimal RiskValue + { + get + { + return this.riskValueField; + } + set + { + this.riskValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=59)] + public string LegalJurisdiction + { + get + { + return this.legalJurisdictionField; + } + set + { + this.legalJurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=60)] + public System.Guid ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=61)] + public bool IsCustodian + { + get + { + return this.isCustodianField; + } + set + { + this.isCustodianField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=62)] + public TIN[] TINs + { + get + { + return this.tINsField; + } + set + { + this.tINsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=63)] + public bool IsTerminated + { + get + { + return this.isTerminatedField; + } + set + { + this.isTerminatedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=64)] + public bool ForcePasswordReset + { + get + { + return this.forcePasswordResetField; + } + set + { + this.forcePasswordResetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=65)] + public double TaxRate + { + get + { + return this.taxRateField; + } + set + { + this.taxRateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TIN : EntityBase + { + + private string tinNumberField; + + private string tinCountryCodeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TinNumber + { + get + { + return this.tinNumberField; + } + set + { + this.tinNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TinCountryCode + { + get + { + return this.tinCountryCodeField; + } + set + { + this.tinCountryCodeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Person : EntityBase + { + + private string firstNameField; + + private string lastNameField; + + private string middleNamesField; + + private string userNameField; + + private string passwordField; + + private string emailField; + + private string personalNumberField; + + private System.Nullable birthDateField; + + private string resellerNoField; + + private bool isApprovedField; + + private string addressCityField; + + private string addressStreetField; + + private string addressZipField; + + private string addressCOField; + + private string departmentField; + + private string postageAddressStreetField; + + private string postageAddressCityField; + + private string postageAddressZipField; + + private string postageAddressCOField; + + private string postageAddressDepartmentField; + + private string bICField; + + private string commentField; + + private string externalReferenceField; + + private string passportNumberField; + + private string phoneHomeField; + + private string phoneMobileField; + + private string phoneWorkField; + + private bool isTaxPayerField; + + private bool isInsuranceCompanyField; + + private bool isInsuranceProductSupplierField; + + private bool isApprovedForStructsField; + + private bool isVerifiedField; + + private bool isFundEntityField; + + private bool isFundCompanyField; + + private bool isIssuerField; + + private string sectorNACEField; + + private string groupCodeField; + + private string externalRatingField; + + private string ratingAgencyField; + + private int[] instrumentTypesField; + + private string lEIField; + + private string tRSIdField; + + private string tRSCountryField; + + private string tRSIdTypeField; + + private bool tRSManualHandlingField; + + private bool isProfessionalField; + + private bool mifidOkField; + + private bool isPEPField; + + private string branchCountryField; + + private System.Guid defaultCompanyField; + + private System.Nullable isNaturalPersonField; + + private string countryField; + + private string postageAddressCountryField; + + private string taxCountryField; + + private Domain domainField; + + private string customerNoField; + + private System.Guid whiteLabelField; + + private bool hasCustomerProtectionDataField; + + private System.Guid customerCashAccountField; + + private bool isCounterPartyField; + + private System.Guid fundCompanyField; + + private System.DateTime kycDateField; + + private string gIINField; + + private bool sendWelcomeMailField; + + private System.Guid resellerAccountField; + + private decimal riskValueField; + + private string legalJurisdictionField; + + private System.Guid parentCompanyField; + + private bool isCustodianField; + + private TIN[] tINsField; + + private bool forcePasswordResetField; + + private System.Nullable taxRateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FirstName + { + get + { + return this.firstNameField; + } + set + { + this.firstNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string LastName + { + get + { + return this.lastNameField; + } + set + { + this.lastNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MiddleNames + { + get + { + return this.middleNamesField; + } + set + { + this.middleNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable BirthDate + { + get + { + return this.birthDateField; + } + set + { + this.birthDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string AddressCity + { + get + { + return this.addressCityField; + } + set + { + this.addressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string AddressStreet + { + get + { + return this.addressStreetField; + } + set + { + this.addressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string AddressZip + { + get + { + return this.addressZipField; + } + set + { + this.addressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string AddressCO + { + get + { + return this.addressCOField; + } + set + { + this.addressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string Department + { + get + { + return this.departmentField; + } + set + { + this.departmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string PostageAddressStreet + { + get + { + return this.postageAddressStreetField; + } + set + { + this.postageAddressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string PostageAddressCity + { + get + { + return this.postageAddressCityField; + } + set + { + this.postageAddressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string PostageAddressZip + { + get + { + return this.postageAddressZipField; + } + set + { + this.postageAddressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string PostageAddressCO + { + get + { + return this.postageAddressCOField; + } + set + { + this.postageAddressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string PostageAddressDepartment + { + get + { + return this.postageAddressDepartmentField; + } + set + { + this.postageAddressDepartmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string PassportNumber + { + get + { + return this.passportNumberField; + } + set + { + this.passportNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public string PhoneHome + { + get + { + return this.phoneHomeField; + } + set + { + this.phoneHomeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string PhoneMobile + { + get + { + return this.phoneMobileField; + } + set + { + this.phoneMobileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public string PhoneWork + { + get + { + return this.phoneWorkField; + } + set + { + this.phoneWorkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool IsTaxPayer + { + get + { + return this.isTaxPayerField; + } + set + { + this.isTaxPayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool IsInsuranceCompany + { + get + { + return this.isInsuranceCompanyField; + } + set + { + this.isInsuranceCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool IsInsuranceProductSupplier + { + get + { + return this.isInsuranceProductSupplierField; + } + set + { + this.isInsuranceProductSupplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool IsApprovedForStructs + { + get + { + return this.isApprovedForStructsField; + } + set + { + this.isApprovedForStructsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool IsFundEntity + { + get + { + return this.isFundEntityField; + } + set + { + this.isFundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool IsFundCompany + { + get + { + return this.isFundCompanyField; + } + set + { + this.isFundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool IsIssuer + { + get + { + return this.isIssuerField; + } + set + { + this.isIssuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string SectorNACE + { + get + { + return this.sectorNACEField; + } + set + { + this.sectorNACEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string GroupCode + { + get + { + return this.groupCodeField; + } + set + { + this.groupCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public string ExternalRating + { + get + { + return this.externalRatingField; + } + set + { + this.externalRatingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public string RatingAgency + { + get + { + return this.ratingAgencyField; + } + set + { + this.ratingAgencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=39)] + public int[] InstrumentTypes + { + get + { + return this.instrumentTypesField; + } + set + { + this.instrumentTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public string LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public string TRSId + { + get + { + return this.tRSIdField; + } + set + { + this.tRSIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public string TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public string TRSIdType + { + get + { + return this.tRSIdTypeField; + } + set + { + this.tRSIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool TRSManualHandling + { + get + { + return this.tRSManualHandlingField; + } + set + { + this.tRSManualHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool IsProfessional + { + get + { + return this.isProfessionalField; + } + set + { + this.isProfessionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool MifidOk + { + get + { + return this.mifidOkField; + } + set + { + this.mifidOkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public bool IsPEP + { + get + { + return this.isPEPField; + } + set + { + this.isPEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public string BranchCountry + { + get + { + return this.branchCountryField; + } + set + { + this.branchCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public System.Guid DefaultCompany + { + get + { + return this.defaultCompanyField; + } + set + { + this.defaultCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=50)] + public System.Nullable IsNaturalPerson + { + get + { + return this.isNaturalPersonField; + } + set + { + this.isNaturalPersonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public string PostageAddressCountry + { + get + { + return this.postageAddressCountryField; + } + set + { + this.postageAddressCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=53)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=54)] + public Domain Domain + { + get + { + return this.domainField; + } + set + { + this.domainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=55)] + public string CustomerNo + { + get + { + return this.customerNoField; + } + set + { + this.customerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=56)] + public System.Guid WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=57)] + public bool HasCustomerProtectionData + { + get + { + return this.hasCustomerProtectionDataField; + } + set + { + this.hasCustomerProtectionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=58)] + public System.Guid CustomerCashAccount + { + get + { + return this.customerCashAccountField; + } + set + { + this.customerCashAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=59)] + public bool IsCounterParty + { + get + { + return this.isCounterPartyField; + } + set + { + this.isCounterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=60)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=61)] + public System.DateTime KycDate + { + get + { + return this.kycDateField; + } + set + { + this.kycDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=62)] + public string GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=63)] + public bool SendWelcomeMail + { + get + { + return this.sendWelcomeMailField; + } + set + { + this.sendWelcomeMailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=64)] + public System.Guid ResellerAccount + { + get + { + return this.resellerAccountField; + } + set + { + this.resellerAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=65)] + public decimal RiskValue + { + get + { + return this.riskValueField; + } + set + { + this.riskValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=66)] + public string LegalJurisdiction + { + get + { + return this.legalJurisdictionField; + } + set + { + this.legalJurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=67)] + public System.Guid ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=68)] + public bool IsCustodian + { + get + { + return this.isCustodianField; + } + set + { + this.isCustodianField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=69)] + public TIN[] TINs + { + get + { + return this.tINsField; + } + set + { + this.tINsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=70)] + public bool ForcePasswordReset + { + get + { + return this.forcePasswordResetField; + } + set + { + this.forcePasswordResetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=71)] + public System.Nullable TaxRate + { + get + { + return this.taxRateField; + } + set + { + this.taxRateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum Domain + { + + /// + Admin, + + /// + Partner, + + /// + Front, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundEntity : EntityBase + { + + private bool activeField; + + private string companyNumberField; + + private string fundNameField; + + private string emailField; + + private string streetAddressField; + + private string postalCodeField; + + private string cityField; + + private string feeAccountField; + + private string countryField; + + private string taxCountryField; + + private string jurisdictionField; + + private string externalReferenceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Active + { + get + { + return this.activeField; + } + set + { + this.activeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FundName + { + get + { + return this.fundNameField; + } + set + { + this.fundNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string FeeAccount + { + get + { + return this.feeAccountField; + } + set + { + this.feeAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundEntity : EntityBase + { + + private string companyNumberField; + + private string fundNameField; + + private System.Guid fundCompanyField; + + private string userNameField; + + private string passwordField; + + private string emailField; + + private bool isApprovedField; + + private string streetAddressField; + + private string postalCodeField; + + private string cityField; + + private string externalReferenceField; + + private bool isVerifiedField; + + private string countryField; + + private string taxCountryField; + + private string jurisdictionField; + + private Domain domainField; + + private string customerNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FundName + { + get + { + return this.fundNameField; + } + set + { + this.fundNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public Domain Domain + { + get + { + return this.domainField; + } + set + { + this.domainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string CustomerNo + { + get + { + return this.customerNoField; + } + set + { + this.customerNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundCompany : EntityBase + { + + private bool activeField; + + private string companyNumberField; + + private string fundCompanyNameField; + + private string emailField; + + private string streetAddressField; + + private string postalCodeField; + + private string cityField; + + private string countryField; + + private string taxCountryField; + + private string jurisdictionField; + + private string externalReferenceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Active + { + get + { + return this.activeField; + } + set + { + this.activeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FundCompanyName + { + get + { + return this.fundCompanyNameField; + } + set + { + this.fundCompanyNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundCompany : EntityBase + { + + private string fundCompanyNameField; + + private string userNameField; + + private string passwordField; + + private string emailField; + + private string companyNumberField; + + private bool isApprovedField; + + private string streetAddressField; + + private string postalCodeField; + + private string cityField; + + private string externalReferenceField; + + private bool isVerifiedField; + + private string countryField; + + private string taxCountryField; + + private string jurisdictionField; + + private Domain domainField; + + private string customerNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FundCompanyName + { + get + { + return this.fundCompanyNameField; + } + set + { + this.fundCompanyNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public Domain Domain + { + get + { + return this.domainField; + } + set + { + this.domainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string CustomerNo + { + get + { + return this.customerNoField; + } + set + { + this.customerNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundEntityResponseRow : EntityBase + { + + private string customerNoField; + + private string companyNumberField; + + private string fundNameField; + + private System.Guid fundCompanyIdField; + + private string userNameField; + + private string emailField; + + private string streetAddressField; + + private string postalCodeField; + + private string cityField; + + private System.Guid parentCompanyField; + + private string countryField; + + private string jurisdictionField; + + private string taxCountryField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string CustomerNo + { + get + { + return this.customerNoField; + } + set + { + this.customerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FundName + { + get + { + return this.fundNameField; + } + set + { + this.fundNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid FundCompanyId + { + get + { + return this.fundCompanyIdField; + } + set + { + this.fundCompanyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesResponseRow))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPersonResponseRow : EntityBase + { + + private string firstNameField; + + private string lastNameField; + + private string middleNamesField; + + private string userNameField; + + private string emailField; + + private string personalNumberField; + + private System.Nullable birthDateField; + + private string resellerNoField; + + private System.Guid resellerIdField; + + private bool isApprovedField; + + private System.DateTime lastLoginDateField; + + private string addressCityField; + + private string addressStreetField; + + private string addressZipField; + + private string addressCOField; + + private string departmentField; + + private string postageAddressStreetField; + + private string postageAddressCityField; + + private string postageAddressZipField; + + private string postageAddressCOField; + + private string postageAddressDepartmentField; + + private string bICField; + + private string commentField; + + private string externalReferenceField; + + private string passportNumberField; + + private string phoneHomeField; + + private string phoneMobileField; + + private string phoneWorkField; + + private bool isTaxPayerField; + + private bool isInsuranceCompanyField; + + private bool isInsuranceProductSupplierField; + + private bool isApprovedForStructsField; + + private bool isVerifiedField; + + private bool isFundEntityField; + + private bool isFundCompanyField; + + private bool isIssuerField; + + private string sectorNACEField; + + private string groupCodeField; + + private string externalRatingField; + + private string ratingAgencyField; + + private string instrumentTypesStringField; + + private string lEIField; + + private string tRSIdField; + + private string tRSCountryField; + + private string tRSIdTypeField; + + private bool tRSManualHandlingField; + + private bool isProfessionalField; + + private bool mifidOkField; + + private bool isPEPField; + + private string branchCountryField; + + private System.Guid defaultCompanyField; + + private bool isNaturalPersonField; + + private bool isCustodianField; + + private string countryField; + + private string postageAddressCountryField; + + private string taxCountryField; + + private string customerNoField; + + private string userDomainField; + + private int accessLevelField; + + private string addressAttentionField; + + private System.Guid whiteLabelField; + + private bool hasCustomerProtectionDataField; + + private System.Guid customerCashAccountField; + + private bool isCounterPartyField; + + private System.Guid fundCompanyField; + + private bool isTerminatedField; + + private System.DateTime kycDateField; + + private string gIINField; + + private System.Guid resellerAccountField; + + private decimal riskValueField; + + private string legalJurisdictionField; + + private System.Guid parentCompanyField; + + private System.Nullable lastUpdatedDateField; + + private TIN[] tINsField; + + private bool forcePasswordResetField; + + private double taxRateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FirstName + { + get + { + return this.firstNameField; + } + set + { + this.firstNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string LastName + { + get + { + return this.lastNameField; + } + set + { + this.lastNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string MiddleNames + { + get + { + return this.middleNamesField; + } + set + { + this.middleNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable BirthDate + { + get + { + return this.birthDateField; + } + set + { + this.birthDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime LastLoginDate + { + get + { + return this.lastLoginDateField; + } + set + { + this.lastLoginDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string AddressCity + { + get + { + return this.addressCityField; + } + set + { + this.addressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string AddressStreet + { + get + { + return this.addressStreetField; + } + set + { + this.addressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string AddressZip + { + get + { + return this.addressZipField; + } + set + { + this.addressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string AddressCO + { + get + { + return this.addressCOField; + } + set + { + this.addressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string Department + { + get + { + return this.departmentField; + } + set + { + this.departmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string PostageAddressStreet + { + get + { + return this.postageAddressStreetField; + } + set + { + this.postageAddressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string PostageAddressCity + { + get + { + return this.postageAddressCityField; + } + set + { + this.postageAddressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string PostageAddressZip + { + get + { + return this.postageAddressZipField; + } + set + { + this.postageAddressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string PostageAddressCO + { + get + { + return this.postageAddressCOField; + } + set + { + this.postageAddressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string PostageAddressDepartment + { + get + { + return this.postageAddressDepartmentField; + } + set + { + this.postageAddressDepartmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public string PassportNumber + { + get + { + return this.passportNumberField; + } + set + { + this.passportNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public string PhoneHome + { + get + { + return this.phoneHomeField; + } + set + { + this.phoneHomeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public string PhoneMobile + { + get + { + return this.phoneMobileField; + } + set + { + this.phoneMobileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public string PhoneWork + { + get + { + return this.phoneWorkField; + } + set + { + this.phoneWorkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool IsTaxPayer + { + get + { + return this.isTaxPayerField; + } + set + { + this.isTaxPayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool IsInsuranceCompany + { + get + { + return this.isInsuranceCompanyField; + } + set + { + this.isInsuranceCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool IsInsuranceProductSupplier + { + get + { + return this.isInsuranceProductSupplierField; + } + set + { + this.isInsuranceProductSupplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool IsApprovedForStructs + { + get + { + return this.isApprovedForStructsField; + } + set + { + this.isApprovedForStructsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool IsFundEntity + { + get + { + return this.isFundEntityField; + } + set + { + this.isFundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool IsFundCompany + { + get + { + return this.isFundCompanyField; + } + set + { + this.isFundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool IsIssuer + { + get + { + return this.isIssuerField; + } + set + { + this.isIssuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string SectorNACE + { + get + { + return this.sectorNACEField; + } + set + { + this.sectorNACEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public string GroupCode + { + get + { + return this.groupCodeField; + } + set + { + this.groupCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public string ExternalRating + { + get + { + return this.externalRatingField; + } + set + { + this.externalRatingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public string RatingAgency + { + get + { + return this.ratingAgencyField; + } + set + { + this.ratingAgencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public string InstrumentTypesString + { + get + { + return this.instrumentTypesStringField; + } + set + { + this.instrumentTypesStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public string LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public string TRSId + { + get + { + return this.tRSIdField; + } + set + { + this.tRSIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public string TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public string TRSIdType + { + get + { + return this.tRSIdTypeField; + } + set + { + this.tRSIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool TRSManualHandling + { + get + { + return this.tRSManualHandlingField; + } + set + { + this.tRSManualHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool IsProfessional + { + get + { + return this.isProfessionalField; + } + set + { + this.isProfessionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public bool MifidOk + { + get + { + return this.mifidOkField; + } + set + { + this.mifidOkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public bool IsPEP + { + get + { + return this.isPEPField; + } + set + { + this.isPEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public string BranchCountry + { + get + { + return this.branchCountryField; + } + set + { + this.branchCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=50)] + public System.Guid DefaultCompany + { + get + { + return this.defaultCompanyField; + } + set + { + this.defaultCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public bool IsNaturalPerson + { + get + { + return this.isNaturalPersonField; + } + set + { + this.isNaturalPersonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public bool IsCustodian + { + get + { + return this.isCustodianField; + } + set + { + this.isCustodianField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=53)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=54)] + public string PostageAddressCountry + { + get + { + return this.postageAddressCountryField; + } + set + { + this.postageAddressCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=55)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=56)] + public string CustomerNo + { + get + { + return this.customerNoField; + } + set + { + this.customerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=57)] + public string UserDomain + { + get + { + return this.userDomainField; + } + set + { + this.userDomainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=58)] + public int AccessLevel + { + get + { + return this.accessLevelField; + } + set + { + this.accessLevelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=59)] + public string AddressAttention + { + get + { + return this.addressAttentionField; + } + set + { + this.addressAttentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=60)] + public System.Guid WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=61)] + public bool HasCustomerProtectionData + { + get + { + return this.hasCustomerProtectionDataField; + } + set + { + this.hasCustomerProtectionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=62)] + public System.Guid CustomerCashAccount + { + get + { + return this.customerCashAccountField; + } + set + { + this.customerCashAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=63)] + public bool IsCounterParty + { + get + { + return this.isCounterPartyField; + } + set + { + this.isCounterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=64)] + public System.Guid FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=65)] + public bool IsTerminated + { + get + { + return this.isTerminatedField; + } + set + { + this.isTerminatedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=66)] + public System.DateTime KycDate + { + get + { + return this.kycDateField; + } + set + { + this.kycDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=67)] + public string GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=68)] + public System.Guid ResellerAccount + { + get + { + return this.resellerAccountField; + } + set + { + this.resellerAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=69)] + public decimal RiskValue + { + get + { + return this.riskValueField; + } + set + { + this.riskValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=70)] + public string LegalJurisdiction + { + get + { + return this.legalJurisdictionField; + } + set + { + this.legalJurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=71)] + public System.Guid ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=72)] + public System.Nullable LastUpdatedDate + { + get + { + return this.lastUpdatedDateField; + } + set + { + this.lastUpdatedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=73)] + public TIN[] TINs + { + get + { + return this.tINsField; + } + set + { + this.tINsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=74)] + public bool ForcePasswordReset + { + get + { + return this.forcePasswordResetField; + } + set + { + this.forcePasswordResetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=75)] + public double TaxRate + { + get + { + return this.taxRateField; + } + set + { + this.taxRateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundCompaniesResponseRow : GetPersonResponseRow + { + + private string fundCompanyNameField; + + private string companyNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string FundCompanyName + { + get + { + return this.fundCompanyNameField; + } + set + { + this.fundCompanyNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaxWithholdingAgreement : EntityBase + { + + private System.Nullable personField; + + private string taxCountryField; + + private System.Nullable expirationDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TaxWithholdingAgreement : EntityBase + { + + private System.Guid personField; + + private string taxCountryField; + + private System.Nullable expirationDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTaxWithholdingAgreementResponseRow : EntityBase + { + + private System.Guid personField; + + private System.DateTime expirationDateField; + + private string taxCountryField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHouseInformationResponseRow : EntityBase + { + + private string organizationNoField; + + private string lEIField; + + private string nameField; + + private string baseCurrencyCodeField; + + private string bICField; + + private string taxCountryField; + + private string gIINField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrganizationNo + { + get + { + return this.organizationNoField; + } + set + { + this.organizationNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string BaseCurrencyCode + { + get + { + return this.baseCurrencyCodeField; + } + set + { + this.baseCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBackgroundJobsResponseRow : EntityBase + { + + private string keyField; + + private string stateKeyField; + + private int resultCodeField; + + private string resultField; + + private System.Nullable progressField; + + private string externalReferenceField; + + private System.Nullable startRunTimeField; + + private System.Nullable endRunTimeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string StateKey + { + get + { + return this.stateKeyField; + } + set + { + this.stateKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int ResultCode + { + get + { + return this.resultCodeField; + } + set + { + this.resultCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable Progress + { + get + { + return this.progressField; + } + set + { + this.progressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable StartRunTime + { + get + { + return this.startRunTimeField; + } + set + { + this.startRunTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable EndRunTime + { + get + { + return this.endRunTimeField; + } + set + { + this.endRunTimeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvtaleGiroOrdersResponseRow : EntityBase + { + + private string transferOrderTypeKeyField; + + private System.Guid accountIdField; + + private decimal cashAmountField; + + private string currencyCodeField; + + private string avtaleGiroOrderStatusField; + + private string avtaleGiroOrderNumberField; + + private System.DateTime settlementDateField; + + private string externalReferenceField; + + private string batchOrderNumberField; + + private System.Guid transferReceiverIdField; + + private string avtaleGiroResponseCodeField; + + private System.Guid[] recurringOrderTemplateIdsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TransferOrderTypeKey + { + get + { + return this.transferOrderTypeKeyField; + } + set + { + this.transferOrderTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string AvtaleGiroOrderStatus + { + get + { + return this.avtaleGiroOrderStatusField; + } + set + { + this.avtaleGiroOrderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string AvtaleGiroOrderNumber + { + get + { + return this.avtaleGiroOrderNumberField; + } + set + { + this.avtaleGiroOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string BatchOrderNumber + { + get + { + return this.batchOrderNumberField; + } + set + { + this.batchOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string AvtaleGiroResponseCode + { + get + { + return this.avtaleGiroResponseCodeField; + } + set + { + this.avtaleGiroResponseCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public System.Guid[] RecurringOrderTemplateIds + { + get + { + return this.recurringOrderTemplateIdsField; + } + set + { + this.recurringOrderTemplateIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferOrdersResponseRow : EntityBase + { + + private string transferOrderTypeField; + + private System.Guid accountField; + + private string currencyCodeField; + + private decimal cashAmountField; + + private string stateField; + + private string orderNoField; + + private System.DateTime settlementDateField; + + private string externalReferenceField; + + private string batchOrderNoField; + + private System.Guid transferReceiverField; + + private System.DateTime businessDateField; + + private int retryAttemptsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TransferOrderType + { + get + { + return this.transferOrderTypeField; + } + set + { + this.transferOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string BatchOrderNo + { + get + { + return this.batchOrderNoField; + } + set + { + this.batchOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public int RetryAttempts + { + get + { + return this.retryAttemptsField; + } + set + { + this.retryAttemptsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCountryResponseRow : EntityBase + { + + private string isoCodeField; + + private string fullNameSwedishField; + + private string fullNameEnglishField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string IsoCode + { + get + { + return this.isoCodeField; + } + set + { + this.isoCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FullNameSwedish + { + get + { + return this.fullNameSwedishField; + } + set + { + this.fullNameSwedishField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FullNameEnglish + { + get + { + return this.fullNameEnglishField; + } + set + { + this.fullNameEnglishField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransactionNoteResponseRow : EntityBase + { + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private string transactionNoteNumberField; + + private System.Guid accountBrickIdField; + + private System.Nullable businessEventBrickIdField; + + private NoteStatus statusField; + + private NoteType transactionNoteTypeField; + + private System.Guid agentLegalEntityBrickIdField; + + private System.Guid principalLegalEntityBrickIdField; + + private System.Nullable tradeOrderDirectionKeyField; + + private string marketplaceField; + + private decimal acquisitionValueField; + + private string currencyField; + + private string businessTransactionTypeField; + + private string instrumentNameField; + + private string iSINField; + + private double priceField; + + private decimal quantityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TransactionNoteNumber + { + get + { + return this.transactionNoteNumberField; + } + set + { + this.transactionNoteNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid AccountBrickId + { + get + { + return this.accountBrickIdField; + } + set + { + this.accountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable BusinessEventBrickId + { + get + { + return this.businessEventBrickIdField; + } + set + { + this.businessEventBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public NoteStatus Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public NoteType TransactionNoteType + { + get + { + return this.transactionNoteTypeField; + } + set + { + this.transactionNoteTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid AgentLegalEntityBrickId + { + get + { + return this.agentLegalEntityBrickIdField; + } + set + { + this.agentLegalEntityBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid PrincipalLegalEntityBrickId + { + get + { + return this.principalLegalEntityBrickIdField; + } + set + { + this.principalLegalEntityBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string Marketplace + { + get + { + return this.marketplaceField; + } + set + { + this.marketplaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public decimal AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string BusinessTransactionType + { + get + { + return this.businessTransactionTypeField; + } + set + { + this.businessTransactionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string InstrumentName + { + get + { + return this.instrumentNameField; + } + set + { + this.instrumentNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string ISIN + { + get + { + return this.iSINField; + } + set + { + this.iSINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public decimal Quantity + { + get + { + return this.quantityField; + } + set + { + this.quantityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum NoteStatus + { + + /// + Open, + + /// + Closed, + + /// + Cancelled, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum NoteType + { + + /// + TradeNote, + + /// + CounterPartyNote, + + /// + TransferNote, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum TradeOrderDirectionKey + { + + /// + Buy, + + /// + Sell, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Reservation : EntityBase + { + + private System.Guid accountField; + + private System.Guid assetField; + + private System.Nullable referenceField; + + private decimal reservedAmountTradeField; + + private decimal reservedAmountSettlementField; + + private string commentField; + + private bool overrideMustCoverField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable Reference + { + get + { + return this.referenceField; + } + set + { + this.referenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal ReservedAmountTrade + { + get + { + return this.reservedAmountTradeField; + } + set + { + this.reservedAmountTradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal ReservedAmountSettlement + { + get + { + return this.reservedAmountSettlementField; + } + set + { + this.reservedAmountSettlementField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OverrideMustCover + { + get + { + return this.overrideMustCoverField; + } + set + { + this.overrideMustCoverField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetReservationResponseRow : EntityBase + { + + private System.Guid accountField; + + private System.Guid assetField; + + private System.Guid referenceField; + + private System.Guid orderField; + + private decimal reservedAmountTradeField; + + private decimal reservedAmountSettlementField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid Reference + { + get + { + return this.referenceField; + } + set + { + this.referenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Order + { + get + { + return this.orderField; + } + set + { + this.orderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public decimal ReservedAmountTrade + { + get + { + return this.reservedAmountTradeField; + } + set + { + this.reservedAmountTradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public decimal ReservedAmountSettlement + { + get + { + return this.reservedAmountSettlementField; + } + set + { + this.reservedAmountSettlementField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTask : EntityBase + { + + private System.Guid userField; + + private System.Nullable assigneeField; + + private string headingField; + + private string textField; + + private System.DateTime dueDateField; + + private bool isHTMLField; + + private string priorityField; + + private string statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable Assignee + { + get + { + return this.assigneeField; + } + set + { + this.assigneeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime DueDate + { + get + { + return this.dueDateField; + } + set + { + this.dueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTask : EntityBase + { + + private System.Guid userField; + + private System.Nullable assigneeField; + + private string headingField; + + private string textField; + + private System.Nullable dueDateField; + + private bool isHTMLField; + + private string priorityField; + + private string statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable Assignee + { + get + { + return this.assigneeField; + } + set + { + this.assigneeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable DueDate + { + get + { + return this.dueDateField; + } + set + { + this.dueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTasksResponseRow : EntityBase + { + + private System.Guid userField; + + private System.Guid assigneeField; + + private string headingField; + + private string textField; + + private System.DateTime dueDateField; + + private bool isHTMLField; + + private string statusField; + + private string priorityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Assignee + { + get + { + return this.assigneeField; + } + set + { + this.assigneeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime DueDate + { + get + { + return this.dueDateField; + } + set + { + this.dueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateNote : EntityBase + { + + private System.Guid userField; + + private string headingField; + + private string textField; + + private System.DateTime eventDateField; + + private bool isHTMLField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateNote : EntityBase + { + + private System.Guid userField; + + private string headingField; + + private string textField; + + private System.Nullable eventDateField; + + private bool isHTMLField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetNotesResponseRow : EntityBase + { + + private System.Guid userField; + + private string headingField; + + private string textField; + + private System.DateTime eventDateField; + + private bool isHTMLField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateMessage : EntityBase + { + + private System.Guid receiverField; + + private string subjectField; + + private string bodyField; + + private bool isReadField; + + private bool isPublicField; + + private bool isPromotedField; + + private System.DateTime eventDateField; + + private bool isHTMLField; + + private string priorityField; + + private string statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Receiver + { + get + { + return this.receiverField; + } + set + { + this.receiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Subject + { + get + { + return this.subjectField; + } + set + { + this.subjectField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Body + { + get + { + return this.bodyField; + } + set + { + this.bodyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsRead + { + get + { + return this.isReadField; + } + set + { + this.isReadField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsPublic + { + get + { + return this.isPublicField; + } + set + { + this.isPublicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsPromoted + { + get + { + return this.isPromotedField; + } + set + { + this.isPromotedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateMessage : EntityBase + { + + private System.Guid receiverField; + + private string subjectField; + + private string bodyField; + + private bool isReadField; + + private bool isPublicField; + + private bool isPromotedField; + + private System.Nullable eventDateField; + + private bool isHTMLField; + + private string priorityField; + + private string statusField; + + private bool sendMailField; + + private bool sendMailNotificationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Receiver + { + get + { + return this.receiverField; + } + set + { + this.receiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Subject + { + get + { + return this.subjectField; + } + set + { + this.subjectField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Body + { + get + { + return this.bodyField; + } + set + { + this.bodyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsRead + { + get + { + return this.isReadField; + } + set + { + this.isReadField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsPublic + { + get + { + return this.isPublicField; + } + set + { + this.isPublicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsPromoted + { + get + { + return this.isPromotedField; + } + set + { + this.isPromotedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool SendMail + { + get + { + return this.sendMailField; + } + set + { + this.sendMailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool SendMailNotification + { + get + { + return this.sendMailNotificationField; + } + set + { + this.sendMailNotificationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetMessagesResponseRow : EntityBase + { + + private System.Guid receiverField; + + private string subjectField; + + private string bodyField; + + private bool isReadField; + + private bool isPublicField; + + private bool isPromotedField; + + private System.DateTime eventDateField; + + private bool isHTMLField; + + private string priorityField; + + private string statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Receiver + { + get + { + return this.receiverField; + } + set + { + this.receiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Subject + { + get + { + return this.subjectField; + } + set + { + this.subjectField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Body + { + get + { + return this.bodyField; + } + set + { + this.bodyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsRead + { + get + { + return this.isReadField; + } + set + { + this.isReadField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsPublic + { + get + { + return this.isPublicField; + } + set + { + this.isPublicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsPromoted + { + get + { + return this.isPromotedField; + } + set + { + this.isPromotedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFailedWebhookResponseRow : EntityBase + { + + private string eventNameField; + + private string destinationAddressField; + + private string stateField; + + private string jsonPayloadField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string EventName + { + get + { + return this.eventNameField; + } + set + { + this.eventNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string DestinationAddress + { + get + { + return this.destinationAddressField; + } + set + { + this.destinationAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string JsonPayload + { + get + { + return this.jsonPayloadField; + } + set + { + this.jsonPayloadField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteWebhookSubscription : EntityBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWebhookSubscription : EntityBase + { + + private string eventNameField; + + private string destinationAddressField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string EventName + { + get + { + return this.eventNameField; + } + set + { + this.eventNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string DestinationAddress + { + get + { + return this.destinationAddressField; + } + set + { + this.destinationAddressField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvailableWebhookEventResponseRow : EntityBase + { + + private string eventNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string EventName + { + get + { + return this.eventNameField; + } + set + { + this.eventNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWebhookSubscriptionResponseRow : EntityBase + { + + private string eventNameField; + + private string destinationAddressField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string EventName + { + get + { + return this.eventNameField; + } + set + { + this.eventNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string DestinationAddress + { + get + { + return this.destinationAddressField; + } + set + { + this.destinationAddressField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTRSCountriesResponseRow : EntityBase + { + + private string tRSIdTypePrio1Field; + + private string tRSIdTypePrio2Field; + + private string tRSIdTypePrio3Field; + + private string countryCodeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TRSIdTypePrio1 + { + get + { + return this.tRSIdTypePrio1Field; + } + set + { + this.tRSIdTypePrio1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TRSIdTypePrio2 + { + get + { + return this.tRSIdTypePrio2Field; + } + set + { + this.tRSIdTypePrio2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TRSIdTypePrio3 + { + get + { + return this.tRSIdTypePrio3Field; + } + set + { + this.tRSIdTypePrio3Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CountryCode + { + get + { + return this.countryCodeField; + } + set + { + this.countryCodeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsurancePolicy : EntityBase + { + + private System.DateTime expirationDateField; + + private string externalReferenceField; + + private System.Guid accountIdField; + + private string parametersField; + + private int policyPeriodField; + + private decimal premiumField; + + private int premiumFrequencyField; + + private System.Guid secondInsuredLegalEntityIdField; + + private System.DateTime signDateField; + + private System.DateTime initialActivationDateField; + + private System.DateTime periodStartDateField; + + private System.DateTime periodEndDateField; + + private System.DateTime lastPartnetInvoiceDateField; + + private System.DateTime cancellationDateField; + + private System.DateTime terminationDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int PolicyPeriod + { + get + { + return this.policyPeriodField; + } + set + { + this.policyPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public decimal Premium + { + get + { + return this.premiumField; + } + set + { + this.premiumField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int PremiumFrequency + { + get + { + return this.premiumFrequencyField; + } + set + { + this.premiumFrequencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid SecondInsuredLegalEntityId + { + get + { + return this.secondInsuredLegalEntityIdField; + } + set + { + this.secondInsuredLegalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime SignDate + { + get + { + return this.signDateField; + } + set + { + this.signDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.DateTime InitialActivationDate + { + get + { + return this.initialActivationDateField; + } + set + { + this.initialActivationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime PeriodStartDate + { + get + { + return this.periodStartDateField; + } + set + { + this.periodStartDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.DateTime PeriodEndDate + { + get + { + return this.periodEndDateField; + } + set + { + this.periodEndDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.DateTime LastPartnetInvoiceDate + { + get + { + return this.lastPartnetInvoiceDateField; + } + set + { + this.lastPartnetInvoiceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public System.DateTime CancellationDate + { + get + { + return this.cancellationDateField; + } + set + { + this.cancellationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public System.DateTime TerminationDate + { + get + { + return this.terminationDateField; + } + set + { + this.terminationDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InsurancePolicy : EntityBase + { + + private System.Guid accountIdField; + + private System.Guid ownerIdField; + + private System.Guid resellerIdField; + + private System.DateTime expirationDateField; + + private string externalReferenceField; + + private System.Guid insuranceProgramIdField; + + private string parametersField; + + private int policyPeriodField; + + private decimal premiumField; + + private int premiumFrequencyField; + + private System.Nullable secondInsuredLegalEntityIdField; + + private System.DateTime signDateField; + + private System.DateTime initialActivationDateField; + + private string policyNoField; + + private System.DateTime periodStartDateField; + + private System.DateTime periodEndDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid OwnerId + { + get + { + return this.ownerIdField; + } + set + { + this.ownerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid InsuranceProgramId + { + get + { + return this.insuranceProgramIdField; + } + set + { + this.insuranceProgramIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int PolicyPeriod + { + get + { + return this.policyPeriodField; + } + set + { + this.policyPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public decimal Premium + { + get + { + return this.premiumField; + } + set + { + this.premiumField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int PremiumFrequency + { + get + { + return this.premiumFrequencyField; + } + set + { + this.premiumFrequencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable SecondInsuredLegalEntityId + { + get + { + return this.secondInsuredLegalEntityIdField; + } + set + { + this.secondInsuredLegalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.DateTime SignDate + { + get + { + return this.signDateField; + } + set + { + this.signDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public System.DateTime InitialActivationDate + { + get + { + return this.initialActivationDateField; + } + set + { + this.initialActivationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string PolicyNo + { + get + { + return this.policyNoField; + } + set + { + this.policyNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public System.DateTime PeriodStartDate + { + get + { + return this.periodStartDateField; + } + set + { + this.periodStartDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public System.DateTime PeriodEndDate + { + get + { + return this.periodEndDateField; + } + set + { + this.periodEndDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsurancePolicyResponseRow : EntityBase + { + + private System.Guid ownerIdField; + + private string policyNoField; + + private System.Guid secondInsuredLegalEntityIdField; + + private System.DateTime expirationDateField; + + private System.Guid accountIdField; + + private decimal premiumField; + + private int premiumFrequencyField; + + private string parametersField; + + private System.DateTime signDateField; + + private System.DateTime terminationDateField; + + private System.DateTime cancellationDateField; + + private System.Guid insuranceProgramIdField; + + private string insuranceProgramNameField; + + private string externalReferenceField; + + private int policyPeriodField; + + private System.DateTime periodStartDateField; + + private System.DateTime periodEndDateField; + + private System.DateTime initialActivationDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid OwnerId + { + get + { + return this.ownerIdField; + } + set + { + this.ownerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string PolicyNo + { + get + { + return this.policyNoField; + } + set + { + this.policyNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid SecondInsuredLegalEntityId + { + get + { + return this.secondInsuredLegalEntityIdField; + } + set + { + this.secondInsuredLegalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public decimal Premium + { + get + { + return this.premiumField; + } + set + { + this.premiumField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int PremiumFrequency + { + get + { + return this.premiumFrequencyField; + } + set + { + this.premiumFrequencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime SignDate + { + get + { + return this.signDateField; + } + set + { + this.signDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.DateTime TerminationDate + { + get + { + return this.terminationDateField; + } + set + { + this.terminationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public System.DateTime CancellationDate + { + get + { + return this.cancellationDateField; + } + set + { + this.cancellationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.Guid InsuranceProgramId + { + get + { + return this.insuranceProgramIdField; + } + set + { + this.insuranceProgramIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string InsuranceProgramName + { + get + { + return this.insuranceProgramNameField; + } + set + { + this.insuranceProgramNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public int PolicyPeriod + { + get + { + return this.policyPeriodField; + } + set + { + this.policyPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public System.DateTime PeriodStartDate + { + get + { + return this.periodStartDateField; + } + set + { + this.periodStartDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public System.DateTime PeriodEndDate + { + get + { + return this.periodEndDateField; + } + set + { + this.periodEndDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.DateTime InitialActivationDate + { + get + { + return this.initialActivationDateField; + } + set + { + this.initialActivationDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceProduct : EntityBase + { + + private System.Guid insuranceProductSupplierIdField; + + private System.Guid resellerIdField; + + private System.Guid brokerIdField; + + private System.Guid administratorIdField; + + private System.Guid accountManagerIdField; + + private System.Guid claimsAdjusterIdField; + + private string insuranceProductTypeKeyField; + + private string insuranceCategoryKeyField; + + private string keyField; + + private string nameField; + + private string descriptionStringField; + + private string productCodeField; + + private string statusKeyField; + + private string countryField; + + private decimal ruleOf12Field; + + private decimal ruleOf45Field; + + private decimal ruleOf78Field; + + private System.Guid currencyField; + + private decimal insuranceCommissionField; + + private decimal retentionField; + + private double profitShareField; + + private string termsNoField; + + private string termsURLField; + + private string productVersionField; + + private System.DateTime startDateField; + + private System.DateTime endDateField; + + private string maxTermField; + + private string insurableInterestField; + + private decimal grossPriceField; + + private string premiumBasedOnField; + + private decimal netPriceField; + + private int chargeIntervalField; + + private string saleMethodField; + + private string externalReferenceField; + + private string parametersField; + + private string commentField; + + private string dealTypeKeyField; + + private int periodOfNoticeField; + + private System.DateTime rAFApprovedDateField; + + private decimal insuranceTaxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsuranceProductSupplierId + { + get + { + return this.insuranceProductSupplierIdField; + } + set + { + this.insuranceProductSupplierIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid BrokerId + { + get + { + return this.brokerIdField; + } + set + { + this.brokerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid AdministratorId + { + get + { + return this.administratorIdField; + } + set + { + this.administratorIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid AccountManagerId + { + get + { + return this.accountManagerIdField; + } + set + { + this.accountManagerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid ClaimsAdjusterId + { + get + { + return this.claimsAdjusterIdField; + } + set + { + this.claimsAdjusterIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string InsuranceProductTypeKey + { + get + { + return this.insuranceProductTypeKeyField; + } + set + { + this.insuranceProductTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string InsuranceCategoryKey + { + get + { + return this.insuranceCategoryKeyField; + } + set + { + this.insuranceCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string ProductCode + { + get + { + return this.productCodeField; + } + set + { + this.productCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public decimal RuleOf12 + { + get + { + return this.ruleOf12Field; + } + set + { + this.ruleOf12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public decimal RuleOf45 + { + get + { + return this.ruleOf45Field; + } + set + { + this.ruleOf45Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public decimal RuleOf78 + { + get + { + return this.ruleOf78Field; + } + set + { + this.ruleOf78Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.Guid Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public decimal InsuranceCommission + { + get + { + return this.insuranceCommissionField; + } + set + { + this.insuranceCommissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public decimal Retention + { + get + { + return this.retentionField; + } + set + { + this.retentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public double ProfitShare + { + get + { + return this.profitShareField; + } + set + { + this.profitShareField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string TermsNo + { + get + { + return this.termsNoField; + } + set + { + this.termsNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string TermsURL + { + get + { + return this.termsURLField; + } + set + { + this.termsURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string ProductVersion + { + get + { + return this.productVersionField; + } + set + { + this.productVersionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.DateTime StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public System.DateTime EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public string MaxTerm + { + get + { + return this.maxTermField; + } + set + { + this.maxTermField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public string InsurableInterest + { + get + { + return this.insurableInterestField; + } + set + { + this.insurableInterestField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public decimal GrossPrice + { + get + { + return this.grossPriceField; + } + set + { + this.grossPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string PremiumBasedOn + { + get + { + return this.premiumBasedOnField; + } + set + { + this.premiumBasedOnField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public decimal NetPrice + { + get + { + return this.netPriceField; + } + set + { + this.netPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public int ChargeInterval + { + get + { + return this.chargeIntervalField; + } + set + { + this.chargeIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public string SaleMethod + { + get + { + return this.saleMethodField; + } + set + { + this.saleMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string DealTypeKey + { + get + { + return this.dealTypeKeyField; + } + set + { + this.dealTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public int PeriodOfNotice + { + get + { + return this.periodOfNoticeField; + } + set + { + this.periodOfNoticeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public System.DateTime RAFApprovedDate + { + get + { + return this.rAFApprovedDateField; + } + set + { + this.rAFApprovedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public decimal InsuranceTax + { + get + { + return this.insuranceTaxField; + } + set + { + this.insuranceTaxField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InsuranceProduct : EntityBase + { + + private System.Guid insuranceProductSupplierIdField; + + private System.Guid resellerIdField; + + private System.Guid brookerIdField; + + private System.Guid administratorIdField; + + private System.Guid accountManagerIdField; + + private System.Guid claimsAdjusterIdField; + + private string insuranceProductTypeKeyField; + + private string insuranceCategoryKeyField; + + private string keyField; + + private string nameField; + + private string descriptionStringField; + + private string productCodeField; + + private string statusKeyField; + + private string countryField; + + private decimal ruleOf12Field; + + private decimal ruleOf45Field; + + private decimal ruleOf78Field; + + private string currencyCodeField; + + private decimal insuranceCommissionField; + + private decimal retentionField; + + private double profitShareField; + + private string termsNoField; + + private string termsURLField; + + private string productVersionField; + + private System.DateTime startDateField; + + private System.DateTime endDateField; + + private string maxTermField; + + private string insurableInterestField; + + private decimal grossPriceField; + + private string premiumBasedOnField; + + private decimal netPriceField; + + private int chargeIntervalField; + + private string saleMethodField; + + private string externalReferenceField; + + private string parametersField; + + private string commentField; + + private string dealTypeKeyField; + + private int periodOfNoticeField; + + private System.DateTime rAFApprovedDateField; + + private decimal insuranceTaxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsuranceProductSupplierId + { + get + { + return this.insuranceProductSupplierIdField; + } + set + { + this.insuranceProductSupplierIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid BrookerId + { + get + { + return this.brookerIdField; + } + set + { + this.brookerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid AdministratorId + { + get + { + return this.administratorIdField; + } + set + { + this.administratorIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid AccountManagerId + { + get + { + return this.accountManagerIdField; + } + set + { + this.accountManagerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid ClaimsAdjusterId + { + get + { + return this.claimsAdjusterIdField; + } + set + { + this.claimsAdjusterIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string InsuranceProductTypeKey + { + get + { + return this.insuranceProductTypeKeyField; + } + set + { + this.insuranceProductTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string InsuranceCategoryKey + { + get + { + return this.insuranceCategoryKeyField; + } + set + { + this.insuranceCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string ProductCode + { + get + { + return this.productCodeField; + } + set + { + this.productCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public decimal RuleOf12 + { + get + { + return this.ruleOf12Field; + } + set + { + this.ruleOf12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public decimal RuleOf45 + { + get + { + return this.ruleOf45Field; + } + set + { + this.ruleOf45Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public decimal RuleOf78 + { + get + { + return this.ruleOf78Field; + } + set + { + this.ruleOf78Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public decimal InsuranceCommission + { + get + { + return this.insuranceCommissionField; + } + set + { + this.insuranceCommissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public decimal Retention + { + get + { + return this.retentionField; + } + set + { + this.retentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public double ProfitShare + { + get + { + return this.profitShareField; + } + set + { + this.profitShareField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string TermsNo + { + get + { + return this.termsNoField; + } + set + { + this.termsNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string TermsURL + { + get + { + return this.termsURLField; + } + set + { + this.termsURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string ProductVersion + { + get + { + return this.productVersionField; + } + set + { + this.productVersionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.DateTime StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public System.DateTime EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public string MaxTerm + { + get + { + return this.maxTermField; + } + set + { + this.maxTermField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public string InsurableInterest + { + get + { + return this.insurableInterestField; + } + set + { + this.insurableInterestField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public decimal GrossPrice + { + get + { + return this.grossPriceField; + } + set + { + this.grossPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string PremiumBasedOn + { + get + { + return this.premiumBasedOnField; + } + set + { + this.premiumBasedOnField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public decimal NetPrice + { + get + { + return this.netPriceField; + } + set + { + this.netPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public int ChargeInterval + { + get + { + return this.chargeIntervalField; + } + set + { + this.chargeIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public string SaleMethod + { + get + { + return this.saleMethodField; + } + set + { + this.saleMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string DealTypeKey + { + get + { + return this.dealTypeKeyField; + } + set + { + this.dealTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public int PeriodOfNotice + { + get + { + return this.periodOfNoticeField; + } + set + { + this.periodOfNoticeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public System.DateTime RAFApprovedDate + { + get + { + return this.rAFApprovedDateField; + } + set + { + this.rAFApprovedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public decimal InsuranceTax + { + get + { + return this.insuranceTaxField; + } + set + { + this.insuranceTaxField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrderBuy))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrderSell))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class CurrencyExchangeOrder : EntityBase + { + + private string orderNoField; + + private System.Guid sellCashAssetBrickIdField; + + private System.Guid buyCashAssetBrickIdField; + + private System.Guid batchField; + + private System.Guid accountField; + + private string commentField; + + private System.Guid allocationOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid SellCashAssetBrickId + { + get + { + return this.sellCashAssetBrickIdField; + } + set + { + this.sellCashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid BuyCashAssetBrickId + { + get + { + return this.buyCashAssetBrickIdField; + } + set + { + this.buyCashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid Batch + { + get + { + return this.batchField; + } + set + { + this.batchField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.Guid AllocationOrder + { + get + { + return this.allocationOrderField; + } + set + { + this.allocationOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CurrencyExchangeOrderBuy : CurrencyExchangeOrder + { + + private decimal buyAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal BuyAmount + { + get + { + return this.buyAmountField; + } + set + { + this.buyAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CurrencyExchangeOrderSell : CurrencyExchangeOrder + { + + private decimal sellAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal SellAmount + { + get + { + return this.sellAmountField; + } + set + { + this.sellAmountField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualResultingOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderExecute))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundBatchOrderExecute))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class OrderExecuteBase : EntityBase + { + + private System.Guid orderBrickIdField; + + private System.Nullable instrumentAmountField; + + private System.Nullable cashAmountField; + + private decimal priceField; + + private System.DateTime tradeDateField; + + private System.DateTime valueDateField; + + private System.DateTime settlementDateField; + + private System.Guid counterPartyAccountBrickIdField; + + private System.Guid cashCustodyAccountBrickIdField; + + private System.Guid instrumentCustodyAccountBrickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid OrderBrickId + { + get + { + return this.orderBrickIdField; + } + set + { + this.orderBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid CounterPartyAccountBrickId + { + get + { + return this.counterPartyAccountBrickIdField; + } + set + { + this.counterPartyAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.Guid CashCustodyAccountBrickId + { + get + { + return this.cashCustodyAccountBrickIdField; + } + set + { + this.cashCustodyAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Guid InstrumentCustodyAccountBrickId + { + get + { + return this.instrumentCustodyAccountBrickIdField; + } + set + { + this.instrumentCustodyAccountBrickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ManualOrderExecute : OrderExecuteBase + { + + private TrsInformation trsInformationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TrsInformation TrsInformation + { + get + { + return this.trsInformationField; + } + set + { + this.trsInformationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TrsInformation + { + + private System.Nullable tradingVenueBrickIdField; + + private TRSTradingCapacity tRSTradingCapacityField; + + private bool iNTCField; + + private string tradingVenueTransactionIdField; + + private ExecutionWithinFirmType executionWithinFirmTypeField; + + private System.Nullable executionWithinFirm_USERField; + + private System.Nullable executionWithinFirm_ALGOField; + + private OTCPostTradeIndicators oTCPostTradeIndicatorsField; + + private WaiverIndicators waiverIndicatorsField; + + private System.Nullable tradeTimeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable TradingVenueBrickId + { + get + { + return this.tradingVenueBrickIdField; + } + set + { + this.tradingVenueBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public TRSTradingCapacity TRSTradingCapacity + { + get + { + return this.tRSTradingCapacityField; + } + set + { + this.tRSTradingCapacityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool INTC + { + get + { + return this.iNTCField; + } + set + { + this.iNTCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string TradingVenueTransactionId + { + get + { + return this.tradingVenueTransactionIdField; + } + set + { + this.tradingVenueTransactionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ExecutionWithinFirmType ExecutionWithinFirmType + { + get + { + return this.executionWithinFirmTypeField; + } + set + { + this.executionWithinFirmTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable ExecutionWithinFirm_USER + { + get + { + return this.executionWithinFirm_USERField; + } + set + { + this.executionWithinFirm_USERField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable ExecutionWithinFirm_ALGO + { + get + { + return this.executionWithinFirm_ALGOField; + } + set + { + this.executionWithinFirm_ALGOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public OTCPostTradeIndicators OTCPostTradeIndicators + { + get + { + return this.oTCPostTradeIndicatorsField; + } + set + { + this.oTCPostTradeIndicatorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public WaiverIndicators WaiverIndicators + { + get + { + return this.waiverIndicatorsField; + } + set + { + this.waiverIndicatorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable TradeTime + { + get + { + return this.tradeTimeField; + } + set + { + this.tradeTimeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum TRSTradingCapacity + { + + /// + AOTC, + + /// + DEAL, + + /// + MATCH, + + /// + UNDEFINED, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum ExecutionWithinFirmType + { + + /// + ALGO, + + /// + USER, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class OTCPostTradeIndicators + { + + private bool oTCPostTradeIndicator_BENCField; + + private bool oTCPostTradeIndicator_ACTXField; + + private bool oTCPostTradeIndicator_ILQDField; + + private bool oTCPostTradeIndicator_SIZEField; + + private bool oTCPostTradeIndicator_CANCField; + + private bool oTCPostTradeIndicator_AMNDField; + + private bool oTCPostTradeIndicator_SDIVField; + + private bool oTCPostTradeIndicator_RPRIField; + + private bool oTCPostTradeIndicator_DUPLField; + + private bool oTCPostTradeIndicator_LRGSField; + + private bool oTCPostTradeIndicator_TNCPField; + + private bool oTCPostTradeIndicator_TPACField; + + private bool oTCPostTradeIndicator_XFPHField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool OTCPostTradeIndicator_BENC + { + get + { + return this.oTCPostTradeIndicator_BENCField; + } + set + { + this.oTCPostTradeIndicator_BENCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool OTCPostTradeIndicator_ACTX + { + get + { + return this.oTCPostTradeIndicator_ACTXField; + } + set + { + this.oTCPostTradeIndicator_ACTXField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool OTCPostTradeIndicator_ILQD + { + get + { + return this.oTCPostTradeIndicator_ILQDField; + } + set + { + this.oTCPostTradeIndicator_ILQDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool OTCPostTradeIndicator_SIZE + { + get + { + return this.oTCPostTradeIndicator_SIZEField; + } + set + { + this.oTCPostTradeIndicator_SIZEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool OTCPostTradeIndicator_CANC + { + get + { + return this.oTCPostTradeIndicator_CANCField; + } + set + { + this.oTCPostTradeIndicator_CANCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool OTCPostTradeIndicator_AMND + { + get + { + return this.oTCPostTradeIndicator_AMNDField; + } + set + { + this.oTCPostTradeIndicator_AMNDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OTCPostTradeIndicator_SDIV + { + get + { + return this.oTCPostTradeIndicator_SDIVField; + } + set + { + this.oTCPostTradeIndicator_SDIVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool OTCPostTradeIndicator_RPRI + { + get + { + return this.oTCPostTradeIndicator_RPRIField; + } + set + { + this.oTCPostTradeIndicator_RPRIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool OTCPostTradeIndicator_DUPL + { + get + { + return this.oTCPostTradeIndicator_DUPLField; + } + set + { + this.oTCPostTradeIndicator_DUPLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool OTCPostTradeIndicator_LRGS + { + get + { + return this.oTCPostTradeIndicator_LRGSField; + } + set + { + this.oTCPostTradeIndicator_LRGSField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool OTCPostTradeIndicator_TNCP + { + get + { + return this.oTCPostTradeIndicator_TNCPField; + } + set + { + this.oTCPostTradeIndicator_TNCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool OTCPostTradeIndicator_TPAC + { + get + { + return this.oTCPostTradeIndicator_TPACField; + } + set + { + this.oTCPostTradeIndicator_TPACField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool OTCPostTradeIndicator_XFPH + { + get + { + return this.oTCPostTradeIndicator_XFPHField; + } + set + { + this.oTCPostTradeIndicator_XFPHField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WaiverIndicators + { + + private bool waiverIndicator_OILQField; + + private bool waiverIndicator_NLIQField; + + private bool waiverIndicator_PRICField; + + private bool waiverIndicator_ILQDField; + + private bool waiverIndicator_RFPTField; + + private bool waiverIndicator_SIZEField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool WaiverIndicator_OILQ + { + get + { + return this.waiverIndicator_OILQField; + } + set + { + this.waiverIndicator_OILQField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool WaiverIndicator_NLIQ + { + get + { + return this.waiverIndicator_NLIQField; + } + set + { + this.waiverIndicator_NLIQField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool WaiverIndicator_PRIC + { + get + { + return this.waiverIndicator_PRICField; + } + set + { + this.waiverIndicator_PRICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool WaiverIndicator_ILQD + { + get + { + return this.waiverIndicator_ILQDField; + } + set + { + this.waiverIndicator_ILQDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool WaiverIndicator_RFPT + { + get + { + return this.waiverIndicator_RFPTField; + } + set + { + this.waiverIndicator_RFPTField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool WaiverIndicator_SIZE + { + get + { + return this.waiverIndicator_SIZEField; + } + set + { + this.waiverIndicator_SIZEField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ManualResultingOrderExecute : OrderExecuteBase + { + + private TrsInformation trsInformationField; + + private TrsInternalInformation trsInternalInformationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TrsInformation TrsInformation + { + get + { + return this.trsInformationField; + } + set + { + this.trsInformationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public TrsInternalInformation TrsInternalInformation + { + get + { + return this.trsInternalInformationField; + } + set + { + this.trsInternalInformationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TrsInternalInformation + { + + private System.Nullable tradingVenueBrickIdField; + + private TRSTradingCapacity tRSTradingCapacityField; + + private bool iNTCField; + + private string tradingVenueTransactionIdField; + + private System.Nullable executionWithinFirmTypeField; + + private OTCPostTradeIndicators oTCPostTradeIndicatorsField; + + private WaiverIndicators waiverIndicatorsField; + + private System.Nullable tradeTimeField; + + private System.Nullable executionWithinFirm_USERField; + + private System.Nullable executionWithinFirm_ALGOField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable TradingVenueBrickId + { + get + { + return this.tradingVenueBrickIdField; + } + set + { + this.tradingVenueBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public TRSTradingCapacity TRSTradingCapacity + { + get + { + return this.tRSTradingCapacityField; + } + set + { + this.tRSTradingCapacityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool INTC + { + get + { + return this.iNTCField; + } + set + { + this.iNTCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string TradingVenueTransactionId + { + get + { + return this.tradingVenueTransactionIdField; + } + set + { + this.tradingVenueTransactionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable ExecutionWithinFirmType + { + get + { + return this.executionWithinFirmTypeField; + } + set + { + this.executionWithinFirmTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public OTCPostTradeIndicators OTCPostTradeIndicators + { + get + { + return this.oTCPostTradeIndicatorsField; + } + set + { + this.oTCPostTradeIndicatorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public WaiverIndicators WaiverIndicators + { + get + { + return this.waiverIndicatorsField; + } + set + { + this.waiverIndicatorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable TradeTime + { + get + { + return this.tradeTimeField; + } + set + { + this.tradeTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable ExecutionWithinFirm_USER + { + get + { + return this.executionWithinFirm_USERField; + } + set + { + this.executionWithinFirm_USERField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable ExecutionWithinFirm_ALGO + { + get + { + return this.executionWithinFirm_ALGOField; + } + set + { + this.executionWithinFirm_ALGOField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalOrderExecute : OrderExecuteBase + { + + private TrsInformation trsInformationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TrsInformation TrsInformation + { + get + { + return this.trsInformationField; + } + set + { + this.trsInformationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalFundBatchOrderExecute : OrderExecuteBase + { + + private decimal currencyExchangeRateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal CurrencyExchangeRate + { + get + { + return this.currencyExchangeRateField; + } + set + { + this.currencyExchangeRateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundBatchOrderExecute : OrderExecuteBase + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InternalOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundBatchOrderSettle))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class OrderSettleBase : EntityBase + { + + private System.Guid orderBrickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid OrderBrickId + { + get + { + return this.orderBrickIdField; + } + set + { + this.orderBrickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ManualOrderSettle : OrderSettleBase + { + + private System.DateTime cashSettlementDateField; + + private System.DateTime instrumentSettlementDateField; + + private System.DateTime cashValueDateField; + + private System.DateTime instrumentValueDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime CashSettlementDate + { + get + { + return this.cashSettlementDateField; + } + set + { + this.cashSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime InstrumentSettlementDate + { + get + { + return this.instrumentSettlementDateField; + } + set + { + this.instrumentSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime CashValueDate + { + get + { + return this.cashValueDateField; + } + set + { + this.cashValueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime InstrumentValueDate + { + get + { + return this.instrumentValueDateField; + } + set + { + this.instrumentValueDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InternalOrderSettle : OrderSettleBase + { + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalFundBatchOrderSettle : OrderSettleBase + { + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundBatchOrderSettle : OrderSettleBase + { + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferOrderState : EntityBase + { + + private TransferOrderState targetStateField; + + private System.DateTime businessDateField; + + private System.Guid custodyAccountField; + + private decimal settleAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TransferOrderState TargetState + { + get + { + return this.targetStateField; + } + set + { + this.targetStateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid CustodyAccount + { + get + { + return this.custodyAccountField; + } + set + { + this.custodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal SettleAmount + { + get + { + return this.settleAmountField; + } + set + { + this.settleAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum TransferOrderState + { + + /// + AutomaticOrder_Rejected, + + /// + AutomaticOrder_Active, + + /// + AutomaticOrder_PendedCancel, + + /// + AutomaticOrder_Cancelled, + + /// + AutomaticOrder_ToBeCancelled, + + /// + AutomaticOrder_Finished, + + /// + AutomaticOrder_Placed, + + /// + AutomaticOrder_PrePlaced, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplateAvtaleGiro : EntityBase + { + + private decimal cashAmountField; + + private System.Guid transferReceiverIdField; + + private string commentField; + + private string statusKeyField; + + private System.Guid allocationProfileIdField; + + private System.DateTime businessDateField; + + private System.Nullable sendDateField; + + private System.Guid instrumentIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid AllocationProfileId + { + get + { + return this.allocationProfileIdField; + } + set + { + this.allocationProfileIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.DateTime BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable SendDate + { + get + { + return this.sendDateField; + } + set + { + this.sendDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.Guid InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceProductsResponseRow : EntityBase + { + + private System.Guid insuranceProductSupplierIdField; + + private System.Guid resellerIdField; + + private System.Guid brokerIdField; + + private System.Guid administratorIdField; + + private System.Guid accountManagerIdField; + + private System.Guid claimsAdjusterIdField; + + private string insuranceProductTypeKeyField; + + private string insuranceCategoryKeyField; + + private string keyField; + + private string nameField; + + private string descriptionStringField; + + private string productCodeField; + + private string statusKeyField; + + private string countryField; + + private decimal ruleOf12Field; + + private decimal ruleOf45Field; + + private decimal ruleOf78Field; + + private System.Guid currencyIdField; + + private decimal insuranceCommissionField; + + private decimal retentionField; + + private double profitShareField; + + private string termsNoField; + + private string termsURLField; + + private string productVersionField; + + private System.DateTime startDateField; + + private System.DateTime endDateField; + + private string maxTermField; + + private string insurableInterestField; + + private decimal grossPriceField; + + private string premiumBasedOnField; + + private decimal netPriceField; + + private int chargeIntervalField; + + private string saleMethodField; + + private string externalReferenceField; + + private string parametersField; + + private string commentField; + + private string dealTypeKeyField; + + private int periodOfNoticeField; + + private System.DateTime rAFApprovedDateField; + + private decimal insuranceTaxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InsuranceProductSupplierId + { + get + { + return this.insuranceProductSupplierIdField; + } + set + { + this.insuranceProductSupplierIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid BrokerId + { + get + { + return this.brokerIdField; + } + set + { + this.brokerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid AdministratorId + { + get + { + return this.administratorIdField; + } + set + { + this.administratorIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid AccountManagerId + { + get + { + return this.accountManagerIdField; + } + set + { + this.accountManagerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Guid ClaimsAdjusterId + { + get + { + return this.claimsAdjusterIdField; + } + set + { + this.claimsAdjusterIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string InsuranceProductTypeKey + { + get + { + return this.insuranceProductTypeKeyField; + } + set + { + this.insuranceProductTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string InsuranceCategoryKey + { + get + { + return this.insuranceCategoryKeyField; + } + set + { + this.insuranceCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string ProductCode + { + get + { + return this.productCodeField; + } + set + { + this.productCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public decimal RuleOf12 + { + get + { + return this.ruleOf12Field; + } + set + { + this.ruleOf12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public decimal RuleOf45 + { + get + { + return this.ruleOf45Field; + } + set + { + this.ruleOf45Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public decimal RuleOf78 + { + get + { + return this.ruleOf78Field; + } + set + { + this.ruleOf78Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public System.Guid CurrencyId + { + get + { + return this.currencyIdField; + } + set + { + this.currencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public decimal InsuranceCommission + { + get + { + return this.insuranceCommissionField; + } + set + { + this.insuranceCommissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public decimal Retention + { + get + { + return this.retentionField; + } + set + { + this.retentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public double ProfitShare + { + get + { + return this.profitShareField; + } + set + { + this.profitShareField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string TermsNo + { + get + { + return this.termsNoField; + } + set + { + this.termsNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public string TermsURL + { + get + { + return this.termsURLField; + } + set + { + this.termsURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public string ProductVersion + { + get + { + return this.productVersionField; + } + set + { + this.productVersionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.DateTime StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public System.DateTime EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public string MaxTerm + { + get + { + return this.maxTermField; + } + set + { + this.maxTermField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public string InsurableInterest + { + get + { + return this.insurableInterestField; + } + set + { + this.insurableInterestField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public decimal GrossPrice + { + get + { + return this.grossPriceField; + } + set + { + this.grossPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string PremiumBasedOn + { + get + { + return this.premiumBasedOnField; + } + set + { + this.premiumBasedOnField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public decimal NetPrice + { + get + { + return this.netPriceField; + } + set + { + this.netPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public int ChargeInterval + { + get + { + return this.chargeIntervalField; + } + set + { + this.chargeIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public string SaleMethod + { + get + { + return this.saleMethodField; + } + set + { + this.saleMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public string Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string DealTypeKey + { + get + { + return this.dealTypeKeyField; + } + set + { + this.dealTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public int PeriodOfNotice + { + get + { + return this.periodOfNoticeField; + } + set + { + this.periodOfNoticeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public System.DateTime RAFApprovedDate + { + get + { + return this.rAFApprovedDateField; + } + set + { + this.rAFApprovedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public decimal InsuranceTax + { + get + { + return this.insuranceTaxField; + } + set + { + this.insuranceTaxField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCustomFieldDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateCustomFieldDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteCustomFieldDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FixedAmountFeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AumPercentageFeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PerformancePercentageFeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DepositPercentageFeeRecordDto))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class DtoBase + { + + private bool isErrorField; + + private string[] errorMessagesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool IsError + { + get + { + return this.isErrorField; + } + set + { + this.isErrorField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] ErrorMessages + { + get + { + return this.errorMessagesField; + } + set + { + this.errorMessagesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateCustomFieldDto : DtoBase + { + + private System.Guid bfsEntityBrickIdField; + + private CustomField[] customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BfsEntityBrickId + { + get + { + return this.bfsEntityBrickIdField; + } + set + { + this.bfsEntityBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public CustomField[] CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteCustomFieldDto : DtoBase + { + + private System.Guid bfsEntityBrickIdField; + + private System.Guid customFieldBrickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BfsEntityBrickId + { + get + { + return this.bfsEntityBrickIdField; + } + set + { + this.bfsEntityBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid CustomFieldBrickId + { + get + { + return this.customFieldBrickIdField; + } + set + { + this.customFieldBrickIdField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FixedAmountFeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AumPercentageFeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PerformancePercentageFeeRecordDto))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DepositPercentageFeeRecordDto))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class FeeRecordDto : DtoBase + { + + private System.Guid idField; + + private System.Guid accountBrickIdField; + + private FeeRecordStatus feeRecordStatusField; + + private string currencyCodeField; + + private SellToCoverMethod sellToCoverMethodField; + + private PayerAccountTransactionDetails payerAccountTransactionDetailsField; + + private FeeReceiver[] feeReceiversField; + + private FrequencyDetails frequencyDetailsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Id + { + get + { + return this.idField; + } + set + { + this.idField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid AccountBrickId + { + get + { + return this.accountBrickIdField; + } + set + { + this.accountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public FeeRecordStatus FeeRecordStatus + { + get + { + return this.feeRecordStatusField; + } + set + { + this.feeRecordStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public SellToCoverMethod SellToCoverMethod + { + get + { + return this.sellToCoverMethodField; + } + set + { + this.sellToCoverMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public PayerAccountTransactionDetails PayerAccountTransactionDetails + { + get + { + return this.payerAccountTransactionDetailsField; + } + set + { + this.payerAccountTransactionDetailsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public FeeReceiver[] FeeReceivers + { + get + { + return this.feeReceiversField; + } + set + { + this.feeReceiversField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public FrequencyDetails FrequencyDetails + { + get + { + return this.frequencyDetailsField; + } + set + { + this.frequencyDetailsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum FeeRecordStatus + { + + /// + Undefined, + + /// + Active, + + /// + Inactive, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum SellToCoverMethod + { + + /// + Undefined, + + /// + All, + + /// + MissingCash, + + /// + None, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class PayerAccountTransactionDetails + { + + private string tradeTransactionTypeKeyField; + + private string settleTransactionTypeKeyField; + + private string transactionCommentField; + + private System.Guid accountBrickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string TradeTransactionTypeKey + { + get + { + return this.tradeTransactionTypeKeyField; + } + set + { + this.tradeTransactionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string SettleTransactionTypeKey + { + get + { + return this.settleTransactionTypeKeyField; + } + set + { + this.settleTransactionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TransactionComment + { + get + { + return this.transactionCommentField; + } + set + { + this.transactionCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid AccountBrickId + { + get + { + return this.accountBrickIdField; + } + set + { + this.accountBrickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FeeReceiver + { + + private System.Guid accountBrickIdField; + + private FeeReceiverType feeReceiverTypeField; + + private System.Nullable fixedAmountField; + + private System.Nullable percentageAmountField; + + private string tradeTransactionTypeKeyField; + + private string settleTransactionTypeKeyField; + + private string transactionCommentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AccountBrickId + { + get + { + return this.accountBrickIdField; + } + set + { + this.accountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public FeeReceiverType FeeReceiverType + { + get + { + return this.feeReceiverTypeField; + } + set + { + this.feeReceiverTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable FixedAmount + { + get + { + return this.fixedAmountField; + } + set + { + this.fixedAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable PercentageAmount + { + get + { + return this.percentageAmountField; + } + set + { + this.percentageAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string TradeTransactionTypeKey + { + get + { + return this.tradeTransactionTypeKeyField; + } + set + { + this.tradeTransactionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string SettleTransactionTypeKey + { + get + { + return this.settleTransactionTypeKeyField; + } + set + { + this.settleTransactionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string TransactionComment + { + get + { + return this.transactionCommentField; + } + set + { + this.transactionCommentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum FeeReceiverType + { + + /// + Undefined, + + /// + FixedAmount, + + /// + PercentageAmount, + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyDetailsOneTime))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyDetailsRecurring))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyDetailsEvent))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class FrequencyDetails + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyDetailsOneTime : FrequencyDetails + { + + private System.DateTime chargeDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime ChargeDate + { + get + { + return this.chargeDateField; + } + set + { + this.chargeDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyDetailsRecurring : FrequencyDetails + { + + private System.DateTime startDateField; + + private int everyField; + + private System.Nullable endDateField; + + private System.Nullable maximumRecurrencesField; + + private int createdRecurrencesField; + + private System.Nullable lastRecurrenceField; + + private FrequencyRepeatDetails frequencyRepeatDetailsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int Every + { + get + { + return this.everyField; + } + set + { + this.everyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable MaximumRecurrences + { + get + { + return this.maximumRecurrencesField; + } + set + { + this.maximumRecurrencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int CreatedRecurrences + { + get + { + return this.createdRecurrencesField; + } + set + { + this.createdRecurrencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable LastRecurrence + { + get + { + return this.lastRecurrenceField; + } + set + { + this.lastRecurrenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public FrequencyRepeatDetails FrequencyRepeatDetails + { + get + { + return this.frequencyRepeatDetailsField; + } + set + { + this.frequencyRepeatDetailsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyRepeatDetailsDay))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyRepeatDetailsWeek))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyRepeatDetailsMonth))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FrequencyRepeatDetailsYear))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class FrequencyRepeatDetails + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyRepeatDetailsDay : FrequencyRepeatDetails + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyRepeatDetailsWeek : FrequencyRepeatDetails + { + + private DayOfWeek[] onWeekdaysField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DayOfWeek[] OnWeekdays + { + get + { + return this.onWeekdaysField; + } + set + { + this.onWeekdaysField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum DayOfWeek + { + + /// + Sunday, + + /// + Monday, + + /// + Tuesday, + + /// + Wednesday, + + /// + Thursday, + + /// + Friday, + + /// + Saturday, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyRepeatDetailsMonth : FrequencyRepeatDetails + { + + private System.Nullable dayOfMonthField; + + private System.Nullable dayOrderField; + + private System.Nullable dayTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable DayOfMonth + { + get + { + return this.dayOfMonthField; + } + set + { + this.dayOfMonthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable DayOrder + { + get + { + return this.dayOrderField; + } + set + { + this.dayOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable DayType + { + get + { + return this.dayTypeField; + } + set + { + this.dayTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum DayOrder + { + + /// + Undefined, + + /// + First, + + /// + Second, + + /// + Third, + + /// + Fourth, + + /// + Last, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum DayType + { + + /// + Undefined, + + /// + Day, + + /// + Weekday, + + /// + WeekendDay, + + /// + Monday, + + /// + Tuesday, + + /// + Wednesday, + + /// + Thursday, + + /// + Friday, + + /// + Saturday, + + /// + Sunday, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyRepeatDetailsYear : FrequencyRepeatDetails + { + + private System.Nullable dayOfMonthField; + + private Month[] everyMonthField; + + private System.Nullable dayOrderField; + + private System.Nullable dayTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable DayOfMonth + { + get + { + return this.dayOfMonthField; + } + set + { + this.dayOfMonthField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Month[] EveryMonth + { + get + { + return this.everyMonthField; + } + set + { + this.everyMonthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable DayOrder + { + get + { + return this.dayOrderField; + } + set + { + this.dayOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable DayType + { + get + { + return this.dayTypeField; + } + set + { + this.dayTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum Month + { + + /// + Undefined, + + /// + January, + + /// + February, + + /// + March, + + /// + April, + + /// + May, + + /// + June, + + /// + July, + + /// + August, + + /// + September, + + /// + October, + + /// + November, + + /// + December, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FrequencyDetailsEvent : FrequencyDetails + { + + private System.DateTime startDateField; + + private System.Nullable endDateField; + + private System.Nullable maximumRecurrencesField; + + private int createdRecurrencesField; + + private System.Nullable lastRecurrenceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable MaximumRecurrences + { + get + { + return this.maximumRecurrencesField; + } + set + { + this.maximumRecurrencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int CreatedRecurrences + { + get + { + return this.createdRecurrencesField; + } + set + { + this.createdRecurrencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable LastRecurrence + { + get + { + return this.lastRecurrenceField; + } + set + { + this.lastRecurrenceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FixedAmountFeeRecordDto : FeeRecordDto + { + + private System.Nullable fixedAmountToPayField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable FixedAmountToPay + { + get + { + return this.fixedAmountToPayField; + } + set + { + this.fixedAmountToPayField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AumPercentageFeeRecordDto : FeeRecordDto + { + + private System.Nullable percentageAmountToPayField; + + private AumPercentageDetails aumPercentageDetailsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable PercentageAmountToPay + { + get + { + return this.percentageAmountToPayField; + } + set + { + this.percentageAmountToPayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public AumPercentageDetails AumPercentageDetails + { + get + { + return this.aumPercentageDetailsField; + } + set + { + this.aumPercentageDetailsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AumPercentageDetails + { + + private DayCountType dayCountTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public DayCountType DayCountType + { + get + { + return this.dayCountTypeField; + } + set + { + this.dayCountTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum DayCountType + { + + /// + Undefined, + + /// + ActualActual, + + /// + Actual360, + + /// + Actual365, + + /// + _30_360, + + /// + _30_365, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class PerformancePercentageFeeRecordDto : FeeRecordDto + { + + private System.Nullable percentageAmountToPayField; + + private HighWatermarkType highWatermarkTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable PercentageAmountToPay + { + get + { + return this.percentageAmountToPayField; + } + set + { + this.percentageAmountToPayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public HighWatermarkType HighWatermarkType + { + get + { + return this.highWatermarkTypeField; + } + set + { + this.highWatermarkTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum HighWatermarkType + { + + /// + Undefined, + + /// + IncludePerformanceFees, + + /// + OnlyPositions, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DepositPercentageFeeRecordDto : FeeRecordDto + { + + private System.Nullable percentageAmountToPayField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable PercentageAmountToPay + { + get + { + return this.percentageAmountToPayField; + } + set + { + this.percentageAmountToPayField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateCustomFieldResponse : ResponseBaseOfCreateCustomFieldDto + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateCustomFieldResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class ResponseBaseOfUpdateCustomFieldDto + { + + private UpdateCustomFieldDto[] entitiesField; + + private string messageField; + + private bool isErrorField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateCustomFieldDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool IsError + { + get + { + return this.isErrorField; + } + set + { + this.isErrorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateCustomFieldResponse : ResponseBaseOfUpdateCustomFieldDto + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteCustomFieldResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class ResponseBaseOfDeleteCustomFieldDto + { + + private DeleteCustomFieldDto[] entitiesField; + + private string messageField; + + private bool isErrorField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DeleteCustomFieldDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool IsError + { + get + { + return this.isErrorField; + } + set + { + this.isErrorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteCustomFieldResponse : ResponseBaseOfDeleteCustomFieldDto + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteFeeRecordResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFeeRecordResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFeeRecordResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeRecordResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class ResponseBaseOfFeeRecordDto + { + + private FeeRecordDto[] entitiesField; + + private string messageField; + + private bool isErrorField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FeeRecordDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool IsError + { + get + { + return this.isErrorField; + } + set + { + this.isErrorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFeeRecordResponse : ResponseBaseOfFeeRecordDto + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFeeRecordResponse : ResponseBaseOfFeeRecordDto + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFeeRecordResponse : ResponseBaseOfFeeRecordDto + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeRecordResponse : ResponseBaseOfFeeRecordDto + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class AutoGiroWithdrawal_CashOrderOut + { + + private string externalReferenceField; + + private System.Guid orderIdField; + + private string orderNoField; + + private decimal amountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WithdrawalTransferOrderSettlementResult + { + + private System.Guid idField; + + private bool isSettledField; + + private string messageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Id + { + get + { + return this.idField; + } + set + { + this.idField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool IsSettled + { + get + { + return this.isSettledField; + } + set + { + this.isSettledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Withdrawal_CashOrderOut + { + + private string externalReferenceField; + + private System.Guid orderIdField; + + private string orderNoField; + + private decimal amountField; + + private string currencyField; + + private string messageField; + + private string orderStatusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ResponseCert + { + + private long notBeforeField; + + private long notAfterField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public long NotBefore + { + get + { + return this.notBeforeField; + } + set + { + this.notBeforeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public long NotAfter + { + get + { + return this.notAfterField; + } + set + { + this.notAfterField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ResponseDevice + { + + private string ipAddressField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string IpAddress + { + get + { + return this.ipAddressField; + } + set + { + this.ipAddressField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ResponseUser + { + + private string personalNumberField; + + private string nameField; + + private string givenNameField; + + private string surnameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string GivenName + { + get + { + return this.givenNameField; + } + set + { + this.givenNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Surname + { + get + { + return this.surnameField; + } + set + { + this.surnameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CompletionData + { + + private ResponseUser userField; + + private ResponseDevice deviceField; + + private ResponseCert certField; + + private string signatureField; + + private string ocspResponseField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ResponseUser User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ResponseDevice Device + { + get + { + return this.deviceField; + } + set + { + this.deviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ResponseCert Cert + { + get + { + return this.certField; + } + set + { + this.certField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Signature + { + get + { + return this.signatureField; + } + set + { + this.signatureField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string OcspResponse + { + get + { + return this.ocspResponseField; + } + set + { + this.ocspResponseField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class QRCode + { + + private string codeField; + + private int timeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code + { + get + { + return this.codeField; + } + set + { + this.codeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int Time + { + get + { + return this.timeField; + } + set + { + this.timeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPositionResponseRow + { + + private System.Guid accountField; + + private System.Guid assetField; + + private System.DateTime balanceDateField; + + private decimal amountField; + + private string accountDimensionKeyField; + + private double priceField; + + private double fxRateField; + + private double baseRateField; + + private string displayCurrencyCodeField; + + private double marketValueField; + + private double marketValueAccountCurrencyField; + + private double marketValueDisplayCurrencyField; + + private bool displayPercentagePriceField; + + private decimal displayMultiplierField; + + private string assetTypeField; + + private double valueMultiplierField; + + private string accountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime BalanceDate + { + get + { + return this.balanceDateField; + } + set + { + this.balanceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string AccountDimensionKey + { + get + { + return this.accountDimensionKeyField; + } + set + { + this.accountDimensionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public double FxRate + { + get + { + return this.fxRateField; + } + set + { + this.fxRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public double BaseRate + { + get + { + return this.baseRateField; + } + set + { + this.baseRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public double MarketValue + { + get + { + return this.marketValueField; + } + set + { + this.marketValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public double MarketValueAccountCurrency + { + get + { + return this.marketValueAccountCurrencyField; + } + set + { + this.marketValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public double MarketValueDisplayCurrency + { + get + { + return this.marketValueDisplayCurrencyField; + } + set + { + this.marketValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public decimal DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string AssetType + { + get + { + return this.assetTypeField; + } + set + { + this.assetTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public double ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPositionResponseRow + { + + private System.Guid accountField; + + private System.Guid assetField; + + private System.DateTime balanceDateField; + + private decimal amountField; + + private double acquisitionValueField; + + private double acquisitionValueAccountCurrencyField; + + private System.DateTime openedField; + + private string accountDimensionKeyField; + + private double priceField; + + private double fxRateField; + + private double baseRateField; + + private string displayCurrencyCodeField; + + private double marketValueField; + + private double marketValueAccountCurrencyField; + + private double marketValueDisplayCurrencyField; + + private double previousMarketValueField; + + private double previousMarketValueDisplayCurrencyField; + + private double marketValueChangeField; + + private double acquisitionValueDisplayCurrencyField; + + private double acquisitionPriceField; + + private double acquisitionPriceAccountCurrencyField; + + private double acquisitionPriceDisplayCurrencyField; + + private double returnValueField; + + private double returnValueAccountCurrencyField; + + private double returnValueDisplayCurrencyField; + + private double returnPercentageField; + + private double returnPercentageAccountCurrencyField; + + private double returnPercentageDisplayCurrencyField; + + private double displayRateField; + + private decimal reservedAmountField; + + private decimal availableAmountField; + + private string assetTypeField; + + private double valueMultiplierField; + + private decimal displayMultiplierField; + + private bool displayPercentagePriceField; + + private string account_AccountNoField; + + private string accountTypeKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime BalanceDate + { + get + { + return this.balanceDateField; + } + set + { + this.balanceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public decimal Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public double AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public double AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime Opened + { + get + { + return this.openedField; + } + set + { + this.openedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string AccountDimensionKey + { + get + { + return this.accountDimensionKeyField; + } + set + { + this.accountDimensionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public double FxRate + { + get + { + return this.fxRateField; + } + set + { + this.fxRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public double BaseRate + { + get + { + return this.baseRateField; + } + set + { + this.baseRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public double MarketValue + { + get + { + return this.marketValueField; + } + set + { + this.marketValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public double MarketValueAccountCurrency + { + get + { + return this.marketValueAccountCurrencyField; + } + set + { + this.marketValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public double MarketValueDisplayCurrency + { + get + { + return this.marketValueDisplayCurrencyField; + } + set + { + this.marketValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public double PreviousMarketValue + { + get + { + return this.previousMarketValueField; + } + set + { + this.previousMarketValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public double PreviousMarketValueDisplayCurrency + { + get + { + return this.previousMarketValueDisplayCurrencyField; + } + set + { + this.previousMarketValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public double MarketValueChange + { + get + { + return this.marketValueChangeField; + } + set + { + this.marketValueChangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public double AcquisitionValueDisplayCurrency + { + get + { + return this.acquisitionValueDisplayCurrencyField; + } + set + { + this.acquisitionValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public double AcquisitionPrice + { + get + { + return this.acquisitionPriceField; + } + set + { + this.acquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public double AcquisitionPriceAccountCurrency + { + get + { + return this.acquisitionPriceAccountCurrencyField; + } + set + { + this.acquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public double AcquisitionPriceDisplayCurrency + { + get + { + return this.acquisitionPriceDisplayCurrencyField; + } + set + { + this.acquisitionPriceDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public double ReturnValue + { + get + { + return this.returnValueField; + } + set + { + this.returnValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public double ReturnValueAccountCurrency + { + get + { + return this.returnValueAccountCurrencyField; + } + set + { + this.returnValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public double ReturnValueDisplayCurrency + { + get + { + return this.returnValueDisplayCurrencyField; + } + set + { + this.returnValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public double ReturnPercentage + { + get + { + return this.returnPercentageField; + } + set + { + this.returnPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public double ReturnPercentageAccountCurrency + { + get + { + return this.returnPercentageAccountCurrencyField; + } + set + { + this.returnPercentageAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public double ReturnPercentageDisplayCurrency + { + get + { + return this.returnPercentageDisplayCurrencyField; + } + set + { + this.returnPercentageDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public double DisplayRate + { + get + { + return this.displayRateField; + } + set + { + this.displayRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public decimal ReservedAmount + { + get + { + return this.reservedAmountField; + } + set + { + this.reservedAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public decimal AvailableAmount + { + get + { + return this.availableAmountField; + } + set + { + this.availableAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public string AssetType + { + get + { + return this.assetTypeField; + } + set + { + this.assetTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public double ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public decimal DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public string Account_AccountNo + { + get + { + return this.account_AccountNoField; + } + set + { + this.account_AccountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public string AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRelatedFifoLotsResponseRow + { + + private System.Guid brickIdField; + + private System.Guid exitBusinessTransactionField; + + private System.Guid entryBusinessTransactionField; + + private double acquisitionValueField; + + private double acquisitionValueAccountCurrencyField; + + private decimal quantityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid ExitBusinessTransaction + { + get + { + return this.exitBusinessTransactionField; + } + set + { + this.exitBusinessTransactionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.Guid EntryBusinessTransaction + { + get + { + return this.entryBusinessTransactionField; + } + set + { + this.entryBusinessTransactionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public double AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public double AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public decimal Quantity + { + get + { + return this.quantityField; + } + set + { + this.quantityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHoldingsOverTimeResponseRow + { + + private System.DateTime dateField; + + private decimal valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Date + { + get + { + return this.dateField; + } + set + { + this.dateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public decimal Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateInsuranceClaim))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceClaimsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfInsuranceClaim))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceClaimsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInsuranceClaimsResponseRowGetInsuranceClaimsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceClaimsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInsuranceCoversResponseRowGetInsuranceCoversFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceCoversResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIActionTriggerResponseOfFundInstructions_Settle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundInstructions_SettleResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCreateTradingVenue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradingVenuesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTradingVenueResponseRowGetTradingVenueFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradingVenueResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFeeGroupResponseRowGetFeeGroupFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeGroupResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteFilesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteFileResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFileInfoResponseRowGetFileInfoFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileListResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFileResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetHistoricPricesResponseRowGetHistoricPricesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPricesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetRecurringOrderTemplatesResponseRowGetRecurringOrderTemplatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRecurringOrderTemplatesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateRecurringOrderTemplateAvtaleGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplatesAvtaleGiroResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfRecurringOrderTemplateAvtaleGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAvtaleGiroResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateRecurringOrderTemplateAutoGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAutoGiroResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfRecurringOrderTemplateAutoGiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAutoGiroResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateWorkflowInstance))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWorkflowInstanceResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateTransferReceiverState))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverStatesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateTransferReceiver))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiversResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfTransferReceiver))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTransferReceiversResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTransferReceiverResponseRowGetTransferReceiverFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferReceiversResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetBusinessTransactionTypeResponseRowGetBusinessTransactionTypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionTypeResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetOrderTypeResponseRowGetOrderTypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetOrderTypeResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetPOATypeResponseRowGetPOATypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOATypeResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAccountTypeResponseRowGetAccountTypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountTypeResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetCashResponseRowGetCashFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCashResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SetCurrencyValuesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetCurrencyValueResponseRowGetCurrencyValuesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyValueResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetCurrencyResponseRowGetCurrencyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SetHistoricPricesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateBusinessTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateBusinessTransactionsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateSuperTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSuperTransactionsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfCorrectionBusinessTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CorrectBusinessTransactionsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfSuperTransaction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateBusinessTransactionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetBusinessTransactionResponseRowGetBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetSuperTransactionResponseRowGetSuperTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSuperTransactionsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateWhiteLabel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWhiteLabelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfWhiteLabel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWhiteLabelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetWhiteLabelResponseRowGetWhiteLabelFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWhiteLabelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateAccount))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAccountsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfAccount))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAccountResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAccountResponseRowGetAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFundInstructionExecutionResponseRowGetFundInstructionExecutionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionExecutionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFundInstructionStatusLogResponseRowGetFundInstructionStatusLogFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionStatusLogResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFundInstructionResponseRowGetFundInstructionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetDecisionMakerResponseRowGetDecisionMakerFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDecisionMakerResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetBusinessEventResponseRowGetBusinessEventFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessEventResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetDealsResponseRowGetDealsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDealsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCreateFundBatchOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerResponseOfOld_ExternalFundBatchOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderSettleResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetExternalFundBatchOrdersResponseRowGetExternalFundBatchOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetExternalFundBatchOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFundBatchOrdersResponseRowGetFundBatchOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundBatchOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfAutoGiroDepositOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroDepositOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfAutoGiroWithdrawalOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroWithdrawalOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCancelAutoGiroOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelAutoGiroOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAutoGiroOrdersResponseRowGetAutoGiroOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAutoGiroOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfDirectBankWithdrawalOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDirectBankWithdrawalOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAllocationOrderResponseRowGetAllocationOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfSwitchOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSwitchOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetDepositTransferOrdersResponseRowGetDepositTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositTransferOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetDepositBatchTransferOrdersResponseRowGetDepositBatchTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositBatchTransferOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SettleWithdrawalTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetWithdrawalTransferOrdersResponseRowGetWithdrawalTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalTransferOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetWithdrawalBatchTransferOrdersResponseRowGetWithdrawalBatchTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalBatchTransferOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerResponseOfWithdrawalCashBatchOrder_Fill))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WithdrawalCashBatchOrder_FillResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfWithdrawalCashOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWithdrawalCashOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfDepositCashOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDepositCashOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfTradeBuyOrderFromAutogiro))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeBuyOrdersFromAutogiroResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCancelTradeOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelTradeOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfOrderSettleBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SettleOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfOrderExecuteBase))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTradeOrdersResponseRowGetTradeOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradeOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfTradeOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerResponseOfCurrencyExchangeOrder_Cancel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrder_CancelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetCurrencyExchangeOrderResponseRowGetCurrencyExchangeOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyExchangeOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCurrencyExchangeOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCurrencyExchangeOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetSubscriptionOrderResponseRowGetSubscriptionOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSubscriptionOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerResponseOfSubscriptionOrder_Process))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_ProcessResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerResponseOfSubscriptionOrder_Cancel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_CancelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateSubscriptionOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSubscriptionOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfSubscriptionOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSubscriptionOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIServiceActionResponseOfDeleteInternalTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteInternalTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIServiceActionResponseOfExecuteInternalTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteInternalTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfInternalInstrumentTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalInstrumentTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInternalInstrumentTransferOrderResponseRowGetInternalInstrumentTransferOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalInstrumentTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfInternalCashTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalCashTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInternalCashTransferOrderResponseRowGetInternalCashTransferOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalCashTransferOrderResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAlgorithmResponseRowGetAlgorithmFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAlgorithmResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBankIdStatusResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BankIdSignResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResetPasswordResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UsernamePasswordAuthenticateResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BankIdAuthenticateResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfAllocationProfile))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAllocationProfileResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfAllocationProfile))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAllocationProfileResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAllocationProfileResponseRowGetAllocationProfileFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationProfileResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfPOA))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePOAResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetPOAResponseRowGetPOAFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOAResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfManualExecutionInterfaceOld))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateManualExecutionInterfaceResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateInstrument))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInstrumentResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAssetAccountTypeLimitationResponseRowGetAssetAccountTypeLimitationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAssetAccountTypeLimitationResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfAssetAccountTypeLimitation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAssetAccountTypeLimitationResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfInstrument))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInstrumentResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInstrumentsResponseRowGetInstrumentsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsByNameResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetHistoricPositionResponseRowGetHistoricPositionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPositionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetPositionResponseRowGetPositionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPositionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfInactivatePerson))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InactivatePersonsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdatePerson))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdatePersonsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfPerson))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePersonResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateFundEntity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundEntitiesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfFundEntity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundEntityResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateFundCompany))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundCompaniesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfFundCompany))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundCompaniesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFundEntityResponseRowGetFundEntityFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFundCompaniesResponseRowGetFundCompaniesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetPersonResponseRowGetPersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateTaxWithholdingAgreement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaxWithholdingAgreementResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfTaxWithholdingAgreement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTaxWithholdingAgreementResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTaxWithholdingAgreementResponseRowGetTaxWithholdingAgreementFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTaxWithholdingAgreementResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetHouseInformationResponseRowGetHouseInformationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHouseInformationResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetBackgroundJobsResponseRowGetBackgroundJobsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBackgroundJobsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetRelatedFifoLotsResponseRowGetRelatedFifoLotsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRelatedFifoLotsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAvtaleGiroOrdersResponseRowGetAvtaleGiroOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvtaleGiroOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTransferOrdersResponseRowGetTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferOrdersResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateTransferOrderState))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferOrderStatesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetCountryResponseRowGetCountryFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCountryResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTransactionNoteResponseRowGetTransactionNoteFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransactionNoteResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIDeleteResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfReservation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateReservationResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetReservationResponseRowGetReservationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetReservationResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateTask))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaskResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCreateTask))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTasksResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTasksResponseRowGetTasksFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTasksResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateNote))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateNoteResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCreateNote))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateNotesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetNotesResponseRowGetNotesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetNotesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateMessage))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMessageResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCreateMessage))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateMessagesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetMessagesResponseRowGetMessagesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetMessagesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetFailedWebhookResponseRowGetFailedWebhookFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFailedWebhookResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfDeleteWebhookSubscription))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteWebhookSubscriptionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfCreateWebhookSubscription))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWebhookSubscriptionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetAvailableWebhookEventResponseRowGetAvailableWebhookEventFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvailableWebhookEventResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetWebhookSubscriptionResponseRowGetWebhookSubscriptionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWebhookSubscriptionResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetHoldingsOverTimeResponseRowGetHoldingsOverTimeResponseFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHoldingsOverTimeResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetTRSCountriesResponseRowGetTRSCountriesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTRSCountriesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateInsurancePolicy))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsurancePoliciesResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfInsurancePolicy))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsurancePolicyResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInsurancePolicyResponseRowGetInsurancePolicyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsurancePolicyResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateResponseOfUpdateInsuranceProduct))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceProductsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateResponseOfInsuranceProduct))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceProductsResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchResponseOfGetInsuranceProductsResponseRowGetInsuranceProductsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceProductsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class Response + { + + private string messageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceClaimsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateInsuranceClaim : Response + { + + private UpdateInsuranceClaim[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInsuranceClaim[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceClaimsResponse : APIUpdateResponseOfUpdateInsuranceClaim + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceClaimsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfInsuranceClaim : Response + { + + private InsuranceClaim[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InsuranceClaim[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInsuranceClaimsResponse : APICreateResponseOfInsuranceClaim + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceClaimsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInsuranceClaimsResponseRowGetInsuranceClaimsFields : Response + { + + private GetInsuranceClaimsResponseRow[] resultField; + + private GetInsuranceClaimsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInsuranceClaimsResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsuranceClaimsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceClaimsFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool insurancePolicyIdField; + + private bool insuranceProductIdField; + + private bool insuranceProductNameField; + + private bool insuranceCoverIdField; + + private bool benefitGrantField; + + private bool personIdField; + + private bool systemDateField; + + private bool receiveDateField; + + private bool claimDateField; + + private bool claimNoField; + + private bool statusField; + + private bool priorityField; + + private bool rejectReasonField; + + private bool commentField; + + private bool xmlFormFillOutField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool InsurancePolicyId + { + get + { + return this.insurancePolicyIdField; + } + set + { + this.insurancePolicyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool InsuranceProductId + { + get + { + return this.insuranceProductIdField; + } + set + { + this.insuranceProductIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool InsuranceProductName + { + get + { + return this.insuranceProductNameField; + } + set + { + this.insuranceProductNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool InsuranceCoverId + { + get + { + return this.insuranceCoverIdField; + } + set + { + this.insuranceCoverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool BenefitGrant + { + get + { + return this.benefitGrantField; + } + set + { + this.benefitGrantField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool SystemDate + { + get + { + return this.systemDateField; + } + set + { + this.systemDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ClaimDate + { + get + { + return this.claimDateField; + } + set + { + this.claimDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool ClaimNo + { + get + { + return this.claimNoField; + } + set + { + this.claimNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool RejectReason + { + get + { + return this.rejectReasonField; + } + set + { + this.rejectReasonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool XmlFormFillOut + { + get + { + return this.xmlFormFillOutField; + } + set + { + this.xmlFormFillOutField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceClaimsResponse : APISearchResponseOfGetInsuranceClaimsResponseRowGetInsuranceClaimsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceCoversResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInsuranceCoversResponseRowGetInsuranceCoversFields : Response + { + + private GetInsuranceCoversResponseRow[] resultField; + + private GetInsuranceCoversFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInsuranceCoversResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsuranceCoversFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceCoversFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool keyField; + + private bool labelField; + + private bool nameField; + + private bool descriptionStringField; + + private bool statusField; + + private bool qualificationPeriodField; + + private bool reQualificationPeriodField; + + private bool qualifyingPeriodField; + + private bool compensationTypeField; + + private bool maxCompensationField; + + private bool minSubscriptionAgeField; + + private bool maxSubscriptionAgeField; + + private bool maxAgeField; + + private bool deductibleField; + + private bool commentField; + + private bool xmlFormTemplateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool QualificationPeriod + { + get + { + return this.qualificationPeriodField; + } + set + { + this.qualificationPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool ReQualificationPeriod + { + get + { + return this.reQualificationPeriodField; + } + set + { + this.reQualificationPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool QualifyingPeriod + { + get + { + return this.qualifyingPeriodField; + } + set + { + this.qualifyingPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool CompensationType + { + get + { + return this.compensationTypeField; + } + set + { + this.compensationTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool MaxCompensation + { + get + { + return this.maxCompensationField; + } + set + { + this.maxCompensationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool MinSubscriptionAge + { + get + { + return this.minSubscriptionAgeField; + } + set + { + this.minSubscriptionAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool MaxSubscriptionAge + { + get + { + return this.maxSubscriptionAgeField; + } + set + { + this.maxSubscriptionAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool MaxAge + { + get + { + return this.maxAgeField; + } + set + { + this.maxAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool Deductible + { + get + { + return this.deductibleField; + } + set + { + this.deductibleField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool XmlFormTemplate + { + get + { + return this.xmlFormTemplateField; + } + set + { + this.xmlFormTemplateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceCoversResponse : APISearchResponseOfGetInsuranceCoversResponseRowGetInsuranceCoversFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundInstructions_SettleResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIActionTriggerResponseOfFundInstructions_Settle : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundInstructions_SettleResponse : APIActionTriggerResponseOfFundInstructions_Settle + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradingVenuesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCreateTradingVenue : Response + { + + private CreateTradingVenue[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateTradingVenue[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradingVenuesResponse : APICreateResponseOfCreateTradingVenue + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradingVenueResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTradingVenueResponseRowGetTradingVenueFields : Response + { + + private GetTradingVenueResponseRow[] resultField; + + private GetTradingVenueFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTradingVenueResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTradingVenueFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradingVenueFields : FieldBase + { + + private bool brickIdField; + + private bool nameField; + + private bool mICField; + + private bool createdDateField; + + private bool shortNameField; + + private bool isTradingVenueField; + + private bool isMarketField; + + private bool isInternalField; + + private bool tRSCountryField; + + private bool countryField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool MIC + { + get + { + return this.mICField; + } + set + { + this.mICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ShortName + { + get + { + return this.shortNameField; + } + set + { + this.shortNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsTradingVenue + { + get + { + return this.isTradingVenueField; + } + set + { + this.isTradingVenueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsMarket + { + get + { + return this.isMarketField; + } + set + { + this.isMarketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsInternal + { + get + { + return this.isInternalField; + } + set + { + this.isInternalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradingVenueFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileInfoFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRecurringOrderTemplatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplatesAvtaleGiroFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAutoGiroFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWorkflowInstanceFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverStatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferReceiverFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSuperTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDecisionMakerFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessEventFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAutoGiroOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradeOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyExchangeOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSubscriptionOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSubscriptionOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalInstrumentTransferOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalCashTransferOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAlgorithmFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAllocationProfileFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationProfileFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOAFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInstrumentFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdatePersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundEntityFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundCompanyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaxWithholdingAgreementFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTaxWithholdingAgreementFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHouseInformationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvtaleGiroOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferOrderStatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeRecordFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCountryFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransactionNoteFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetReservationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaskFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTasksFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateNoteFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetNotesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMessageFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetMessagesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFailedWebhookFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvailableWebhookEventFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWebhookSubscriptionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsurancePolicyFields))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class FieldBase + { + + private bool customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileInfoFields : FieldBase + { + + private bool brickIdField; + + private bool filePermissionField; + + private bool fileContentTypeField; + + private bool nameField; + + private bool createdDateField; + + private bool fileSizeField; + + private bool fileContextField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FilePermission + { + get + { + return this.filePermissionField; + } + set + { + this.filePermissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool FileContentType + { + get + { + return this.fileContentTypeField; + } + set + { + this.fileContentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool FileSize + { + get + { + return this.fileSizeField; + } + set + { + this.fileSizeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool FileContext + { + get + { + return this.fileContextField; + } + set + { + this.fileContextField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRecurringOrderTemplatesFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool periodicityCodeField; + + private bool orderNoField; + + private bool accountIdField; + + private bool dayField; + + private bool transferReceiverField; + + private bool statusKeyField; + + private bool amountField; + + private bool businessDateField; + + private bool isRecurringOrderField; + + private bool currencyCodeField; + + private bool instrumentField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool PeriodicityCode + { + get + { + return this.periodicityCodeField; + } + set + { + this.periodicityCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool IsRecurringOrder + { + get + { + return this.isRecurringOrderField; + } + set + { + this.isRecurringOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplatesAvtaleGiroFields : FieldBase + { + + private bool accountField; + + private bool cashAmountField; + + private bool transferReceiverIdField; + + private bool businessDateField; + + private bool commentField; + + private bool instrumentIdField; + + private bool sendDateField; + + private bool statusKeyField; + + private bool allocationProfileIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SendDate + { + get + { + return this.sendDateField; + } + set + { + this.sendDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool AllocationProfileId + { + get + { + return this.allocationProfileIdField; + } + set + { + this.allocationProfileIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplateAutoGiroFields : FieldBase + { + + private bool businessDateField; + + private bool cashAmountField; + + private bool transferReceiverField; + + private bool commentField; + + private bool statusKeyField; + + private bool executionInterfaceKeyField; + + private bool isUnitOrderField; + + private bool limitPriceField; + + private bool decisionMakerWithinFirmField; + + private bool dayField; + + private bool monthField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Month + { + get + { + return this.monthField; + } + set + { + this.monthField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWorkflowInstanceFields : FieldBase + { + + private bool currentStateKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool CurrentStateKey + { + get + { + return this.currentStateKeyField; + } + set + { + this.currentStateKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiverStatesFields : FieldBase + { + + private bool targetStateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool TargetState + { + get + { + return this.targetStateField; + } + set + { + this.targetStateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiverFields : FieldBase + { + + private bool nameField; + + private bool commentField; + + private bool batchOrdersField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferReceiverFields : FieldBase + { + + private bool brickIdField; + + private bool personField; + + private bool transferReceiverTypeKeyField; + + private bool nameField; + + private bool bankNameField; + + private bool commentField; + + private bool batchOrdersField; + + private bool accountNoField; + + private bool counterPartyClearingNoField; + + private bool counterPartyAccountNoField; + + private bool payerNumberField; + + private bool iBANField; + + private bool bICField; + + private bool counterpartyBrickIdField; + + private bool counterpartyNameField; + + private bool createdDateField; + + private bool stateField; + + private bool bankGiroNumberField; + + private bool kIDField; + + private bool statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool TransferReceiverTypeKey + { + get + { + return this.transferReceiverTypeKeyField; + } + set + { + this.transferReceiverTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BankName + { + get + { + return this.bankNameField; + } + set + { + this.bankNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool CounterPartyClearingNo + { + get + { + return this.counterPartyClearingNoField; + } + set + { + this.counterPartyClearingNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool CounterPartyAccountNo + { + get + { + return this.counterPartyAccountNoField; + } + set + { + this.counterPartyAccountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool PayerNumber + { + get + { + return this.payerNumberField; + } + set + { + this.payerNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool CounterpartyBrickId + { + get + { + return this.counterpartyBrickIdField; + } + set + { + this.counterpartyBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool CounterpartyName + { + get + { + return this.counterpartyNameField; + } + set + { + this.counterpartyNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool BankGiroNumber + { + get + { + return this.bankGiroNumberField; + } + set + { + this.bankGiroNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool KID + { + get + { + return this.kIDField; + } + set + { + this.kIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateBusinessTransactionFields : FieldBase + { + + private bool reconciliationStatusField; + + private bool superTransactionCustomFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool ReconciliationStatus + { + get + { + return this.reconciliationStatusField; + } + set + { + this.reconciliationStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool SuperTransactionCustomFields + { + get + { + return this.superTransactionCustomFieldsField; + } + set + { + this.superTransactionCustomFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSuperTransactionFields : FieldBase + { + + private bool noteIdField; + + private bool batchIdField; + + private bool orderIdField; + + private bool businessEventIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool BatchId + { + get + { + return this.batchIdField; + } + set + { + this.batchIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAccountFields : FieldBase + { + + private bool ownerAccountLabelField; + + private bool accountStatusField; + + private bool closeDateField; + + private bool closeCommentField; + + private bool externalReferenceField; + + private bool allocationProfileField; + + private bool accountCommentField; + + private bool insuranceOwnerField; + + private bool insuredField; + + private bool insurancePayerField; + + private bool contactLegalEntityField; + + private bool iBANField; + + private bool firstPaymentAgeField; + + private bool paymentIntervalKeyField; + + private bool paymentLengthField; + + private bool payoutsField; + + private bool payoutsLeftField; + + private bool firstPaymentDateField; + + private bool highWaterMarkField; + + private bool resellerNoField; + + private bool decisionMakerField; + + private bool lockedStatusKeyField; + + private bool isSubjectToContinuousInvestmentAdviceField; + + private bool counterpartyAccountTypeField; + + private bool custodianBrickIdField; + + private bool discountGroupIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool OwnerAccountLabel + { + get + { + return this.ownerAccountLabelField; + } + set + { + this.ownerAccountLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool AccountStatus + { + get + { + return this.accountStatusField; + } + set + { + this.accountStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CloseDate + { + get + { + return this.closeDateField; + } + set + { + this.closeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CloseComment + { + get + { + return this.closeCommentField; + } + set + { + this.closeCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AllocationProfile + { + get + { + return this.allocationProfileField; + } + set + { + this.allocationProfileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AccountComment + { + get + { + return this.accountCommentField; + } + set + { + this.accountCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool InsuranceOwner + { + get + { + return this.insuranceOwnerField; + } + set + { + this.insuranceOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Insured + { + get + { + return this.insuredField; + } + set + { + this.insuredField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool InsurancePayer + { + get + { + return this.insurancePayerField; + } + set + { + this.insurancePayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ContactLegalEntity + { + get + { + return this.contactLegalEntityField; + } + set + { + this.contactLegalEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool FirstPaymentAge + { + get + { + return this.firstPaymentAgeField; + } + set + { + this.firstPaymentAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool PaymentIntervalKey + { + get + { + return this.paymentIntervalKeyField; + } + set + { + this.paymentIntervalKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool PaymentLength + { + get + { + return this.paymentLengthField; + } + set + { + this.paymentLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool Payouts + { + get + { + return this.payoutsField; + } + set + { + this.payoutsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool PayoutsLeft + { + get + { + return this.payoutsLeftField; + } + set + { + this.payoutsLeftField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool FirstPaymentDate + { + get + { + return this.firstPaymentDateField; + } + set + { + this.firstPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool HighWaterMark + { + get + { + return this.highWaterMarkField; + } + set + { + this.highWaterMarkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool DecisionMaker + { + get + { + return this.decisionMakerField; + } + set + { + this.decisionMakerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool LockedStatusKey + { + get + { + return this.lockedStatusKeyField; + } + set + { + this.lockedStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool IsSubjectToContinuousInvestmentAdvice + { + get + { + return this.isSubjectToContinuousInvestmentAdviceField; + } + set + { + this.isSubjectToContinuousInvestmentAdviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool CounterpartyAccountType + { + get + { + return this.counterpartyAccountTypeField; + } + set + { + this.counterpartyAccountTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool CustodianBrickId + { + get + { + return this.custodianBrickIdField; + } + set + { + this.custodianBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool DiscountGroupId + { + get + { + return this.discountGroupIdField; + } + set + { + this.discountGroupIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool accountNoField; + + private bool baseCurrencyCodeField; + + private bool ownerAccountLabelField; + + private bool ownerField; + + private bool accountTypeKeyField; + + private bool accountWorldField; + + private bool accountStatusField; + + private bool externalReferenceField; + + private bool resellerField; + + private bool allocationProfileField; + + private bool resellerNoField; + + private bool accountCommentField; + + private bool insuranceOwnerField; + + private bool insuredField; + + private bool insurancePayerField; + + private bool contactLegalEntityField; + + private bool iBANField; + + private bool firstPaymentAgeField; + + private bool paymentIntervalKeyField; + + private bool paymentLengthField; + + private bool payoutsField; + + private bool payoutsLeftField; + + private bool firstPaymentDateField; + + private bool highWaterMarkField; + + private bool decisionMakerField; + + private bool lockedStatusKeyField; + + private bool isSubjectToContinuousInvestmentAdviceField; + + private bool custodianBrickIdField; + + private bool counterpartyAccountTypeField; + + private bool discountGroupIdField; + + private bool closeDateField; + + private bool closeCommentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BaseCurrencyCode + { + get + { + return this.baseCurrencyCodeField; + } + set + { + this.baseCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool OwnerAccountLabel + { + get + { + return this.ownerAccountLabelField; + } + set + { + this.ownerAccountLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool AccountWorld + { + get + { + return this.accountWorldField; + } + set + { + this.accountWorldField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool AccountStatus + { + get + { + return this.accountStatusField; + } + set + { + this.accountStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool AllocationProfile + { + get + { + return this.allocationProfileField; + } + set + { + this.allocationProfileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool AccountComment + { + get + { + return this.accountCommentField; + } + set + { + this.accountCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool InsuranceOwner + { + get + { + return this.insuranceOwnerField; + } + set + { + this.insuranceOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool Insured + { + get + { + return this.insuredField; + } + set + { + this.insuredField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool InsurancePayer + { + get + { + return this.insurancePayerField; + } + set + { + this.insurancePayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool ContactLegalEntity + { + get + { + return this.contactLegalEntityField; + } + set + { + this.contactLegalEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool IBAN + { + get + { + return this.iBANField; + } + set + { + this.iBANField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool FirstPaymentAge + { + get + { + return this.firstPaymentAgeField; + } + set + { + this.firstPaymentAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool PaymentIntervalKey + { + get + { + return this.paymentIntervalKeyField; + } + set + { + this.paymentIntervalKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool PaymentLength + { + get + { + return this.paymentLengthField; + } + set + { + this.paymentLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool Payouts + { + get + { + return this.payoutsField; + } + set + { + this.payoutsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool PayoutsLeft + { + get + { + return this.payoutsLeftField; + } + set + { + this.payoutsLeftField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool FirstPaymentDate + { + get + { + return this.firstPaymentDateField; + } + set + { + this.firstPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool HighWaterMark + { + get + { + return this.highWaterMarkField; + } + set + { + this.highWaterMarkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool DecisionMaker + { + get + { + return this.decisionMakerField; + } + set + { + this.decisionMakerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool LockedStatusKey + { + get + { + return this.lockedStatusKeyField; + } + set + { + this.lockedStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool IsSubjectToContinuousInvestmentAdvice + { + get + { + return this.isSubjectToContinuousInvestmentAdviceField; + } + set + { + this.isSubjectToContinuousInvestmentAdviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool CustodianBrickId + { + get + { + return this.custodianBrickIdField; + } + set + { + this.custodianBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool CounterpartyAccountType + { + get + { + return this.counterpartyAccountTypeField; + } + set + { + this.counterpartyAccountTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool DiscountGroupId + { + get + { + return this.discountGroupIdField; + } + set + { + this.discountGroupIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool CloseDate + { + get + { + return this.closeDateField; + } + set + { + this.closeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool CloseComment + { + get + { + return this.closeCommentField; + } + set + { + this.closeCommentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDecisionMakerFields : FieldBase + { + + private bool brickIdField; + + private bool personField; + + private bool orderField; + + private bool commentField; + + private bool isHouseField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Order + { + get + { + return this.orderField; + } + set + { + this.orderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsHouse + { + get + { + return this.isHouseField; + } + set + { + this.isHouseField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessEventFields : FieldBase + { + + private bool brickIdField; + + private bool descriptionField; + + private bool executionInterfaceSettingKeyField; + + private bool cashField; + + private bool instrumentField; + + private bool accountField; + + private bool businessEventNoField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Description + { + get + { + return this.descriptionField; + } + set + { + this.descriptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool ExecutionInterfaceSettingKey + { + get + { + return this.executionInterfaceSettingKeyField; + } + set + { + this.executionInterfaceSettingKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool BusinessEventNo + { + get + { + return this.businessEventNoField; + } + set + { + this.businessEventNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAutoGiroOrdersFields : FieldBase + { + + private bool brickIdField; + + private bool accountIdField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool currencyCodeField; + + private bool autogiroOrderStatusField; + + private bool autogiroOrderNumberField; + + private bool settlementDateField; + + private bool externalReferenceField; + + private bool batchOrderNumberField; + + private bool transferReceiverIdField; + + private bool autoGiroResponseCodeField; + + private bool recurringOrderTemplateIdsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AutogiroOrderStatus + { + get + { + return this.autogiroOrderStatusField; + } + set + { + this.autogiroOrderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AutogiroOrderNumber + { + get + { + return this.autogiroOrderNumberField; + } + set + { + this.autogiroOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool BatchOrderNumber + { + get + { + return this.batchOrderNumberField; + } + set + { + this.batchOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool AutoGiroResponseCode + { + get + { + return this.autoGiroResponseCodeField; + } + set + { + this.autoGiroResponseCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool RecurringOrderTemplateIds + { + get + { + return this.recurringOrderTemplateIdsField; + } + set + { + this.recurringOrderTemplateIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositTransferOrdersFields : FieldBase + { + + private bool brickIdField; + + private bool transferOrderTypeField; + + private bool accountField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool currencyCodeField; + + private bool stateField; + + private bool orderNoField; + + private bool settlementDateField; + + private bool externalReferenceField; + + private bool batchOrderNoField; + + private bool transferReceiverField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TransferOrderType + { + get + { + return this.transferOrderTypeField; + } + set + { + this.transferOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool BatchOrderNo + { + get + { + return this.batchOrderNoField; + } + set + { + this.batchOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalTransferOrdersFields : FieldBase + { + + private bool brickIdField; + + private bool transferOrderTypeField; + + private bool accountField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool currencyCodeField; + + private bool stateField; + + private bool orderNoField; + + private bool settlementDateField; + + private bool externalReferenceField; + + private bool batchOrderNoField; + + private bool transferReceiverField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TransferOrderType + { + get + { + return this.transferOrderTypeField; + } + set + { + this.transferOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool BatchOrderNo + { + get + { + return this.batchOrderNoField; + } + set + { + this.batchOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradeOrderFields : FieldBase + { + + private bool brickIdField; + + private bool tradeOrderTypeField; + + private bool accountField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool instrumentAmountField; + + private bool tradeOrderDirectionKeyField; + + private bool instrumentField; + + private bool displayPercentagePriceField; + + private bool displayMultiplierField; + + private bool cashField; + + private bool priceField; + + private bool stateField; + + private bool executionInterfaceField; + + private bool executionInterfaceKeyField; + + private bool isUnitOrderField; + + private bool isNominalValueOrderEntryField; + + private bool orderNoField; + + private bool limitPriceField; + + private bool externalReferenceField; + + private bool allocationInstanceField; + + private bool allocationOrderField; + + private bool isPrePayedField; + + private bool orderSettlementTypeField; + + private bool tradeDateField; + + private bool settlementDateField; + + private bool orderDateAndTimeField; + + private bool externalFundBatchOrderField; + + private bool cashTradeDateField; + + private bool instrumentTradeDateField; + + private bool cashSettlementDateField; + + private bool instrumentSettlementDateField; + + private bool sellTypeField; + + private bool shortSellingIndicatorField; + + private bool decisionMakerWithinFirmField; + + private bool feeAmountField; + + private bool orderFeeCategoriesField; + + private bool orderTypeKeyField; + + private bool resellerField; + + private bool filledCashAmountField; + + private bool filledInstrumentAmountField; + + private bool fourEyesStatusField; + + private bool subscriptionOrderIdField; + + private bool fundBatchOrderField; + + private bool businessEventIdField; + + private bool noteIdField; + + private bool linkedOrderInfoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TradeOrderType + { + get + { + return this.tradeOrderTypeField; + } + set + { + this.tradeOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool IsNominalValueOrderEntry + { + get + { + return this.isNominalValueOrderEntryField; + } + set + { + this.isNominalValueOrderEntryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool AllocationInstance + { + get + { + return this.allocationInstanceField; + } + set + { + this.allocationInstanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool AllocationOrder + { + get + { + return this.allocationOrderField; + } + set + { + this.allocationOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool OrderSettlementType + { + get + { + return this.orderSettlementTypeField; + } + set + { + this.orderSettlementTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool OrderDateAndTime + { + get + { + return this.orderDateAndTimeField; + } + set + { + this.orderDateAndTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool ExternalFundBatchOrder + { + get + { + return this.externalFundBatchOrderField; + } + set + { + this.externalFundBatchOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool CashTradeDate + { + get + { + return this.cashTradeDateField; + } + set + { + this.cashTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool InstrumentTradeDate + { + get + { + return this.instrumentTradeDateField; + } + set + { + this.instrumentTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool CashSettlementDate + { + get + { + return this.cashSettlementDateField; + } + set + { + this.cashSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool InstrumentSettlementDate + { + get + { + return this.instrumentSettlementDateField; + } + set + { + this.instrumentSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool SellType + { + get + { + return this.sellTypeField; + } + set + { + this.sellTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool ShortSellingIndicator + { + get + { + return this.shortSellingIndicatorField; + } + set + { + this.shortSellingIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool FeeAmount + { + get + { + return this.feeAmountField; + } + set + { + this.feeAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool OrderTypeKey + { + get + { + return this.orderTypeKeyField; + } + set + { + this.orderTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool FilledCashAmount + { + get + { + return this.filledCashAmountField; + } + set + { + this.filledCashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool FilledInstrumentAmount + { + get + { + return this.filledInstrumentAmountField; + } + set + { + this.filledInstrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool FourEyesStatus + { + get + { + return this.fourEyesStatusField; + } + set + { + this.fourEyesStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool SubscriptionOrderId + { + get + { + return this.subscriptionOrderIdField; + } + set + { + this.subscriptionOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool FundBatchOrder + { + get + { + return this.fundBatchOrderField; + } + set + { + this.fundBatchOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool LinkedOrderInfo + { + get + { + return this.linkedOrderInfoField; + } + set + { + this.linkedOrderInfoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyExchangeOrderFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool orderNoField; + + private bool accountIdField; + + private bool executionInterfaceIdField; + + private bool stateField; + + private bool legalEntityIdField; + + private bool commentField; + + private bool buyAmountField; + + private bool sellAmountField; + + private bool orderDirectionKeyField; + + private bool sellCashAssetBrickIdField; + + private bool buyCashAssetBrickIdField; + + private bool currencyExchangeBatchOrderField; + + private bool allocationOrderField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool LegalEntityId + { + get + { + return this.legalEntityIdField; + } + set + { + this.legalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool BuyAmount + { + get + { + return this.buyAmountField; + } + set + { + this.buyAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool SellAmount + { + get + { + return this.sellAmountField; + } + set + { + this.sellAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool OrderDirectionKey + { + get + { + return this.orderDirectionKeyField; + } + set + { + this.orderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool SellCashAssetBrickId + { + get + { + return this.sellCashAssetBrickIdField; + } + set + { + this.sellCashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool BuyCashAssetBrickId + { + get + { + return this.buyCashAssetBrickIdField; + } + set + { + this.buyCashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool CurrencyExchangeBatchOrder + { + get + { + return this.currencyExchangeBatchOrderField; + } + set + { + this.currencyExchangeBatchOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool AllocationOrder + { + get + { + return this.allocationOrderField; + } + set + { + this.allocationOrderField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSubscriptionOrderFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool limitPriceField; + + private bool overrideCommissionAmountField; + + private bool commissionAmountField; + + private bool cashAmountField; + + private bool instrumentAmountField; + + private bool orderNoField; + + private bool orderTypeKeyField; + + private bool instrumentIdField; + + private bool cashIdField; + + private bool accountIdField; + + private bool isUnitOrderField; + + private bool displayPercentagePriceField; + + private bool displayMultiplierField; + + private bool executionInterfaceIdField; + + private bool stateField; + + private bool lastPaymentDateField; + + private bool legalEntityIdField; + + private bool isDVPField; + + private bool transferReceiverIdField; + + private bool commentField; + + private bool externalReferenceField; + + private bool expectedTradeDateField; + + private bool expectedSettlementDateField; + + private bool orderFeeCategoriesField; + + private bool feeAmountField; + + private bool resellerField; + + private bool reservationItemsField; + + private bool tradeOrderIdField; + + private bool transferReceiverIdForCollectingFinancingField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool OverrideCommissionAmount + { + get + { + return this.overrideCommissionAmountField; + } + set + { + this.overrideCommissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CommissionAmount + { + get + { + return this.commissionAmountField; + } + set + { + this.commissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool OrderTypeKey + { + get + { + return this.orderTypeKeyField; + } + set + { + this.orderTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool CashId + { + get + { + return this.cashIdField; + } + set + { + this.cashIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool LastPaymentDate + { + get + { + return this.lastPaymentDateField; + } + set + { + this.lastPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool LegalEntityId + { + get + { + return this.legalEntityIdField; + } + set + { + this.legalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool IsDVP + { + get + { + return this.isDVPField; + } + set + { + this.isDVPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool ExpectedTradeDate + { + get + { + return this.expectedTradeDateField; + } + set + { + this.expectedTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool ExpectedSettlementDate + { + get + { + return this.expectedSettlementDateField; + } + set + { + this.expectedSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool FeeAmount + { + get + { + return this.feeAmountField; + } + set + { + this.feeAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool ReservationItems + { + get + { + return this.reservationItemsField; + } + set + { + this.reservationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool TradeOrderId + { + get + { + return this.tradeOrderIdField; + } + set + { + this.tradeOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool TransferReceiverIdForCollectingFinancing + { + get + { + return this.transferReceiverIdForCollectingFinancingField; + } + set + { + this.transferReceiverIdForCollectingFinancingField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSubscriptionOrderFields : FieldBase + { + + private bool accountField; + + private bool cashCurrencyCodeField; + + private bool instrumentField; + + private bool cashAmountField; + + private bool instrumentAmountField; + + private bool executionInterfaceSettingKeyField; + + private bool isUnitOrderField; + + private bool reserveAssetsField; + + private bool limitPriceField; + + private bool lastPaymentDateField; + + private bool commissionAmountField; + + private bool overrideCommissionAmountField; + + private bool externalReferenceField; + + private bool isDVPField; + + private bool expectedTradeDateField; + + private bool expectedSettlementDateField; + + private bool commentField; + + private bool orderFeeCategoriesField; + + private bool resellerField; + + private bool transferReceiverField; + + private bool autoGiroPaymentMetodField; + + private bool businessDateField; + + private bool decisionMakerWithinFirmField; + + private bool transferReceiverForCollectingFinancingField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CashCurrencyCode + { + get + { + return this.cashCurrencyCodeField; + } + set + { + this.cashCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ExecutionInterfaceSettingKey + { + get + { + return this.executionInterfaceSettingKeyField; + } + set + { + this.executionInterfaceSettingKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ReserveAssets + { + get + { + return this.reserveAssetsField; + } + set + { + this.reserveAssetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool LimitPrice + { + get + { + return this.limitPriceField; + } + set + { + this.limitPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool LastPaymentDate + { + get + { + return this.lastPaymentDateField; + } + set + { + this.lastPaymentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool CommissionAmount + { + get + { + return this.commissionAmountField; + } + set + { + this.commissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool OverrideCommissionAmount + { + get + { + return this.overrideCommissionAmountField; + } + set + { + this.overrideCommissionAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool IsDVP + { + get + { + return this.isDVPField; + } + set + { + this.isDVPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool ExpectedTradeDate + { + get + { + return this.expectedTradeDateField; + } + set + { + this.expectedTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool ExpectedSettlementDate + { + get + { + return this.expectedSettlementDateField; + } + set + { + this.expectedSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool OrderFeeCategories + { + get + { + return this.orderFeeCategoriesField; + } + set + { + this.orderFeeCategoriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool Reseller + { + get + { + return this.resellerField; + } + set + { + this.resellerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool AutoGiroPaymentMetod + { + get + { + return this.autoGiroPaymentMetodField; + } + set + { + this.autoGiroPaymentMetodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool TransferReceiverForCollectingFinancing + { + get + { + return this.transferReceiverForCollectingFinancingField; + } + set + { + this.transferReceiverForCollectingFinancingField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalInstrumentTransferOrderFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool fromAccountNumberField; + + private bool fromAccountBrickIdField; + + private bool toAccountNumberField; + + private bool toAccountBrickIdField; + + private bool unitsField; + + private bool commentField; + + private bool tradeDateField; + + private bool settlementDateField; + + private bool valueDateField; + + private bool instrumentBrickIdField; + + private bool acquisitionValueField; + + private bool acquisitionPriceField; + + private bool acquisitionValueAccountCurrencyField; + + private bool acquisitionPriceAccountCurrencyField; + + private bool overrideOwnershipChangeValidationField; + + private bool isinField; + + private bool orderStatusField; + + private bool orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool FromAccountNumber + { + get + { + return this.fromAccountNumberField; + } + set + { + this.fromAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool FromAccountBrickId + { + get + { + return this.fromAccountBrickIdField; + } + set + { + this.fromAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ToAccountNumber + { + get + { + return this.toAccountNumberField; + } + set + { + this.toAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ToAccountBrickId + { + get + { + return this.toAccountBrickIdField; + } + set + { + this.toAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Units + { + get + { + return this.unitsField; + } + set + { + this.unitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool InstrumentBrickId + { + get + { + return this.instrumentBrickIdField; + } + set + { + this.instrumentBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool AcquisitionPrice + { + get + { + return this.acquisitionPriceField; + } + set + { + this.acquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool AcquisitionPriceAccountCurrency + { + get + { + return this.acquisitionPriceAccountCurrencyField; + } + set + { + this.acquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool OverrideOwnershipChangeValidation + { + get + { + return this.overrideOwnershipChangeValidationField; + } + set + { + this.overrideOwnershipChangeValidationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool Isin + { + get + { + return this.isinField; + } + set + { + this.isinField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalCashTransferOrderFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool fromAccountNumberField; + + private bool fromAccountBrickIdField; + + private bool toAccountNumberField; + + private bool toAccountBrickIdField; + + private bool amountField; + + private bool commentField; + + private bool tradeDateField; + + private bool settlementDateField; + + private bool valueDateField; + + private bool currencyCodeField; + + private bool cashAssetBrickIdField; + + private bool orderStatusField; + + private bool orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool FromAccountNumber + { + get + { + return this.fromAccountNumberField; + } + set + { + this.fromAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool FromAccountBrickId + { + get + { + return this.fromAccountBrickIdField; + } + set + { + this.fromAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ToAccountNumber + { + get + { + return this.toAccountNumberField; + } + set + { + this.toAccountNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ToAccountBrickId + { + get + { + return this.toAccountBrickIdField; + } + set + { + this.toAccountBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool CashAssetBrickId + { + get + { + return this.cashAssetBrickIdField; + } + set + { + this.cashAssetBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAlgorithmFields : FieldBase + { + + private bool brickIdField; + + private bool keyField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAllocationProfileFields : FieldBase + { + + private bool allocationItemsField; + + private bool nameField; + + private bool keyField; + + private bool orderAlgorithmKeyField; + + private bool exchangeAlgorithmKeyField; + + private bool statusKeyField; + + private bool minOrderAmountField; + + private bool decisionMakerWithinFirmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool OrderAlgorithmKey + { + get + { + return this.orderAlgorithmKeyField; + } + set + { + this.orderAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ExchangeAlgorithmKey + { + get + { + return this.exchangeAlgorithmKeyField; + } + set + { + this.exchangeAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool MinOrderAmount + { + get + { + return this.minOrderAmountField; + } + set + { + this.minOrderAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationProfileFields : FieldBase + { + + private bool brickIdField; + + private bool nameField; + + private bool keyField; + + private bool allocationItemsField; + + private bool ownerField; + + private bool createdDateField; + + private bool orderAlgorithmKeyField; + + private bool exchangeAlgorithmKeyField; + + private bool statusKeyField; + + private bool minOrderAmountField; + + private bool decisionMakerWithinFirmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OrderAlgorithmKey + { + get + { + return this.orderAlgorithmKeyField; + } + set + { + this.orderAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ExchangeAlgorithmKey + { + get + { + return this.exchangeAlgorithmKeyField; + } + set + { + this.exchangeAlgorithmKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool MinOrderAmount + { + get + { + return this.minOrderAmountField; + } + set + { + this.minOrderAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOAFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool pOACustomerNoField; + + private bool pOACustomerIdField; + + private bool accountIdField; + + private bool keyField; + + private bool powerOfAttorneyTypeIdField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool POACustomerNo + { + get + { + return this.pOACustomerNoField; + } + set + { + this.pOACustomerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool POACustomerId + { + get + { + return this.pOACustomerIdField; + } + set + { + this.pOACustomerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool PowerOfAttorneyTypeId + { + get + { + return this.powerOfAttorneyTypeIdField; + } + set + { + this.powerOfAttorneyTypeIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInstrumentFields : FieldBase + { + + private bool symbolField; + + private bool priceDateField; + + private bool dataSeriesField; + + private bool valueField; + + private bool displayPercentagePriceField; + + private bool displayMultiplierField; + + private bool debtInstrumentField; + + private bool instrumentTypeField; + + private bool currencyCodeField; + + private bool iSINField; + + private bool nameField; + + private bool lastSubscriptionDateField; + + private bool expirationDateField; + + private bool priceField; + + private bool quantityDecimalsField; + + private bool displayDecimalsPriceField; + + private bool valueMultiplierField; + + private bool instrumentStatusField; + + private bool isUnitOrderField; + + private bool instrumentCategorizationField; + + private bool taxCountryField; + + private bool visibleStatusKeyField; + + private bool externalReferenceField; + + private bool commentField; + + private bool defaultMarketPlaceField; + + private bool settlementCalenderField; + + private bool issuerField; + + private bool previousClosePriceField; + + private bool whiteLabelField; + + private bool hasMifidIIDataField; + + private bool knowledgeGroupField; + + private bool exPostCalcMethodField; + + private bool managementFeePercentageField; + + private bool fundEntityField; + + private bool fundCompanyField; + + private bool feeGroupField; + + private bool datasheetURLField; + + private bool enableMifidIITenPercentAlertField; + + private bool executionInterfacesField; + + private bool defaultExecutionInterfaceField; + + private bool excludeFromFeeRelatedSellingField; + + private bool fundClassField; + + private bool fundStockProportionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Symbol + { + get + { + return this.symbolField; + } + set + { + this.symbolField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool DataSeries + { + get + { + return this.dataSeriesField; + } + set + { + this.dataSeriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool DebtInstrument + { + get + { + return this.debtInstrumentField; + } + set + { + this.debtInstrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool InstrumentType + { + get + { + return this.instrumentTypeField; + } + set + { + this.instrumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ISIN + { + get + { + return this.iSINField; + } + set + { + this.iSINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool LastSubscriptionDate + { + get + { + return this.lastSubscriptionDateField; + } + set + { + this.lastSubscriptionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool DisplayDecimalsPrice + { + get + { + return this.displayDecimalsPriceField; + } + set + { + this.displayDecimalsPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool InstrumentCategorization + { + get + { + return this.instrumentCategorizationField; + } + set + { + this.instrumentCategorizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool VisibleStatusKey + { + get + { + return this.visibleStatusKeyField; + } + set + { + this.visibleStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool DefaultMarketPlace + { + get + { + return this.defaultMarketPlaceField; + } + set + { + this.defaultMarketPlaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool SettlementCalender + { + get + { + return this.settlementCalenderField; + } + set + { + this.settlementCalenderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool Issuer + { + get + { + return this.issuerField; + } + set + { + this.issuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool PreviousClosePrice + { + get + { + return this.previousClosePriceField; + } + set + { + this.previousClosePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool HasMifidIIData + { + get + { + return this.hasMifidIIDataField; + } + set + { + this.hasMifidIIDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool KnowledgeGroup + { + get + { + return this.knowledgeGroupField; + } + set + { + this.knowledgeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool ExPostCalcMethod + { + get + { + return this.exPostCalcMethodField; + } + set + { + this.exPostCalcMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool ManagementFeePercentage + { + get + { + return this.managementFeePercentageField; + } + set + { + this.managementFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool FundEntity + { + get + { + return this.fundEntityField; + } + set + { + this.fundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool FeeGroup + { + get + { + return this.feeGroupField; + } + set + { + this.feeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool DatasheetURL + { + get + { + return this.datasheetURLField; + } + set + { + this.datasheetURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool EnableMifidIITenPercentAlert + { + get + { + return this.enableMifidIITenPercentAlertField; + } + set + { + this.enableMifidIITenPercentAlertField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool ExecutionInterfaces + { + get + { + return this.executionInterfacesField; + } + set + { + this.executionInterfacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool DefaultExecutionInterface + { + get + { + return this.defaultExecutionInterfaceField; + } + set + { + this.defaultExecutionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool ExcludeFromFeeRelatedSelling + { + get + { + return this.excludeFromFeeRelatedSellingField; + } + set + { + this.excludeFromFeeRelatedSellingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool FundClass + { + get + { + return this.fundClassField; + } + set + { + this.fundClassField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool FundStockProportions + { + get + { + return this.fundStockProportionsField; + } + set + { + this.fundStockProportionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsFields : FieldBase + { + + private bool brickIdField; + + private bool instrumentTypeField; + + private bool currencyCodeField; + + private bool iSINField; + + private bool nameField; + + private bool lastSubscriptionDateField; + + private bool expirationDateField; + + private bool priceField; + + private bool quantityDecimalsField; + + private bool minAmountField; + + private bool maxAmountField; + + private bool externalReferenceField; + + private bool commentField; + + private bool instrumentCategorizationField; + + private bool displayPercentagePriceField; + + private bool displayMultiplierField; + + private bool mICField; + + private bool defaultMarketPlaceField; + + private bool symbolField; + + private bool displayDecimalsPriceField; + + private bool valueMultiplierField; + + private bool visibleStatusKeyField; + + private bool createdDateField; + + private bool issuerField; + + private bool defaultExecutionInterfaceKeyField; + + private bool instrumentStatusField; + + private bool organizerField; + + private bool priceDateField; + + private bool feeCategoryKeyField; + + private bool buyCommissionPercentageField; + + private bool sellCommissionPercentageField; + + private bool earlySellFeePercentageField; + + private bool productCompensationPercentageField; + + private bool firstTradeDateField; + + private bool lastTradeDateField; + + private bool datasheetURLField; + + private bool lockInPeriodDaysField; + + private bool isLimitedToAccountTypesField; + + private bool debtInstrumentField; + + private bool previousClosePriceField; + + private bool isUnitOrderField; + + private bool taxCountryField; + + private bool whiteLabelField; + + private bool hasMifidIIDataField; + + private bool knowledgeGroupField; + + private bool exPostCalcMethodField; + + private bool managementFeePercentageField; + + private bool fundEntityField; + + private bool fundCompanyField; + + private bool feeGroupField; + + private bool enableMifidIITenPercentAlertField; + + private bool executionInterfacesField; + + private bool lastUpdatedDateField; + + private bool excludeFromFeeRelatedSellingField; + + private bool fundClassField; + + private bool fundStockProportionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool InstrumentType + { + get + { + return this.instrumentTypeField; + } + set + { + this.instrumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ISIN + { + get + { + return this.iSINField; + } + set + { + this.iSINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool LastSubscriptionDate + { + get + { + return this.lastSubscriptionDateField; + } + set + { + this.lastSubscriptionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool QuantityDecimals + { + get + { + return this.quantityDecimalsField; + } + set + { + this.quantityDecimalsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool MinAmount + { + get + { + return this.minAmountField; + } + set + { + this.minAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool MaxAmount + { + get + { + return this.maxAmountField; + } + set + { + this.maxAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool InstrumentCategorization + { + get + { + return this.instrumentCategorizationField; + } + set + { + this.instrumentCategorizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool MIC + { + get + { + return this.mICField; + } + set + { + this.mICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool DefaultMarketPlace + { + get + { + return this.defaultMarketPlaceField; + } + set + { + this.defaultMarketPlaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool Symbol + { + get + { + return this.symbolField; + } + set + { + this.symbolField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool DisplayDecimalsPrice + { + get + { + return this.displayDecimalsPriceField; + } + set + { + this.displayDecimalsPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool VisibleStatusKey + { + get + { + return this.visibleStatusKeyField; + } + set + { + this.visibleStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool Issuer + { + get + { + return this.issuerField; + } + set + { + this.issuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool DefaultExecutionInterfaceKey + { + get + { + return this.defaultExecutionInterfaceKeyField; + } + set + { + this.defaultExecutionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool Organizer + { + get + { + return this.organizerField; + } + set + { + this.organizerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool FeeCategoryKey + { + get + { + return this.feeCategoryKeyField; + } + set + { + this.feeCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool BuyCommissionPercentage + { + get + { + return this.buyCommissionPercentageField; + } + set + { + this.buyCommissionPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool SellCommissionPercentage + { + get + { + return this.sellCommissionPercentageField; + } + set + { + this.sellCommissionPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool EarlySellFeePercentage + { + get + { + return this.earlySellFeePercentageField; + } + set + { + this.earlySellFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool ProductCompensationPercentage + { + get + { + return this.productCompensationPercentageField; + } + set + { + this.productCompensationPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool FirstTradeDate + { + get + { + return this.firstTradeDateField; + } + set + { + this.firstTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool LastTradeDate + { + get + { + return this.lastTradeDateField; + } + set + { + this.lastTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool DatasheetURL + { + get + { + return this.datasheetURLField; + } + set + { + this.datasheetURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool LockInPeriodDays + { + get + { + return this.lockInPeriodDaysField; + } + set + { + this.lockInPeriodDaysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool IsLimitedToAccountTypes + { + get + { + return this.isLimitedToAccountTypesField; + } + set + { + this.isLimitedToAccountTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool DebtInstrument + { + get + { + return this.debtInstrumentField; + } + set + { + this.debtInstrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool PreviousClosePrice + { + get + { + return this.previousClosePriceField; + } + set + { + this.previousClosePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool HasMifidIIData + { + get + { + return this.hasMifidIIDataField; + } + set + { + this.hasMifidIIDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool KnowledgeGroup + { + get + { + return this.knowledgeGroupField; + } + set + { + this.knowledgeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool ExPostCalcMethod + { + get + { + return this.exPostCalcMethodField; + } + set + { + this.exPostCalcMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool ManagementFeePercentage + { + get + { + return this.managementFeePercentageField; + } + set + { + this.managementFeePercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public bool FundEntity + { + get + { + return this.fundEntityField; + } + set + { + this.fundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public bool FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public bool FeeGroup + { + get + { + return this.feeGroupField; + } + set + { + this.feeGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=50)] + public bool EnableMifidIITenPercentAlert + { + get + { + return this.enableMifidIITenPercentAlertField; + } + set + { + this.enableMifidIITenPercentAlertField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public bool ExecutionInterfaces + { + get + { + return this.executionInterfacesField; + } + set + { + this.executionInterfacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public bool LastUpdatedDate + { + get + { + return this.lastUpdatedDateField; + } + set + { + this.lastUpdatedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=53)] + public bool ExcludeFromFeeRelatedSelling + { + get + { + return this.excludeFromFeeRelatedSellingField; + } + set + { + this.excludeFromFeeRelatedSellingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=54)] + public bool FundClass + { + get + { + return this.fundClassField; + } + set + { + this.fundClassField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=55)] + public bool FundStockProportions + { + get + { + return this.fundStockProportionsField; + } + set + { + this.fundStockProportionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdatePersonFields : FieldBase + { + + private bool isApprovedField; + + private bool firstNameField; + + private bool lastNameField; + + private bool middleNamesField; + + private bool birthDateField; + + private bool addressCityField; + + private bool addressStreetField; + + private bool addressZipField; + + private bool addressCOField; + + private bool departmentField; + + private bool countryField; + + private bool postageAddressStreetField; + + private bool postageAddressCityField; + + private bool postageAddressZipField; + + private bool postageAddressCOField; + + private bool postageAddressDepartmentField; + + private bool postageAddressCountryField; + + private bool taxCountryField; + + private bool userNameField; + + private bool isNaturalPersonField; + + private bool passportNumberField; + + private bool emailField; + + private bool phoneHomeField; + + private bool phoneMobileField; + + private bool phoneWorkField; + + private bool commentField; + + private bool isFundEntityField; + + private bool isFundCompanyField; + + private bool isIssuerField; + + private bool isVerifiedField; + + private bool isApprovedForStructsField; + + private bool isTaxPayerField; + + private bool sectorNACEField; + + private bool groupCodeField; + + private bool externalRatingField; + + private bool ratingAgencyField; + + private bool instrumentTypesField; + + private bool externalReferenceField; + + private bool lEIField; + + private bool tRSIdField; + + private bool tRSCountryField; + + private bool tRSIdTypeField; + + private bool tRSManualHandlingField; + + private bool isProfessionalField; + + private bool mifidOkField; + + private bool isPEPField; + + private bool branchCountryField; + + private bool defaultCompanyField; + + private bool resellerNoField; + + private bool personalNumberField; + + private bool whiteLabelField; + + private bool hasCustomerProtectionDataField; + + private bool customerCashAccountField; + + private bool isCounterPartyField; + + private bool fundCompanyField; + + private bool kycDateField; + + private bool gIINField; + + private bool resellerAccountField; + + private bool riskValueField; + + private bool legalJurisdictionField; + + private bool parentCompanyField; + + private bool isCustodianField; + + private bool tINsField; + + private bool isTerminatedField; + + private bool forcePasswordResetField; + + private bool taxRateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FirstName + { + get + { + return this.firstNameField; + } + set + { + this.firstNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool LastName + { + get + { + return this.lastNameField; + } + set + { + this.lastNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool MiddleNames + { + get + { + return this.middleNamesField; + } + set + { + this.middleNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BirthDate + { + get + { + return this.birthDateField; + } + set + { + this.birthDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AddressCity + { + get + { + return this.addressCityField; + } + set + { + this.addressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AddressStreet + { + get + { + return this.addressStreetField; + } + set + { + this.addressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool AddressZip + { + get + { + return this.addressZipField; + } + set + { + this.addressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool AddressCO + { + get + { + return this.addressCOField; + } + set + { + this.addressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Department + { + get + { + return this.departmentField; + } + set + { + this.departmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool PostageAddressStreet + { + get + { + return this.postageAddressStreetField; + } + set + { + this.postageAddressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool PostageAddressCity + { + get + { + return this.postageAddressCityField; + } + set + { + this.postageAddressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool PostageAddressZip + { + get + { + return this.postageAddressZipField; + } + set + { + this.postageAddressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool PostageAddressCO + { + get + { + return this.postageAddressCOField; + } + set + { + this.postageAddressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool PostageAddressDepartment + { + get + { + return this.postageAddressDepartmentField; + } + set + { + this.postageAddressDepartmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool PostageAddressCountry + { + get + { + return this.postageAddressCountryField; + } + set + { + this.postageAddressCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool IsNaturalPerson + { + get + { + return this.isNaturalPersonField; + } + set + { + this.isNaturalPersonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool PassportNumber + { + get + { + return this.passportNumberField; + } + set + { + this.passportNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool PhoneHome + { + get + { + return this.phoneHomeField; + } + set + { + this.phoneHomeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool PhoneMobile + { + get + { + return this.phoneMobileField; + } + set + { + this.phoneMobileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool PhoneWork + { + get + { + return this.phoneWorkField; + } + set + { + this.phoneWorkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool IsFundEntity + { + get + { + return this.isFundEntityField; + } + set + { + this.isFundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool IsFundCompany + { + get + { + return this.isFundCompanyField; + } + set + { + this.isFundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool IsIssuer + { + get + { + return this.isIssuerField; + } + set + { + this.isIssuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool IsApprovedForStructs + { + get + { + return this.isApprovedForStructsField; + } + set + { + this.isApprovedForStructsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool IsTaxPayer + { + get + { + return this.isTaxPayerField; + } + set + { + this.isTaxPayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool SectorNACE + { + get + { + return this.sectorNACEField; + } + set + { + this.sectorNACEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool GroupCode + { + get + { + return this.groupCodeField; + } + set + { + this.groupCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool ExternalRating + { + get + { + return this.externalRatingField; + } + set + { + this.externalRatingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool RatingAgency + { + get + { + return this.ratingAgencyField; + } + set + { + this.ratingAgencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool InstrumentTypes + { + get + { + return this.instrumentTypesField; + } + set + { + this.instrumentTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool TRSId + { + get + { + return this.tRSIdField; + } + set + { + this.tRSIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool TRSIdType + { + get + { + return this.tRSIdTypeField; + } + set + { + this.tRSIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool TRSManualHandling + { + get + { + return this.tRSManualHandlingField; + } + set + { + this.tRSManualHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool IsProfessional + { + get + { + return this.isProfessionalField; + } + set + { + this.isProfessionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool MifidOk + { + get + { + return this.mifidOkField; + } + set + { + this.mifidOkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool IsPEP + { + get + { + return this.isPEPField; + } + set + { + this.isPEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool BranchCountry + { + get + { + return this.branchCountryField; + } + set + { + this.branchCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public bool DefaultCompany + { + get + { + return this.defaultCompanyField; + } + set + { + this.defaultCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public bool ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public bool PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=50)] + public bool WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public bool HasCustomerProtectionData + { + get + { + return this.hasCustomerProtectionDataField; + } + set + { + this.hasCustomerProtectionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public bool CustomerCashAccount + { + get + { + return this.customerCashAccountField; + } + set + { + this.customerCashAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=53)] + public bool IsCounterParty + { + get + { + return this.isCounterPartyField; + } + set + { + this.isCounterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=54)] + public bool FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=55)] + public bool KycDate + { + get + { + return this.kycDateField; + } + set + { + this.kycDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=56)] + public bool GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=57)] + public bool ResellerAccount + { + get + { + return this.resellerAccountField; + } + set + { + this.resellerAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=58)] + public bool RiskValue + { + get + { + return this.riskValueField; + } + set + { + this.riskValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=59)] + public bool LegalJurisdiction + { + get + { + return this.legalJurisdictionField; + } + set + { + this.legalJurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=60)] + public bool ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=61)] + public bool IsCustodian + { + get + { + return this.isCustodianField; + } + set + { + this.isCustodianField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=62)] + public bool TINs + { + get + { + return this.tINsField; + } + set + { + this.tINsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=63)] + public bool IsTerminated + { + get + { + return this.isTerminatedField; + } + set + { + this.isTerminatedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=64)] + public bool ForcePasswordReset + { + get + { + return this.forcePasswordResetField; + } + set + { + this.forcePasswordResetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=65)] + public bool TaxRate + { + get + { + return this.taxRateField; + } + set + { + this.taxRateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundEntityFields : FieldBase + { + + private bool activeField; + + private bool fundNameField; + + private bool companyNumberField; + + private bool emailField; + + private bool streetAddressField; + + private bool postalCodeField; + + private bool cityField; + + private bool externalReferenceField; + + private bool countryField; + + private bool taxCountryField; + + private bool jurisdictionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Active + { + get + { + return this.activeField; + } + set + { + this.activeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FundName + { + get + { + return this.fundNameField; + } + set + { + this.fundNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundCompanyFields : FieldBase + { + + private bool activeField; + + private bool fundCompanyNameField; + + private bool companyNumberField; + + private bool emailField; + + private bool streetAddressField; + + private bool postalCodeField; + + private bool cityField; + + private bool externalReferenceField; + + private bool countryField; + + private bool taxCountryField; + + private bool jurisdictionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Active + { + get + { + return this.activeField; + } + set + { + this.activeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FundCompanyName + { + get + { + return this.fundCompanyNameField; + } + set + { + this.fundCompanyNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StreetAddress + { + get + { + return this.streetAddressField; + } + set + { + this.streetAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool PostalCode + { + get + { + return this.postalCodeField; + } + set + { + this.postalCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool City + { + get + { + return this.cityField; + } + set + { + this.cityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Jurisdiction + { + get + { + return this.jurisdictionField; + } + set + { + this.jurisdictionField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesFields))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPersonFields : FieldBase + { + + private bool brickIdField; + + private bool firstNameField; + + private bool lastNameField; + + private bool middleNamesField; + + private bool createdDateField; + + private bool lastLoginDateField; + + private bool userNameField; + + private bool emailField; + + private bool personalNumberField; + + private bool birthDateField; + + private bool resellerNoField; + + private bool resellerIdField; + + private bool isApprovedField; + + private bool addressCityField; + + private bool addressStreetField; + + private bool addressZipField; + + private bool addressCOField; + + private bool departmentField; + + private bool postageAddressStreetField; + + private bool postageAddressCityField; + + private bool postageAddressZipField; + + private bool postageAddressCOField; + + private bool postageAddressDepartmentField; + + private bool bICField; + + private bool commentField; + + private bool externalReferenceField; + + private bool passportNumberField; + + private bool phoneHomeField; + + private bool phoneMobileField; + + private bool phoneWorkField; + + private bool isTaxPayerField; + + private bool isInsuranceCompanyField; + + private bool isInsuranceProductSupplierField; + + private bool isApprovedForStructsField; + + private bool isVerifiedField; + + private bool isFundEntityField; + + private bool isFundCompanyField; + + private bool isIssuerField; + + private bool sectorNACEField; + + private bool groupCodeField; + + private bool externalRatingField; + + private bool ratingAgencyField; + + private bool instrumentTypesStringField; + + private bool lEIField; + + private bool tRSIdField; + + private bool tRSCountryField; + + private bool tRSIdTypeField; + + private bool tRSManualHandlingField; + + private bool isProfessionalField; + + private bool mifidOkField; + + private bool isPEPField; + + private bool branchCountryField; + + private bool defaultCompanyField; + + private bool isNaturalPersonField; + + private bool isCustodianField; + + private bool countryField; + + private bool postageAddressCountryField; + + private bool taxCountryField; + + private bool customerNoField; + + private bool userDomainField; + + private bool accessLevelField; + + private bool addressAttentionField; + + private bool whiteLabelField; + + private bool hasCustomerProtectionDataField; + + private bool customerCashAccountField; + + private bool isCounterPartyField; + + private bool fundCompanyField; + + private bool isTerminatedField; + + private bool kycDateField; + + private bool gIINField; + + private bool resellerAccountField; + + private bool riskValueField; + + private bool legalJurisdictionField; + + private bool parentCompanyField; + + private bool lastUpdatedDateField; + + private bool tINsField; + + private bool forcePasswordResetField; + + private bool taxRateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FirstName + { + get + { + return this.firstNameField; + } + set + { + this.firstNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool LastName + { + get + { + return this.lastNameField; + } + set + { + this.lastNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool MiddleNames + { + get + { + return this.middleNamesField; + } + set + { + this.middleNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool LastLoginDate + { + get + { + return this.lastLoginDateField; + } + set + { + this.lastLoginDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Email + { + get + { + return this.emailField; + } + set + { + this.emailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool BirthDate + { + get + { + return this.birthDateField; + } + set + { + this.birthDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool IsApproved + { + get + { + return this.isApprovedField; + } + set + { + this.isApprovedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool AddressCity + { + get + { + return this.addressCityField; + } + set + { + this.addressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool AddressStreet + { + get + { + return this.addressStreetField; + } + set + { + this.addressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool AddressZip + { + get + { + return this.addressZipField; + } + set + { + this.addressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool AddressCO + { + get + { + return this.addressCOField; + } + set + { + this.addressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool Department + { + get + { + return this.departmentField; + } + set + { + this.departmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool PostageAddressStreet + { + get + { + return this.postageAddressStreetField; + } + set + { + this.postageAddressStreetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool PostageAddressCity + { + get + { + return this.postageAddressCityField; + } + set + { + this.postageAddressCityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool PostageAddressZip + { + get + { + return this.postageAddressZipField; + } + set + { + this.postageAddressZipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool PostageAddressCO + { + get + { + return this.postageAddressCOField; + } + set + { + this.postageAddressCOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool PostageAddressDepartment + { + get + { + return this.postageAddressDepartmentField; + } + set + { + this.postageAddressDepartmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool PassportNumber + { + get + { + return this.passportNumberField; + } + set + { + this.passportNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool PhoneHome + { + get + { + return this.phoneHomeField; + } + set + { + this.phoneHomeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool PhoneMobile + { + get + { + return this.phoneMobileField; + } + set + { + this.phoneMobileField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool PhoneWork + { + get + { + return this.phoneWorkField; + } + set + { + this.phoneWorkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool IsTaxPayer + { + get + { + return this.isTaxPayerField; + } + set + { + this.isTaxPayerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool IsInsuranceCompany + { + get + { + return this.isInsuranceCompanyField; + } + set + { + this.isInsuranceCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool IsInsuranceProductSupplier + { + get + { + return this.isInsuranceProductSupplierField; + } + set + { + this.isInsuranceProductSupplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool IsApprovedForStructs + { + get + { + return this.isApprovedForStructsField; + } + set + { + this.isApprovedForStructsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool IsVerified + { + get + { + return this.isVerifiedField; + } + set + { + this.isVerifiedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool IsFundEntity + { + get + { + return this.isFundEntityField; + } + set + { + this.isFundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool IsFundCompany + { + get + { + return this.isFundCompanyField; + } + set + { + this.isFundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool IsIssuer + { + get + { + return this.isIssuerField; + } + set + { + this.isIssuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool SectorNACE + { + get + { + return this.sectorNACEField; + } + set + { + this.sectorNACEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool GroupCode + { + get + { + return this.groupCodeField; + } + set + { + this.groupCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool ExternalRating + { + get + { + return this.externalRatingField; + } + set + { + this.externalRatingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool RatingAgency + { + get + { + return this.ratingAgencyField; + } + set + { + this.ratingAgencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool InstrumentTypesString + { + get + { + return this.instrumentTypesStringField; + } + set + { + this.instrumentTypesStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool TRSId + { + get + { + return this.tRSIdField; + } + set + { + this.tRSIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool TRSCountry + { + get + { + return this.tRSCountryField; + } + set + { + this.tRSCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool TRSIdType + { + get + { + return this.tRSIdTypeField; + } + set + { + this.tRSIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public bool TRSManualHandling + { + get + { + return this.tRSManualHandlingField; + } + set + { + this.tRSManualHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public bool IsProfessional + { + get + { + return this.isProfessionalField; + } + set + { + this.isProfessionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=49)] + public bool MifidOk + { + get + { + return this.mifidOkField; + } + set + { + this.mifidOkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=50)] + public bool IsPEP + { + get + { + return this.isPEPField; + } + set + { + this.isPEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=51)] + public bool BranchCountry + { + get + { + return this.branchCountryField; + } + set + { + this.branchCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=52)] + public bool DefaultCompany + { + get + { + return this.defaultCompanyField; + } + set + { + this.defaultCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=53)] + public bool IsNaturalPerson + { + get + { + return this.isNaturalPersonField; + } + set + { + this.isNaturalPersonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=54)] + public bool IsCustodian + { + get + { + return this.isCustodianField; + } + set + { + this.isCustodianField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=55)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=56)] + public bool PostageAddressCountry + { + get + { + return this.postageAddressCountryField; + } + set + { + this.postageAddressCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=57)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=58)] + public bool CustomerNo + { + get + { + return this.customerNoField; + } + set + { + this.customerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=59)] + public bool UserDomain + { + get + { + return this.userDomainField; + } + set + { + this.userDomainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=60)] + public bool AccessLevel + { + get + { + return this.accessLevelField; + } + set + { + this.accessLevelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=61)] + public bool AddressAttention + { + get + { + return this.addressAttentionField; + } + set + { + this.addressAttentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=62)] + public bool WhiteLabel + { + get + { + return this.whiteLabelField; + } + set + { + this.whiteLabelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=63)] + public bool HasCustomerProtectionData + { + get + { + return this.hasCustomerProtectionDataField; + } + set + { + this.hasCustomerProtectionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=64)] + public bool CustomerCashAccount + { + get + { + return this.customerCashAccountField; + } + set + { + this.customerCashAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=65)] + public bool IsCounterParty + { + get + { + return this.isCounterPartyField; + } + set + { + this.isCounterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=66)] + public bool FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=67)] + public bool IsTerminated + { + get + { + return this.isTerminatedField; + } + set + { + this.isTerminatedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=68)] + public bool KycDate + { + get + { + return this.kycDateField; + } + set + { + this.kycDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=69)] + public bool GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=70)] + public bool ResellerAccount + { + get + { + return this.resellerAccountField; + } + set + { + this.resellerAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=71)] + public bool RiskValue + { + get + { + return this.riskValueField; + } + set + { + this.riskValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=72)] + public bool LegalJurisdiction + { + get + { + return this.legalJurisdictionField; + } + set + { + this.legalJurisdictionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=73)] + public bool ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=74)] + public bool LastUpdatedDate + { + get + { + return this.lastUpdatedDateField; + } + set + { + this.lastUpdatedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=75)] + public bool TINs + { + get + { + return this.tINsField; + } + set + { + this.tINsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=76)] + public bool ForcePasswordReset + { + get + { + return this.forcePasswordResetField; + } + set + { + this.forcePasswordResetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=77)] + public bool TaxRate + { + get + { + return this.taxRateField; + } + set + { + this.taxRateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundEntityFields : GetPersonFields + { + + private bool fundCompanyIdField; + + private bool companyNumberField; + + private bool fundNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool FundCompanyId + { + get + { + return this.fundCompanyIdField; + } + set + { + this.fundCompanyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool FundName + { + get + { + return this.fundNameField; + } + set + { + this.fundNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundCompaniesFields : GetPersonFields + { + + private bool companyNumberField; + + private bool fundCompanyNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool CompanyNumber + { + get + { + return this.companyNumberField; + } + set + { + this.companyNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FundCompanyName + { + get + { + return this.fundCompanyNameField; + } + set + { + this.fundCompanyNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaxWithholdingAgreementFields : FieldBase + { + + private bool personField; + + private bool taxCountryField; + + private bool expirationDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTaxWithholdingAgreementFields : FieldBase + { + + private bool brickIdField; + + private bool taxCountryField; + + private bool expirationDateField; + + private bool personField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Person + { + get + { + return this.personField; + } + set + { + this.personField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHouseInformationFields : FieldBase + { + + private bool brickIdField; + + private bool organizationNoField; + + private bool lEIField; + + private bool nameField; + + private bool baseCurrencyCodeField; + + private bool bICField; + + private bool taxCountryField; + + private bool gIINField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool OrganizationNo + { + get + { + return this.organizationNoField; + } + set + { + this.organizationNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BaseCurrencyCode + { + get + { + return this.baseCurrencyCodeField; + } + set + { + this.baseCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool BIC + { + get + { + return this.bICField; + } + set + { + this.bICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool TaxCountry + { + get + { + return this.taxCountryField; + } + set + { + this.taxCountryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool GIIN + { + get + { + return this.gIINField; + } + set + { + this.gIINField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvtaleGiroOrdersFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool settlementDateField; + + private bool cashAmountField; + + private bool avtaleGiroOrderStatusField; + + private bool currencyCodeField; + + private bool avtaleGiroOrderNumberField; + + private bool externalReferenceField; + + private bool accountIdField; + + private bool batchOrderNumberField; + + private bool transferReceiverIdField; + + private bool avtaleGiroResponseCodeField; + + private bool recurringOrderTemplateIdsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AvtaleGiroOrderStatus + { + get + { + return this.avtaleGiroOrderStatusField; + } + set + { + this.avtaleGiroOrderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AvtaleGiroOrderNumber + { + get + { + return this.avtaleGiroOrderNumberField; + } + set + { + this.avtaleGiroOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool BatchOrderNumber + { + get + { + return this.batchOrderNumberField; + } + set + { + this.batchOrderNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool TransferReceiverId + { + get + { + return this.transferReceiverIdField; + } + set + { + this.transferReceiverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool AvtaleGiroResponseCode + { + get + { + return this.avtaleGiroResponseCodeField; + } + set + { + this.avtaleGiroResponseCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool RecurringOrderTemplateIds + { + get + { + return this.recurringOrderTemplateIdsField; + } + set + { + this.recurringOrderTemplateIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferOrdersFields : FieldBase + { + + private bool brickIdField; + + private bool transferOrderTypeField; + + private bool accountField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool currencyCodeField; + + private bool stateField; + + private bool orderNoField; + + private bool settlementDateField; + + private bool externalReferenceField; + + private bool batchOrderNoField; + + private bool transferReceiverField; + + private bool businessDateField; + + private bool retryAttemptsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TransferOrderType + { + get + { + return this.transferOrderTypeField; + } + set + { + this.transferOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool BatchOrderNo + { + get + { + return this.batchOrderNoField; + } + set + { + this.batchOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool BusinessDate + { + get + { + return this.businessDateField; + } + set + { + this.businessDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool RetryAttempts + { + get + { + return this.retryAttemptsField; + } + set + { + this.retryAttemptsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferOrderStatesFields : FieldBase + { + + private bool targetStateField; + + private bool settleAmountField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool TargetState + { + get + { + return this.targetStateField; + } + set + { + this.targetStateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool SettleAmount + { + get + { + return this.settleAmountField; + } + set + { + this.settleAmountField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeRecordFields : FieldBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCountryFields : FieldBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransactionNoteFields : FieldBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetReservationFields : FieldBase + { + + private bool brickIdField; + + private bool accountField; + + private bool assetField; + + private bool createdDateField; + + private bool referenceField; + + private bool orderField; + + private bool reservedAmountTradeField; + + private bool reservedAmountSettlementField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Reference + { + get + { + return this.referenceField; + } + set + { + this.referenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Order + { + get + { + return this.orderField; + } + set + { + this.orderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ReservedAmountTrade + { + get + { + return this.reservedAmountTradeField; + } + set + { + this.reservedAmountTradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ReservedAmountSettlement + { + get + { + return this.reservedAmountSettlementField; + } + set + { + this.reservedAmountSettlementField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaskFields : FieldBase + { + + private bool userField; + + private bool assigneeField; + + private bool headingField; + + private bool textField; + + private bool dueDateField; + + private bool isHTMLField; + + private bool priorityField; + + private bool statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Assignee + { + get + { + return this.assigneeField; + } + set + { + this.assigneeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool DueDate + { + get + { + return this.dueDateField; + } + set + { + this.dueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTasksFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool userField; + + private bool assigneeField; + + private bool headingField; + + private bool textField; + + private bool dueDateField; + + private bool isHTMLField; + + private bool statusField; + + private bool priorityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Assignee + { + get + { + return this.assigneeField; + } + set + { + this.assigneeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool DueDate + { + get + { + return this.dueDateField; + } + set + { + this.dueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateNoteFields : FieldBase + { + + private bool userField; + + private bool headingField; + + private bool textField; + + private bool eventDateField; + + private bool isHTMLField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetNotesFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool userField; + + private bool headingField; + + private bool textField; + + private bool eventDateField; + + private bool isHTMLField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Heading + { + get + { + return this.headingField; + } + set + { + this.headingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Text + { + get + { + return this.textField; + } + set + { + this.textField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateMessageFields : FieldBase + { + + private bool receiverField; + + private bool subjectField; + + private bool bodyField; + + private bool isReadField; + + private bool isPublicField; + + private bool isPromotedField; + + private bool eventDateField; + + private bool isHTMLField; + + private bool priorityField; + + private bool statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Receiver + { + get + { + return this.receiverField; + } + set + { + this.receiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Subject + { + get + { + return this.subjectField; + } + set + { + this.subjectField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Body + { + get + { + return this.bodyField; + } + set + { + this.bodyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool IsRead + { + get + { + return this.isReadField; + } + set + { + this.isReadField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsPublic + { + get + { + return this.isPublicField; + } + set + { + this.isPublicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsPromoted + { + get + { + return this.isPromotedField; + } + set + { + this.isPromotedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetMessagesFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool receiverField; + + private bool subjectField; + + private bool bodyField; + + private bool isReadField; + + private bool isPublicField; + + private bool isPromotedField; + + private bool eventDateField; + + private bool isHTMLField; + + private bool priorityField; + + private bool statusField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Receiver + { + get + { + return this.receiverField; + } + set + { + this.receiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Subject + { + get + { + return this.subjectField; + } + set + { + this.subjectField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Body + { + get + { + return this.bodyField; + } + set + { + this.bodyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool IsRead + { + get + { + return this.isReadField; + } + set + { + this.isReadField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool IsPublic + { + get + { + return this.isPublicField; + } + set + { + this.isPublicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool IsPromoted + { + get + { + return this.isPromotedField; + } + set + { + this.isPromotedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool EventDate + { + get + { + return this.eventDateField; + } + set + { + this.eventDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFailedWebhookFields : FieldBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvailableWebhookEventFields : FieldBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWebhookSubscriptionFields : FieldBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsurancePolicyFields : FieldBase + { + + private bool brickIdField; + + private bool createdDateField; + + private bool ownerIdField; + + private bool accountIdField; + + private bool policyNoField; + + private bool secondInsuredLegalEntityIdField; + + private bool expirationDateField; + + private bool premiumField; + + private bool premiumFrequencyField; + + private bool parametersField; + + private bool signDateField; + + private bool initialActivationDateField; + + private bool terminationDateField; + + private bool cancellationDateField; + + private bool insuranceProgramIdField; + + private bool insuranceProgramNameField; + + private bool externalReferenceField; + + private bool policyPeriodField; + + private bool periodStartDateField; + + private bool periodEndDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool OwnerId + { + get + { + return this.ownerIdField; + } + set + { + this.ownerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool PolicyNo + { + get + { + return this.policyNoField; + } + set + { + this.policyNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool SecondInsuredLegalEntityId + { + get + { + return this.secondInsuredLegalEntityIdField; + } + set + { + this.secondInsuredLegalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Premium + { + get + { + return this.premiumField; + } + set + { + this.premiumField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool PremiumFrequency + { + get + { + return this.premiumFrequencyField; + } + set + { + this.premiumFrequencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool SignDate + { + get + { + return this.signDateField; + } + set + { + this.signDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool InitialActivationDate + { + get + { + return this.initialActivationDateField; + } + set + { + this.initialActivationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool TerminationDate + { + get + { + return this.terminationDateField; + } + set + { + this.terminationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool CancellationDate + { + get + { + return this.cancellationDateField; + } + set + { + this.cancellationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool InsuranceProgramId + { + get + { + return this.insuranceProgramIdField; + } + set + { + this.insuranceProgramIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool InsuranceProgramName + { + get + { + return this.insuranceProgramNameField; + } + set + { + this.insuranceProgramNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool PolicyPeriod + { + get + { + return this.policyPeriodField; + } + set + { + this.policyPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool PeriodStartDate + { + get + { + return this.periodStartDateField; + } + set + { + this.periodStartDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool PeriodEndDate + { + get + { + return this.periodEndDateField; + } + set + { + this.periodEndDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradingVenueResponse : APISearchResponseOfGetTradingVenueResponseRowGetTradingVenueFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeGroupResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFeeGroupResponseRowGetFeeGroupFields : Response + { + + private GetFeeGroupResponseRow[] resultField; + + private GetFeeGroupFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFeeGroupResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFeeGroupFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeGroupFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool keyField; + + private bool statusKeyField; + + private bool actionTypeKeyField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ActionTypeKey + { + get + { + return this.actionTypeKeyField; + } + set + { + this.actionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeGroupResponse : APISearchResponseOfGetFeeGroupResponseRowGetFeeGroupFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFilesResponse : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFileResponse : Response + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileListResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFileInfoResponseRowGetFileInfoFields : Response + { + + private GetFileInfoResponseRow[] resultField; + + private GetFileInfoFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFileInfoResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFileInfoFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileListResponse : APISearchResponseOfGetFileInfoResponseRowGetFileInfoFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFileResponse : Response + { + + private System.Guid fileIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid FileId + { + get + { + return this.fileIdField; + } + set + { + this.fileIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileResponse : Response + { + + private byte[] fileBytesField; + + private string fileNameField; + + private string fileContentTypeField; + + private System.Guid fileContextField; + + private CustomField[] customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] FileBytes + { + get + { + return this.fileBytesField; + } + set + { + this.fileBytesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FileName + { + get + { + return this.fileNameField; + } + set + { + this.fileNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string FileContentType + { + get + { + return this.fileContentTypeField; + } + set + { + this.fileContentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Guid FileContext + { + get + { + return this.fileContextField; + } + set + { + this.fileContextField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public CustomField[] CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPricesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetHistoricPricesResponseRowGetHistoricPricesFields : Response + { + + private GetHistoricPricesResponseRow[] resultField; + + private GetHistoricPricesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetHistoricPricesResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHistoricPricesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPricesFields + { + + private bool assetIdField; + + private bool priceDateField; + + private bool priceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool AssetId + { + get + { + return this.assetIdField; + } + set + { + this.assetIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPricesResponse : APISearchResponseOfGetHistoricPricesResponseRowGetHistoricPricesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRecurringOrderTemplatesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetRecurringOrderTemplatesResponseRowGetRecurringOrderTemplatesFields : Response + { + + private GetRecurringOrderTemplatesResponseRow[] resultField; + + private GetRecurringOrderTemplatesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetRecurringOrderTemplatesResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetRecurringOrderTemplatesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRecurringOrderTemplatesResponse : APISearchResponseOfGetRecurringOrderTemplatesResponseRowGetRecurringOrderTemplatesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplatesAvtaleGiroResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateRecurringOrderTemplateAvtaleGiro : Response + { + + private UpdateRecurringOrderTemplateAvtaleGiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateRecurringOrderTemplateAvtaleGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplatesAvtaleGiroResponse : APIUpdateResponseOfUpdateRecurringOrderTemplateAvtaleGiro + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAvtaleGiroResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfRecurringOrderTemplateAvtaleGiro : Response + { + + private RecurringOrderTemplateAvtaleGiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public RecurringOrderTemplateAvtaleGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateRecurringOrderTemplateAvtaleGiroResponse : APICreateResponseOfRecurringOrderTemplateAvtaleGiro + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAutoGiroResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateRecurringOrderTemplateAutoGiro : Response + { + + private UpdateRecurringOrderTemplateAutoGiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateRecurringOrderTemplateAutoGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplateAutoGiroResponse : APIUpdateResponseOfUpdateRecurringOrderTemplateAutoGiro + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAutoGiroResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfRecurringOrderTemplateAutoGiro : Response + { + + private RecurringOrderTemplateAutoGiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public RecurringOrderTemplateAutoGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateRecurringOrderTemplateAutoGiroResponse : APICreateResponseOfRecurringOrderTemplateAutoGiro + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWorkflowInstanceResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateWorkflowInstance : Response + { + + private UpdateWorkflowInstance[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateWorkflowInstance[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWorkflowInstanceResponse : APIUpdateResponseOfUpdateWorkflowInstance + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverStatesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateTransferReceiverState : Response + { + + private UpdateTransferReceiverState[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTransferReceiverState[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiverStatesResponse : APIUpdateResponseOfUpdateTransferReceiverState + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiversResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateTransferReceiver : Response + { + + private UpdateTransferReceiver[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTransferReceiver[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiversResponse : APIUpdateResponseOfUpdateTransferReceiver + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTransferReceiversResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfTransferReceiver : Response + { + + private TransferReceiver[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TransferReceiver[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTransferReceiversResponse : APICreateResponseOfTransferReceiver + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferReceiversResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTransferReceiverResponseRowGetTransferReceiverFields : Response + { + + private GetTransferReceiverResponseRow[] resultField; + + private GetTransferReceiverFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTransferReceiverResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTransferReceiverFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferReceiversResponse : APISearchResponseOfGetTransferReceiverResponseRowGetTransferReceiverFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionTypeResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetBusinessTransactionTypeResponseRowGetBusinessTransactionTypeFields : Response + { + + private GetBusinessTransactionTypeResponseRow[] resultField; + + private GetBusinessTransactionTypeFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetBusinessTransactionTypeResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBusinessTransactionTypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionTypeFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool keyField; + + private bool labelField; + + private bool statusKeyField; + + private bool manualTicketField; + + private bool sortOrderField; + + private bool transactionReferenceIncludedField; + + private bool systemAccountIncludedField; + + private bool accountReportGroupsField; + + private bool asset1IncludedField; + + private bool asset1KeyField; + + private bool asset1TypeKeyField; + + private bool asset2IncludedField; + + private bool asset2KeyField; + + private bool asset2TypeKeyField; + + private bool amountAsset1IncludedField; + + private bool amountAsset1KeyField; + + private bool amountAsset2IncludedField; + + private bool amountAsset2KeyField; + + private bool custodyAccountAsset1IncludedField; + + private bool custodyAccountAsset2IncludedField; + + private bool priceIncludedField; + + private bool valueDateIncludedField; + + private bool settlementDateIncludedField; + + private bool returnCalculationTypeField; + + private bool taxTypeKeyField; + + private bool tradeDateIncludedField; + + private bool tx_AcquisitionValueIncludedField; + + private bool tx_AcquisitionValueAccountCurrencyIncludedField; + + private bool reportingTypeKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ManualTicket + { + get + { + return this.manualTicketField; + } + set + { + this.manualTicketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool SortOrder + { + get + { + return this.sortOrderField; + } + set + { + this.sortOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool TransactionReferenceIncluded + { + get + { + return this.transactionReferenceIncludedField; + } + set + { + this.transactionReferenceIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool SystemAccountIncluded + { + get + { + return this.systemAccountIncludedField; + } + set + { + this.systemAccountIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool AccountReportGroups + { + get + { + return this.accountReportGroupsField; + } + set + { + this.accountReportGroupsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Asset1Included + { + get + { + return this.asset1IncludedField; + } + set + { + this.asset1IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Asset1Key + { + get + { + return this.asset1KeyField; + } + set + { + this.asset1KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool Asset1TypeKey + { + get + { + return this.asset1TypeKeyField; + } + set + { + this.asset1TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool Asset2Included + { + get + { + return this.asset2IncludedField; + } + set + { + this.asset2IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool Asset2Key + { + get + { + return this.asset2KeyField; + } + set + { + this.asset2KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool Asset2TypeKey + { + get + { + return this.asset2TypeKeyField; + } + set + { + this.asset2TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool AmountAsset1Included + { + get + { + return this.amountAsset1IncludedField; + } + set + { + this.amountAsset1IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool AmountAsset1Key + { + get + { + return this.amountAsset1KeyField; + } + set + { + this.amountAsset1KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool AmountAsset2Included + { + get + { + return this.amountAsset2IncludedField; + } + set + { + this.amountAsset2IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool AmountAsset2Key + { + get + { + return this.amountAsset2KeyField; + } + set + { + this.amountAsset2KeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool CustodyAccountAsset1Included + { + get + { + return this.custodyAccountAsset1IncludedField; + } + set + { + this.custodyAccountAsset1IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool CustodyAccountAsset2Included + { + get + { + return this.custodyAccountAsset2IncludedField; + } + set + { + this.custodyAccountAsset2IncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool PriceIncluded + { + get + { + return this.priceIncludedField; + } + set + { + this.priceIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool ValueDateIncluded + { + get + { + return this.valueDateIncludedField; + } + set + { + this.valueDateIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool SettlementDateIncluded + { + get + { + return this.settlementDateIncludedField; + } + set + { + this.settlementDateIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool ReturnCalculationType + { + get + { + return this.returnCalculationTypeField; + } + set + { + this.returnCalculationTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool TaxTypeKey + { + get + { + return this.taxTypeKeyField; + } + set + { + this.taxTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool TradeDateIncluded + { + get + { + return this.tradeDateIncludedField; + } + set + { + this.tradeDateIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool Tx_AcquisitionValueIncluded + { + get + { + return this.tx_AcquisitionValueIncludedField; + } + set + { + this.tx_AcquisitionValueIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool Tx_AcquisitionValueAccountCurrencyIncluded + { + get + { + return this.tx_AcquisitionValueAccountCurrencyIncludedField; + } + set + { + this.tx_AcquisitionValueAccountCurrencyIncludedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool ReportingTypeKey + { + get + { + return this.reportingTypeKeyField; + } + set + { + this.reportingTypeKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionTypeResponse : APISearchResponseOfGetBusinessTransactionTypeResponseRowGetBusinessTransactionTypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetOrderTypeResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetOrderTypeResponseRowGetOrderTypeFields : Response + { + + private GetOrderTypeResponseRow[] resultField; + + private GetOrderTypeFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetOrderTypeResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetOrderTypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetOrderTypeFields + { + + private bool brickIdField; + + private bool keyField; + + private bool labelField; + + private bool businessTransactionTypeField; + + private bool transactionCoveringSequenceField; + + private bool useFreeCashField; + + private bool createdDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BusinessTransactionType + { + get + { + return this.businessTransactionTypeField; + } + set + { + this.businessTransactionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool TransactionCoveringSequence + { + get + { + return this.transactionCoveringSequenceField; + } + set + { + this.transactionCoveringSequenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool UseFreeCash + { + get + { + return this.useFreeCashField; + } + set + { + this.useFreeCashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetOrderTypeResponse : APISearchResponseOfGetOrderTypeResponseRowGetOrderTypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOATypeResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetPOATypeResponseRowGetPOATypeFields : Response + { + + private GetPOATypeResponseRow[] resultField; + + private GetPOATypeFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetPOATypeResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPOATypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOATypeFields + { + + private bool brickIdField; + + private bool keyField; + + private bool labelField; + + private bool actionListField; + + private bool createdDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ActionList + { + get + { + return this.actionListField; + } + set + { + this.actionListField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOATypeResponse : APISearchResponseOfGetPOATypeResponseRowGetPOATypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountTypeResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAccountTypeResponseRowGetAccountTypeFields : Response + { + + private GetAccountTypeResponseRow[] resultField; + + private GetAccountTypeFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAccountTypeResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAccountTypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountTypeFields + { + + private bool brickIdField; + + private bool keyField; + + private bool labelField; + + private bool accountNoSeriesKeyField; + + private bool accountTypeRuleTypeField; + + private bool accountTypeStatusField; + + private bool accountPositionLogicField; + + private bool interestRateInstrumentKeyField; + + private bool mustCoverField; + + private bool isSubjectToIncomeTaxField; + + private bool isInsuranceAccountField; + + private bool externalHouseField; + + private bool createdDateField; + + private bool reconciliationTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Label + { + get + { + return this.labelField; + } + set + { + this.labelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AccountNoSeriesKey + { + get + { + return this.accountNoSeriesKeyField; + } + set + { + this.accountNoSeriesKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AccountTypeRuleType + { + get + { + return this.accountTypeRuleTypeField; + } + set + { + this.accountTypeRuleTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AccountTypeStatus + { + get + { + return this.accountTypeStatusField; + } + set + { + this.accountTypeStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AccountPositionLogic + { + get + { + return this.accountPositionLogicField; + } + set + { + this.accountPositionLogicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool InterestRateInstrumentKey + { + get + { + return this.interestRateInstrumentKeyField; + } + set + { + this.interestRateInstrumentKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool MustCover + { + get + { + return this.mustCoverField; + } + set + { + this.mustCoverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool IsSubjectToIncomeTax + { + get + { + return this.isSubjectToIncomeTaxField; + } + set + { + this.isSubjectToIncomeTaxField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool IsInsuranceAccount + { + get + { + return this.isInsuranceAccountField; + } + set + { + this.isInsuranceAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool ExternalHouse + { + get + { + return this.externalHouseField; + } + set + { + this.externalHouseField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool ReconciliationType + { + get + { + return this.reconciliationTypeField; + } + set + { + this.reconciliationTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountTypeResponse : APISearchResponseOfGetAccountTypeResponseRowGetAccountTypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCashResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetCashResponseRowGetCashFields : Response + { + + private GetCashResponseRow[] resultField; + + private GetCashFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetCashResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCashFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCashFields + { + + private bool brickIdField; + + private bool keyField; + + private bool nameField; + + private bool currencyField; + + private bool defaultCustodyAccountField; + + private bool decimalPlacesField; + + private bool instrumentStatusField; + + private bool priceDecimalsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool DefaultCustodyAccount + { + get + { + return this.defaultCustodyAccountField; + } + set + { + this.defaultCustodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool DecimalPlaces + { + get + { + return this.decimalPlacesField; + } + set + { + this.decimalPlacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool InstrumentStatus + { + get + { + return this.instrumentStatusField; + } + set + { + this.instrumentStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool PriceDecimals + { + get + { + return this.priceDecimalsField; + } + set + { + this.priceDecimalsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCashResponse : APISearchResponseOfGetCashResponseRowGetCashFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SetCurrencyValuesResponse : Response + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyValueResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetCurrencyValueResponseRowGetCurrencyValuesFields : Response + { + + private GetCurrencyValueResponseRow[] resultField; + + private GetCurrencyValuesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetCurrencyValueResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCurrencyValuesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyValuesFields + { + + private bool sourceCurrencyCodeField; + + private bool requestedCurrencyCodeField; + + private bool statusKeyField; + + private bool priceDateField; + + private bool valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool SourceCurrencyCode + { + get + { + return this.sourceCurrencyCodeField; + } + set + { + this.sourceCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool RequestedCurrencyCode + { + get + { + return this.requestedCurrencyCodeField; + } + set + { + this.requestedCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyValueResponse : APISearchResponseOfGetCurrencyValueResponseRowGetCurrencyValuesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetCurrencyResponseRowGetCurrencyFields : Response + { + + private GetCurrencyResponseRow[] resultField; + + private GetCurrencyFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetCurrencyResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCurrencyFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyFields + { + + private bool brickIdField; + + private bool codeField; + + private bool priceField; + + private bool priceDateField; + + private bool statusKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Code + { + get + { + return this.codeField; + } + set + { + this.codeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyResponse : APISearchResponseOfGetCurrencyResponseRowGetCurrencyFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SetHistoricPricesResponse : Response + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateBusinessTransactionsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateBusinessTransaction : Response + { + + private UpdateBusinessTransaction[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateBusinessTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateBusinessTransactionsResponse : APIUpdateResponseOfUpdateBusinessTransaction + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSuperTransactionsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateSuperTransaction : Response + { + + private UpdateSuperTransaction[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateSuperTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSuperTransactionsResponse : APIUpdateResponseOfUpdateSuperTransaction + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CorrectBusinessTransactionsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfCorrectionBusinessTransaction : Response + { + + private CorrectionBusinessTransaction[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CorrectionBusinessTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CorrectBusinessTransactionsResponse : APIUpdateResponseOfCorrectionBusinessTransaction + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateBusinessTransactionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfSuperTransaction : Response + { + + private SuperTransaction[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public SuperTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateBusinessTransactionResponse : APICreateResponseOfSuperTransaction + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetBusinessTransactionResponseRowGetBusinessTransactionFields : Response + { + + private GetBusinessTransactionResponseRow[] resultField; + + private GetBusinessTransactionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetBusinessTransactionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBusinessTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionFields + { + + private bool brickIdField; + + private bool returnCalculationTypeField; + + private bool sequenceNoField; + + private bool accountField; + + private bool leg1DimensionsField; + + private bool leg2DimensionsField; + + private bool nameAsset1Field; + + private bool nameAsset2Field; + + private bool asset1CurrencyCodeField; + + private bool asset2CurrencyCodeField; + + private bool asset1Field; + + private bool asset2Field; + + private bool asset1TypeKeyField; + + private bool asset2TypeKeyField; + + private bool businessTransactionTypeKeyField; + + private bool businessTransactionTypeField; + + private bool amountAsset1Field; + + private bool amountAsset2Field; + + private bool instrumentNameField; + + private bool tradeDateField; + + private bool settlementDateField; + + private bool valueDateField; + + private bool accountingDateField; + + private bool fifoTradeDateField; + + private bool isCorrectedField; + + private bool correctionDateField; + + private bool correctionCommentField; + + private bool priceField; + + private bool acquisitionValueField; + + private bool acquisitionValueAccountCurrencyField; + + private bool createdDateField; + + private bool transactionReferenceField; + + private bool superTransactionIdField; + + private bool insurancePolicyField; + + private bool insuranceClaimField; + + private bool batchIdField; + + private bool accountTypeKeyField; + + private bool orderIdField; + + private bool reportingTypeField; + + private bool superTransactionBusinessEventIdField; + + private bool superTransactionCustomFieldsField; + + private bool reconciliationStatusField; + + private bool customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ReturnCalculationType + { + get + { + return this.returnCalculationTypeField; + } + set + { + this.returnCalculationTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool SequenceNo + { + get + { + return this.sequenceNoField; + } + set + { + this.sequenceNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Leg1Dimensions + { + get + { + return this.leg1DimensionsField; + } + set + { + this.leg1DimensionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Leg2Dimensions + { + get + { + return this.leg2DimensionsField; + } + set + { + this.leg2DimensionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool NameAsset1 + { + get + { + return this.nameAsset1Field; + } + set + { + this.nameAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool NameAsset2 + { + get + { + return this.nameAsset2Field; + } + set + { + this.nameAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Asset1CurrencyCode + { + get + { + return this.asset1CurrencyCodeField; + } + set + { + this.asset1CurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Asset2CurrencyCode + { + get + { + return this.asset2CurrencyCodeField; + } + set + { + this.asset2CurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Asset1 + { + get + { + return this.asset1Field; + } + set + { + this.asset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Asset2 + { + get + { + return this.asset2Field; + } + set + { + this.asset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool Asset1TypeKey + { + get + { + return this.asset1TypeKeyField; + } + set + { + this.asset1TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool Asset2TypeKey + { + get + { + return this.asset2TypeKeyField; + } + set + { + this.asset2TypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool BusinessTransactionTypeKey + { + get + { + return this.businessTransactionTypeKeyField; + } + set + { + this.businessTransactionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool BusinessTransactionType + { + get + { + return this.businessTransactionTypeField; + } + set + { + this.businessTransactionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool AmountAsset1 + { + get + { + return this.amountAsset1Field; + } + set + { + this.amountAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool AmountAsset2 + { + get + { + return this.amountAsset2Field; + } + set + { + this.amountAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool InstrumentName + { + get + { + return this.instrumentNameField; + } + set + { + this.instrumentNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool AccountingDate + { + get + { + return this.accountingDateField; + } + set + { + this.accountingDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool FifoTradeDate + { + get + { + return this.fifoTradeDateField; + } + set + { + this.fifoTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool IsCorrected + { + get + { + return this.isCorrectedField; + } + set + { + this.isCorrectedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool CorrectionDate + { + get + { + return this.correctionDateField; + } + set + { + this.correctionDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool CorrectionComment + { + get + { + return this.correctionCommentField; + } + set + { + this.correctionCommentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool TransactionReference + { + get + { + return this.transactionReferenceField; + } + set + { + this.transactionReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool SuperTransactionId + { + get + { + return this.superTransactionIdField; + } + set + { + this.superTransactionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool InsurancePolicy + { + get + { + return this.insurancePolicyField; + } + set + { + this.insurancePolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool InsuranceClaim + { + get + { + return this.insuranceClaimField; + } + set + { + this.insuranceClaimField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool BatchId + { + get + { + return this.batchIdField; + } + set + { + this.batchIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool ReportingType + { + get + { + return this.reportingTypeField; + } + set + { + this.reportingTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool SuperTransactionBusinessEventId + { + get + { + return this.superTransactionBusinessEventIdField; + } + set + { + this.superTransactionBusinessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool SuperTransactionCustomFields + { + get + { + return this.superTransactionCustomFieldsField; + } + set + { + this.superTransactionCustomFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool ReconciliationStatus + { + get + { + return this.reconciliationStatusField; + } + set + { + this.reconciliationStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionsResponse : APISearchResponseOfGetBusinessTransactionResponseRowGetBusinessTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSuperTransactionsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetSuperTransactionResponseRowGetSuperTransactionFields : Response + { + + private GetSuperTransactionResponseRow[] resultField; + + private GetSuperTransactionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetSuperTransactionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetSuperTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSuperTransactionFields + { + + private bool brickIdField; + + private bool insurancePolicyField; + + private bool insuranceClaimField; + + private bool batchIdField; + + private bool orderIdField; + + private bool businessEventIdField; + + private bool noteIdField; + + private bool customFieldsField; + + private bool createdDateField; + + private bool sequenceNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool InsurancePolicy + { + get + { + return this.insurancePolicyField; + } + set + { + this.insurancePolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool InsuranceClaim + { + get + { + return this.insuranceClaimField; + } + set + { + this.insuranceClaimField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BatchId + { + get + { + return this.batchIdField; + } + set + { + this.batchIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool OrderId + { + get + { + return this.orderIdField; + } + set + { + this.orderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool BusinessEventId + { + get + { + return this.businessEventIdField; + } + set + { + this.businessEventIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool NoteId + { + get + { + return this.noteIdField; + } + set + { + this.noteIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool SequenceNo + { + get + { + return this.sequenceNoField; + } + set + { + this.sequenceNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSuperTransactionsResponse : APISearchResponseOfGetSuperTransactionResponseRowGetSuperTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWhiteLabelResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateWhiteLabel : Response + { + + private UpdateWhiteLabel[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateWhiteLabel[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWhiteLabelResponse : APIUpdateResponseOfUpdateWhiteLabel + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWhiteLabelResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfWhiteLabel : Response + { + + private WhiteLabel[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public WhiteLabel[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWhiteLabelResponse : APICreateResponseOfWhiteLabel + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWhiteLabelResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetWhiteLabelResponseRowGetWhiteLabelFields : Response + { + + private GetWhiteLabelResponseRow[] resultField; + + private GetWhiteLabelFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetWhiteLabelResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWhiteLabelFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWhiteLabelFields + { + + private bool brickIdField; + + private bool keyField; + + private bool nameField; + + private bool commentField; + + private bool urlField; + + private bool createdDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Url + { + get + { + return this.urlField; + } + set + { + this.urlField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWhiteLabelResponse : APISearchResponseOfGetWhiteLabelResponseRowGetWhiteLabelFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAccountsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateAccount : Response + { + + private UpdateAccount[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateAccount[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAccountsResponse : APIUpdateResponseOfUpdateAccount + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAccountResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfAccount : Response + { + + private Account[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Account[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAccountResponse : APICreateResponseOfAccount + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAccountResponseRowGetAccountFields : Response + { + + private GetAccountResponseRow[] resultField; + + private GetAccountFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAccountResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAccountFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountsResponse : APISearchResponseOfGetAccountResponseRowGetAccountFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionExecutionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFundInstructionExecutionResponseRowGetFundInstructionExecutionFields : Response + { + + private GetFundInstructionExecutionResponseRow[] resultField; + + private GetFundInstructionExecutionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFundInstructionExecutionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundInstructionExecutionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionExecutionFields + { + + private bool brickIdField; + + private bool fundInstructionField; + + private bool fundInstructionEventSourceField; + + private bool marketplaceOrderNoField; + + private bool executionNAVField; + + private bool paymentCurrencyField; + + private bool currencyField; + + private bool feeField; + + private bool fxRateField; + + private bool instrumentAmountField; + + private bool cashAmountField; + + private bool settlementDateField; + + private bool tradeDateField; + + private bool createdDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FundInstruction + { + get + { + return this.fundInstructionField; + } + set + { + this.fundInstructionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool FundInstructionEventSource + { + get + { + return this.fundInstructionEventSourceField; + } + set + { + this.fundInstructionEventSourceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool MarketplaceOrderNo + { + get + { + return this.marketplaceOrderNoField; + } + set + { + this.marketplaceOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ExecutionNAV + { + get + { + return this.executionNAVField; + } + set + { + this.executionNAVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool PaymentCurrency + { + get + { + return this.paymentCurrencyField; + } + set + { + this.paymentCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Fee + { + get + { + return this.feeField; + } + set + { + this.feeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool FxRate + { + get + { + return this.fxRateField; + } + set + { + this.fxRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionExecutionResponse : APISearchResponseOfGetFundInstructionExecutionResponseRowGetFundInstructionExecutionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionStatusLogResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFundInstructionStatusLogResponseRowGetFundInstructionStatusLogFields : Response + { + + private GetFundInstructionStatusLogResponseRow[] resultField; + + private GetFundInstructionStatusLogFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFundInstructionStatusLogResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundInstructionStatusLogFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionStatusLogFields + { + + private bool brickIdField; + + private bool fundInstructionField; + + private bool marketPlaceOrderNoField; + + private bool fundInstructionNoField; + + private bool statusKeyField; + + private bool receivedStatusTextField; + + private bool receiveDateField; + + private bool createdDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool FundInstruction + { + get + { + return this.fundInstructionField; + } + set + { + this.fundInstructionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool MarketPlaceOrderNo + { + get + { + return this.marketPlaceOrderNoField; + } + set + { + this.marketPlaceOrderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool FundInstructionNo + { + get + { + return this.fundInstructionNoField; + } + set + { + this.fundInstructionNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ReceivedStatusText + { + get + { + return this.receivedStatusTextField; + } + set + { + this.receivedStatusTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionStatusLogResponse : APISearchResponseOfGetFundInstructionStatusLogResponseRowGetFundInstructionStatusLogFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFundInstructionResponseRowGetFundInstructionFields : Response + { + + private GetFundInstructionResponseRow[] resultField; + + private GetFundInstructionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFundInstructionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundInstructionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionFields + { + + private bool brickIdField; + + private bool executionInterfaceIdField; + + private bool physicalDeliveryIndicatorField; + + private bool fundInstructionNoField; + + private bool statusKeyField; + + private bool externalFundBatchOrderIdField; + + private bool instrumentIdField; + + private bool instructionTypeKeyField; + + private bool requestedNAVCurrencyIdField; + + private bool requestedSettlementCurrencyIdField; + + private bool cashAmountField; + + private bool createdDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool PhysicalDeliveryIndicator + { + get + { + return this.physicalDeliveryIndicatorField; + } + set + { + this.physicalDeliveryIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool FundInstructionNo + { + get + { + return this.fundInstructionNoField; + } + set + { + this.fundInstructionNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool ExternalFundBatchOrderId + { + get + { + return this.externalFundBatchOrderIdField; + } + set + { + this.externalFundBatchOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool InstrumentId + { + get + { + return this.instrumentIdField; + } + set + { + this.instrumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool InstructionTypeKey + { + get + { + return this.instructionTypeKeyField; + } + set + { + this.instructionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool RequestedNAVCurrencyId + { + get + { + return this.requestedNAVCurrencyIdField; + } + set + { + this.requestedNAVCurrencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool RequestedSettlementCurrencyId + { + get + { + return this.requestedSettlementCurrencyIdField; + } + set + { + this.requestedSettlementCurrencyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionResponse : APISearchResponseOfGetFundInstructionResponseRowGetFundInstructionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDecisionMakerResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetDecisionMakerResponseRowGetDecisionMakerFields : Response + { + + private GetDecisionMakerResponseRow[] resultField; + + private GetDecisionMakerFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetDecisionMakerResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDecisionMakerFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDecisionMakerResponse : APISearchResponseOfGetDecisionMakerResponseRowGetDecisionMakerFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessEventResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetBusinessEventResponseRowGetBusinessEventFields : Response + { + + private GetBusinessEventResponseRow[] resultField; + + private GetBusinessEventFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetBusinessEventResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBusinessEventFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessEventResponse : APISearchResponseOfGetBusinessEventResponseRowGetBusinessEventFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDealsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetDealsResponseRowGetDealsFields : Response + { + + private GetDealsResponseRow[] resultField; + + private GetDealsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetDealsResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDealsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDealsFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool amountAsset1Field; + + private bool amountAsset2Field; + + private bool asset1Field; + + private bool asset2Field; + + private bool priceField; + + private bool executionInterfaceField; + + private bool buyPartyAccountField; + + private bool sellPartyAccountField; + + private bool dealNoField; + + private bool buyOrderField; + + private bool sellOrderField; + + private bool buyPartyNoteField; + + private bool sellPartyNoteField; + + private bool isTRSReportingField; + + private bool tradeTimeField; + + private bool tradeDateField; + + private bool settlementDateField; + + private bool statusKeyField; + + private bool cancellationDateField; + + private bool tradingVenueField; + + private bool tradingVenueTransactionIdField; + + private bool tradingVenueTimeStampDateField; + + private bool executionWithinFirmTypeField; + + private bool executionWithinFirm_ALGOField; + + private bool executionWithinFirm_USERField; + + private bool tradingCapacityField; + + private bool oTCPostTradeIndicator_BENCField; + + private bool oTCPostTradeIndicator_ACTXField; + + private bool oTCPostTradeIndicator_ILQDField; + + private bool oTCPostTradeIndicator_SIZEField; + + private bool oTCPostTradeIndicator_CANCField; + + private bool oTCPostTradeIndicator_AMNDField; + + private bool oTCPostTradeIndicator_SDIVField; + + private bool oTCPostTradeIndicator_RPRIField; + + private bool oTCPostTradeIndicator_DUPLField; + + private bool oTCPostTradeIndicator_LRGSField; + + private bool oTCPostTradeIndicator_TNCPField; + + private bool oTCPostTradeIndicator_TPACField; + + private bool oTCPostTradeIndicator_XFPHField; + + private bool waiverIndicator_OILQField; + + private bool waiverIndicator_NLIQField; + + private bool waiverIndicator_PRICField; + + private bool waiverIndicator_ILQDField; + + private bool waiverIndicator_RFPTField; + + private bool waiverIndicator_SIZEField; + + private bool tRSVenueTypeValueField; + + private bool iNTCField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool AmountAsset1 + { + get + { + return this.amountAsset1Field; + } + set + { + this.amountAsset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AmountAsset2 + { + get + { + return this.amountAsset2Field; + } + set + { + this.amountAsset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Asset1 + { + get + { + return this.asset1Field; + } + set + { + this.asset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Asset2 + { + get + { + return this.asset2Field; + } + set + { + this.asset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool BuyPartyAccount + { + get + { + return this.buyPartyAccountField; + } + set + { + this.buyPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool SellPartyAccount + { + get + { + return this.sellPartyAccountField; + } + set + { + this.sellPartyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool DealNo + { + get + { + return this.dealNoField; + } + set + { + this.dealNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool BuyOrder + { + get + { + return this.buyOrderField; + } + set + { + this.buyOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool SellOrder + { + get + { + return this.sellOrderField; + } + set + { + this.sellOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool BuyPartyNote + { + get + { + return this.buyPartyNoteField; + } + set + { + this.buyPartyNoteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool SellPartyNote + { + get + { + return this.sellPartyNoteField; + } + set + { + this.sellPartyNoteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool IsTRSReporting + { + get + { + return this.isTRSReportingField; + } + set + { + this.isTRSReportingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool TradeTime + { + get + { + return this.tradeTimeField; + } + set + { + this.tradeTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool CancellationDate + { + get + { + return this.cancellationDateField; + } + set + { + this.cancellationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool TradingVenue + { + get + { + return this.tradingVenueField; + } + set + { + this.tradingVenueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool TradingVenueTransactionId + { + get + { + return this.tradingVenueTransactionIdField; + } + set + { + this.tradingVenueTransactionIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool TradingVenueTimeStampDate + { + get + { + return this.tradingVenueTimeStampDateField; + } + set + { + this.tradingVenueTimeStampDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool ExecutionWithinFirmType + { + get + { + return this.executionWithinFirmTypeField; + } + set + { + this.executionWithinFirmTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool ExecutionWithinFirm_ALGO + { + get + { + return this.executionWithinFirm_ALGOField; + } + set + { + this.executionWithinFirm_ALGOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool ExecutionWithinFirm_USER + { + get + { + return this.executionWithinFirm_USERField; + } + set + { + this.executionWithinFirm_USERField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool TradingCapacity + { + get + { + return this.tradingCapacityField; + } + set + { + this.tradingCapacityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool OTCPostTradeIndicator_BENC + { + get + { + return this.oTCPostTradeIndicator_BENCField; + } + set + { + this.oTCPostTradeIndicator_BENCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool OTCPostTradeIndicator_ACTX + { + get + { + return this.oTCPostTradeIndicator_ACTXField; + } + set + { + this.oTCPostTradeIndicator_ACTXField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool OTCPostTradeIndicator_ILQD + { + get + { + return this.oTCPostTradeIndicator_ILQDField; + } + set + { + this.oTCPostTradeIndicator_ILQDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool OTCPostTradeIndicator_SIZE + { + get + { + return this.oTCPostTradeIndicator_SIZEField; + } + set + { + this.oTCPostTradeIndicator_SIZEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool OTCPostTradeIndicator_CANC + { + get + { + return this.oTCPostTradeIndicator_CANCField; + } + set + { + this.oTCPostTradeIndicator_CANCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool OTCPostTradeIndicator_AMND + { + get + { + return this.oTCPostTradeIndicator_AMNDField; + } + set + { + this.oTCPostTradeIndicator_AMNDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool OTCPostTradeIndicator_SDIV + { + get + { + return this.oTCPostTradeIndicator_SDIVField; + } + set + { + this.oTCPostTradeIndicator_SDIVField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool OTCPostTradeIndicator_RPRI + { + get + { + return this.oTCPostTradeIndicator_RPRIField; + } + set + { + this.oTCPostTradeIndicator_RPRIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool OTCPostTradeIndicator_DUPL + { + get + { + return this.oTCPostTradeIndicator_DUPLField; + } + set + { + this.oTCPostTradeIndicator_DUPLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool OTCPostTradeIndicator_LRGS + { + get + { + return this.oTCPostTradeIndicator_LRGSField; + } + set + { + this.oTCPostTradeIndicator_LRGSField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool OTCPostTradeIndicator_TNCP + { + get + { + return this.oTCPostTradeIndicator_TNCPField; + } + set + { + this.oTCPostTradeIndicator_TNCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool OTCPostTradeIndicator_TPAC + { + get + { + return this.oTCPostTradeIndicator_TPACField; + } + set + { + this.oTCPostTradeIndicator_TPACField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool OTCPostTradeIndicator_XFPH + { + get + { + return this.oTCPostTradeIndicator_XFPHField; + } + set + { + this.oTCPostTradeIndicator_XFPHField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool WaiverIndicator_OILQ + { + get + { + return this.waiverIndicator_OILQField; + } + set + { + this.waiverIndicator_OILQField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=42)] + public bool WaiverIndicator_NLIQ + { + get + { + return this.waiverIndicator_NLIQField; + } + set + { + this.waiverIndicator_NLIQField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=43)] + public bool WaiverIndicator_PRIC + { + get + { + return this.waiverIndicator_PRICField; + } + set + { + this.waiverIndicator_PRICField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=44)] + public bool WaiverIndicator_ILQD + { + get + { + return this.waiverIndicator_ILQDField; + } + set + { + this.waiverIndicator_ILQDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=45)] + public bool WaiverIndicator_RFPT + { + get + { + return this.waiverIndicator_RFPTField; + } + set + { + this.waiverIndicator_RFPTField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=46)] + public bool WaiverIndicator_SIZE + { + get + { + return this.waiverIndicator_SIZEField; + } + set + { + this.waiverIndicator_SIZEField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=47)] + public bool TRSVenueTypeValue + { + get + { + return this.tRSVenueTypeValueField; + } + set + { + this.tRSVenueTypeValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=48)] + public bool INTC + { + get + { + return this.iNTCField; + } + set + { + this.iNTCField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDealsResponse : APISearchResponseOfGetDealsResponseRowGetDealsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCreateFundBatchOrderResponse : Response + { + + private CreateFundBatchOrderResponse[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateFundBatchOrderResponse[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundBatchOrdersResponse : APICreateResponseOfCreateFundBatchOrderResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderSettleResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerResponseOfOld_ExternalFundBatchOrderSettle : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalFundBatchOrderSettleResponse : APIWorkflowTriggerResponseOfOld_ExternalFundBatchOrderSettle + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetExternalFundBatchOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetExternalFundBatchOrdersResponseRowGetExternalFundBatchOrderFields : Response + { + + private GetExternalFundBatchOrdersResponseRow[] resultField; + + private GetExternalFundBatchOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetExternalFundBatchOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetExternalFundBatchOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetExternalFundBatchOrderFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool instrumentAmountField; + + private bool tradeOrderDirectionKeyField; + + private bool instrumentField; + + private bool cashField; + + private bool priceField; + + private bool stateField; + + private bool executionInterfaceField; + + private bool executionInterfaceKeyField; + + private bool isUnitOrderField; + + private bool orderNoField; + + private bool isPrePayedField; + + private bool sentDateField; + + private bool settledAmountField; + + private bool externalReferenceField; + + private bool tradeDateField; + + private bool settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool SentDate + { + get + { + return this.sentDateField; + } + set + { + this.sentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool SettledAmount + { + get + { + return this.settledAmountField; + } + set + { + this.settledAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetExternalFundBatchOrdersResponse : APISearchResponseOfGetExternalFundBatchOrdersResponseRowGetExternalFundBatchOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundBatchOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFundBatchOrdersResponseRowGetFundBatchOrderFields : Response + { + + private GetFundBatchOrdersResponseRow[] resultField; + + private GetFundBatchOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFundBatchOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundBatchOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundBatchOrderFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool cashAmountField; + + private bool instrumentAmountField; + + private bool tradeOrderDirectionKeyField; + + private bool instrumentField; + + private bool cashField; + + private bool priceField; + + private bool stateField; + + private bool executionInterfaceField; + + private bool executionInterfaceKeyField; + + private bool isUnitOrderField; + + private bool orderNoField; + + private bool isPrePayedField; + + private bool sentDateField; + + private bool settledAmountField; + + private bool externalReferenceField; + + private bool paymentConfirmationDateField; + + private bool settlementDateField; + + private bool tradeDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool InstrumentAmount + { + get + { + return this.instrumentAmountField; + } + set + { + this.instrumentAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool TradeOrderDirectionKey + { + get + { + return this.tradeOrderDirectionKeyField; + } + set + { + this.tradeOrderDirectionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Instrument + { + get + { + return this.instrumentField; + } + set + { + this.instrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Cash + { + get + { + return this.cashField; + } + set + { + this.cashField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool SentDate + { + get + { + return this.sentDateField; + } + set + { + this.sentDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool SettledAmount + { + get + { + return this.settledAmountField; + } + set + { + this.settledAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool PaymentConfirmationDate + { + get + { + return this.paymentConfirmationDateField; + } + set + { + this.paymentConfirmationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundBatchOrdersResponse : APISearchResponseOfGetFundBatchOrdersResponseRowGetFundBatchOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroDepositOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfAutoGiroDepositOrder : Response + { + + private AutoGiroDepositOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AutoGiroDepositOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAutoGiroDepositOrderResponse : APICreateResponseOfAutoGiroDepositOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroWithdrawalOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfAutoGiroWithdrawalOrder : Response + { + + private AutoGiroWithdrawalOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AutoGiroWithdrawalOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAutoGiroWithdrawalOrderResponse : APICreateResponseOfAutoGiroWithdrawalOrder + { + + private AutoGiroWithdrawal_CashOrderOut[] ordersField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AutoGiroWithdrawal_CashOrderOut[] Orders + { + get + { + return this.ordersField; + } + set + { + this.ordersField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelAutoGiroOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCancelAutoGiroOrder : Response + { + + private CancelAutoGiroOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CancelAutoGiroOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CancelAutoGiroOrderResponse : APICreateResponseOfCancelAutoGiroOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAutoGiroOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAutoGiroOrdersResponseRowGetAutoGiroOrdersFields : Response + { + + private GetAutoGiroOrdersResponseRow[] resultField; + + private GetAutoGiroOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAutoGiroOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAutoGiroOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAutoGiroOrdersResponse : APISearchResponseOfGetAutoGiroOrdersResponseRowGetAutoGiroOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDirectBankWithdrawalOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfDirectBankWithdrawalOrder : Response + { + + private DirectBankWithdrawalOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DirectBankWithdrawalOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateDirectBankWithdrawalOrderResponse : APICreateResponseOfDirectBankWithdrawalOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAllocationOrderResponseRowGetAllocationOrderFields : Response + { + + private GetAllocationOrderResponseRow[] resultField; + + private GetAllocationOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAllocationOrderResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAllocationOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationOrderFields + { + + private bool brickIdField; + + private bool accountField; + + private bool reBalanceInstanceField; + + private bool createdDateField; + + private bool allocationItemsField; + + private bool orderNoField; + + private bool createdByIdField; + + private bool stateField; + + private bool externalReferenceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool ReBalanceInstance + { + get + { + return this.reBalanceInstanceField; + } + set + { + this.reBalanceInstanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AllocationItems + { + get + { + return this.allocationItemsField; + } + set + { + this.allocationItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool CreatedById + { + get + { + return this.createdByIdField; + } + set + { + this.createdByIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationOrderResponse : APISearchResponseOfGetAllocationOrderResponseRowGetAllocationOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSwitchOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfSwitchOrder : Response + { + + private SwitchOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public SwitchOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateSwitchOrdersResponse : APICreateResponseOfSwitchOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositTransferOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetDepositTransferOrdersResponseRowGetDepositTransferOrdersFields : Response + { + + private GetDepositTransferOrdersResponseRow[] resultField; + + private GetDepositTransferOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetDepositTransferOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDepositTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositTransferOrdersResponse : APISearchResponseOfGetDepositTransferOrdersResponseRowGetDepositTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositBatchTransferOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetDepositBatchTransferOrdersResponseRowGetDepositBatchTransferOrdersFields : Response + { + + private GetDepositBatchTransferOrdersResponseRow[] resultField; + + private GetDepositBatchTransferOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetDepositBatchTransferOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDepositBatchTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositBatchTransferOrdersFields + { + + private bool brickIdField; + + private bool batchOrderTypeField; + + private bool cashAmountField; + + private bool createdDateField; + + private bool currencyCodeField; + + private bool stateField; + + private bool orderNoField; + + private bool settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool BatchOrderType + { + get + { + return this.batchOrderTypeField; + } + set + { + this.batchOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositBatchTransferOrdersResponse : APISearchResponseOfGetDepositBatchTransferOrdersResponseRowGetDepositBatchTransferOrdersFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SettleWithdrawalTransferOrderResponse : Response + { + + private WithdrawalTransferOrderSettlementResult[] orderSettlementResultsField; + + private bool hasErrorsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public WithdrawalTransferOrderSettlementResult[] OrderSettlementResults + { + get + { + return this.orderSettlementResultsField; + } + set + { + this.orderSettlementResultsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool hasErrors + { + get + { + return this.hasErrorsField; + } + set + { + this.hasErrorsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalTransferOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetWithdrawalTransferOrdersResponseRowGetWithdrawalTransferOrdersFields : Response + { + + private GetWithdrawalTransferOrdersResponseRow[] resultField; + + private GetWithdrawalTransferOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetWithdrawalTransferOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWithdrawalTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalTransferOrdersResponse : APISearchResponseOfGetWithdrawalTransferOrdersResponseRowGetWithdrawalTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalBatchTransferOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetWithdrawalBatchTransferOrdersResponseRowGetWithdrawalBatchTransferOrdersFields : Response + { + + private GetWithdrawalBatchTransferOrdersResponseRow[] resultField; + + private GetWithdrawalBatchTransferOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetWithdrawalBatchTransferOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWithdrawalBatchTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalBatchTransferOrdersFields + { + + private bool brickIdField; + + private bool batchOrderTypeField; + + private bool cashAmountField; + + private bool createdDateField; + + private bool currencyCodeField; + + private bool stateField; + + private bool orderNoField; + + private bool settlementDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool BatchOrderType + { + get + { + return this.batchOrderTypeField; + } + set + { + this.batchOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool CashAmount + { + get + { + return this.cashAmountField; + } + set + { + this.cashAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalBatchTransferOrdersResponse : APISearchResponseOfGetWithdrawalBatchTransferOrdersResponseRowGetWithdrawalBatchTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WithdrawalCashBatchOrder_FillResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerResponseOfWithdrawalCashBatchOrder_Fill : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WithdrawalCashBatchOrder_FillResponse : APIWorkflowTriggerResponseOfWithdrawalCashBatchOrder_Fill + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWithdrawalCashOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfWithdrawalCashOrder : Response + { + + private WithdrawalCashOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public WithdrawalCashOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWithdrawalCashOrderResponse : APICreateResponseOfWithdrawalCashOrder + { + + private Withdrawal_CashOrderOut[] ordersField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Withdrawal_CashOrderOut[] Orders + { + get + { + return this.ordersField; + } + set + { + this.ordersField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDepositCashOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfDepositCashOrder : Response + { + + private DepositCashOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DepositCashOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateDepositCashOrderResponse : APICreateResponseOfDepositCashOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeBuyOrdersFromAutogiroResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfTradeBuyOrderFromAutogiro : Response + { + + private TradeBuyOrderFromAutogiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TradeBuyOrderFromAutogiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradeBuyOrdersFromAutogiroResponse : APICreateResponseOfTradeBuyOrderFromAutogiro + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelTradeOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCancelTradeOrder : Response + { + + private CancelTradeOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CancelTradeOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CancelTradeOrderResponse : APICreateResponseOfCancelTradeOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SettleOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfOrderSettleBase : Response + { + + private OrderSettleBase[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public OrderSettleBase[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SettleOrderResponse : APICreateResponseOfOrderSettleBase + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfOrderExecuteBase : Response + { + + private OrderExecuteBase[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public OrderExecuteBase[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExecuteOrderResponse : APICreateResponseOfOrderExecuteBase + { + + private System.Guid jobIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid JobId + { + get + { + return this.jobIdField; + } + set + { + this.jobIdField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradeOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTradeOrdersResponseRowGetTradeOrderFields : Response + { + + private GetTradeOrdersResponseRow[] resultField; + + private GetTradeOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTradeOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTradeOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradeOrdersResponse : APISearchResponseOfGetTradeOrdersResponseRowGetTradeOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfTradeOrder : Response + { + + private TradeOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TradeOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradeOrderResponse : APICreateResponseOfTradeOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrder_CancelResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerResponseOfCurrencyExchangeOrder_Cancel : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CurrencyExchangeOrder_CancelResponse : APIWorkflowTriggerResponseOfCurrencyExchangeOrder_Cancel + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyExchangeOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetCurrencyExchangeOrderResponseRowGetCurrencyExchangeOrderFields : Response + { + + private GetCurrencyExchangeOrderResponseRow[] resultField; + + private GetCurrencyExchangeOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetCurrencyExchangeOrderResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCurrencyExchangeOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyExchangeOrderResponse : APISearchResponseOfGetCurrencyExchangeOrderResponseRowGetCurrencyExchangeOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCurrencyExchangeOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCurrencyExchangeOrder : Response + { + + private CurrencyExchangeOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CurrencyExchangeOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateCurrencyExchangeOrderResponse : APICreateResponseOfCurrencyExchangeOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSubscriptionOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetSubscriptionOrderResponseRowGetSubscriptionOrderFields : Response + { + + private GetSubscriptionOrderResponseRow[] resultField; + + private GetSubscriptionOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetSubscriptionOrderResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetSubscriptionOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSubscriptionOrderResponse : APISearchResponseOfGetSubscriptionOrderResponseRowGetSubscriptionOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_ProcessResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerResponseOfSubscriptionOrder_Process : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder_ProcessResponse : APIWorkflowTriggerResponseOfSubscriptionOrder_Process + { + + private System.Guid tradeOrderBrickIdField; + + private string tradeOrderOrderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid TradeOrderBrickId + { + get + { + return this.tradeOrderBrickIdField; + } + set + { + this.tradeOrderBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TradeOrderOrderNo + { + get + { + return this.tradeOrderOrderNoField; + } + set + { + this.tradeOrderOrderNoField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_CancelResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerResponseOfSubscriptionOrder_Cancel : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder_CancelResponse : APIWorkflowTriggerResponseOfSubscriptionOrder_Cancel + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSubscriptionOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateSubscriptionOrder : Response + { + + private UpdateSubscriptionOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateSubscriptionOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSubscriptionOrderResponse : APIUpdateResponseOfUpdateSubscriptionOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSubscriptionOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfSubscriptionOrder : Response + { + + private SubscriptionOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public SubscriptionOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateSubscriptionOrderResponse : APICreateResponseOfSubscriptionOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteInternalTransferOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIServiceActionResponseOfDeleteInternalTransferOrder : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteInternalTransferOrderResponse : APIServiceActionResponseOfDeleteInternalTransferOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteInternalTransferOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIServiceActionResponseOfExecuteInternalTransferOrder : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExecuteInternalTransferOrderResponse : APIServiceActionResponseOfExecuteInternalTransferOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalInstrumentTransferOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfInternalInstrumentTransferOrder : Response + { + + private InternalInstrumentTransferOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InternalInstrumentTransferOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInternalInstrumentTransferOrderResponse : APICreateResponseOfInternalInstrumentTransferOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalInstrumentTransferOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInternalInstrumentTransferOrderResponseRowGetInternalInstrumentTransferOrderFields : Response + { + + private GetInternalInstrumentTransferOrderResponseRow[] resultField; + + private GetInternalInstrumentTransferOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInternalInstrumentTransferOrderResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInternalInstrumentTransferOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalInstrumentTransferOrderResponse : APISearchResponseOfGetInternalInstrumentTransferOrderResponseRowGetInternalInstrumentTransferOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalCashTransferOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfInternalCashTransferOrder : Response + { + + private InternalCashTransferOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InternalCashTransferOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInternalCashTransferOrderResponse : APICreateResponseOfInternalCashTransferOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalCashTransferOrderResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInternalCashTransferOrderResponseRowGetInternalCashTransferOrderFields : Response + { + + private GetInternalCashTransferOrderResponseRow[] resultField; + + private GetInternalCashTransferOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInternalCashTransferOrderResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInternalCashTransferOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalCashTransferOrderResponse : APISearchResponseOfGetInternalCashTransferOrderResponseRowGetInternalCashTransferOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAlgorithmResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAlgorithmResponseRowGetAlgorithmFields : Response + { + + private GetAlgorithmResponseRow[] resultField; + + private GetAlgorithmFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAlgorithmResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAlgorithmFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAlgorithmResponse : APISearchResponseOfGetAlgorithmResponseRowGetAlgorithmFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBankIdStatusResponse : Response + { + + private string personalNumberField; + + private BankIdType bankIdTypeField; + + private string statusField; + + private string signatureField; + + private string signTextField; + + private CompletionData completionDataField; + + private QRCode[] qRCodesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string PersonalNumber + { + get + { + return this.personalNumberField; + } + set + { + this.personalNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public BankIdType BankIdType + { + get + { + return this.bankIdTypeField; + } + set + { + this.bankIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Signature + { + get + { + return this.signatureField; + } + set + { + this.signatureField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string SignText + { + get + { + return this.signTextField; + } + set + { + this.signTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public CompletionData CompletionData + { + get + { + return this.completionDataField; + } + set + { + this.completionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public QRCode[] QRCodes + { + get + { + return this.qRCodesField; + } + set + { + this.qRCodesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum BankIdType + { + + /// + File, + + /// + Mobile, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class BankIdSignResponse : Response + { + + private BankIdType bankIdTypeField; + + private string orderReferenceField; + + private string authTokenField; + + private QRCode[] qRCodesField; + + private System.DateTime startTimeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public BankIdType BankIdType + { + get + { + return this.bankIdTypeField; + } + set + { + this.bankIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string OrderReference + { + get + { + return this.orderReferenceField; + } + set + { + this.orderReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string AuthToken + { + get + { + return this.authTokenField; + } + set + { + this.authTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public QRCode[] QRCodes + { + get + { + return this.qRCodesField; + } + set + { + this.qRCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime StartTime + { + get + { + return this.startTimeField; + } + set + { + this.startTimeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ResetPasswordResponse : Response + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UsernamePasswordAuthenticateResponse : Response + { + + private bool isAuthenticatedField; + + private System.Guid personIdField; + + private int accessLevelField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool IsAuthenticated + { + get + { + return this.isAuthenticatedField; + } + set + { + this.isAuthenticatedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int AccessLevel + { + get + { + return this.accessLevelField; + } + set + { + this.accessLevelField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class BankIdAuthenticateResponse : Response + { + + private BankIdType bankIdTypeField; + + private string orderReferenceField; + + private string authTokenField; + + private QRCode[] qRCodesField; + + private System.DateTime startTimeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public BankIdType BankIdType + { + get + { + return this.bankIdTypeField; + } + set + { + this.bankIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string OrderReference + { + get + { + return this.orderReferenceField; + } + set + { + this.orderReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string AuthToken + { + get + { + return this.authTokenField; + } + set + { + this.authTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public QRCode[] QRCodes + { + get + { + return this.qRCodesField; + } + set + { + this.qRCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime StartTime + { + get + { + return this.startTimeField; + } + set + { + this.startTimeField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAllocationProfileResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfAllocationProfile : Response + { + + private AllocationProfile[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AllocationProfile[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAllocationProfileResponse : APIUpdateResponseOfAllocationProfile + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAllocationProfileResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfAllocationProfile : Response + { + + private AllocationProfile[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AllocationProfile[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAllocationProfileResponse : APICreateResponseOfAllocationProfile + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationProfileResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAllocationProfileResponseRowGetAllocationProfileFields : Response + { + + private GetAllocationProfileResponseRow[] resultField; + + private GetAllocationProfileFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAllocationProfileResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAllocationProfileFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationProfileResponse : APISearchResponseOfGetAllocationProfileResponseRowGetAllocationProfileFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePOAResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfPOA : Response + { + + private POA[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public POA[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreatePOAResponse : APICreateResponseOfPOA + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOAResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetPOAResponseRowGetPOAFields : Response + { + + private GetPOAResponseRow[] resultField; + + private GetPOAFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetPOAResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPOAFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOAResponse : APISearchResponseOfGetPOAResponseRowGetPOAFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateManualExecutionInterfaceResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfManualExecutionInterfaceOld : Response + { + + private ManualExecutionInterfaceOld[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public ManualExecutionInterfaceOld[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateManualExecutionInterfaceResponse : APICreateResponseOfManualExecutionInterfaceOld + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInstrumentResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateInstrument : Response + { + + private UpdateInstrument[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInstrument[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInstrumentResponse : APIUpdateResponseOfUpdateInstrument + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAssetAccountTypeLimitationResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAssetAccountTypeLimitationResponseRowGetAssetAccountTypeLimitationFields : Response + { + + private GetAssetAccountTypeLimitationResponseRow[] resultField; + + private GetAssetAccountTypeLimitationFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAssetAccountTypeLimitationResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAssetAccountTypeLimitationFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAssetAccountTypeLimitationFields + { + + private bool assetField; + + private bool accountTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool AccountType + { + get + { + return this.accountTypeField; + } + set + { + this.accountTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAssetAccountTypeLimitationResponse : APISearchResponseOfGetAssetAccountTypeLimitationResponseRowGetAssetAccountTypeLimitationFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAssetAccountTypeLimitationResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfAssetAccountTypeLimitation : Response + { + + private AssetAccountTypeLimitation[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AssetAccountTypeLimitation[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAssetAccountTypeLimitationResponse : APICreateResponseOfAssetAccountTypeLimitation + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInstrumentResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfInstrument : Response + { + + private Instrument[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Instrument[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInstrumentResponse : APICreateResponseOfInstrument + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsByNameResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInstrumentsResponseRowGetInstrumentsFields : Response + { + + private GetInstrumentsResponseRow[] resultField; + + private GetInstrumentsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInstrumentsResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInstrumentsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsByNameResponse : APISearchResponseOfGetInstrumentsResponseRowGetInstrumentsFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsResponse : APISearchResponseOfGetInstrumentsResponseRowGetInstrumentsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPositionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetHistoricPositionResponseRowGetHistoricPositionFields : Response + { + + private GetHistoricPositionResponseRow[] resultField; + + private GetHistoricPositionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetHistoricPositionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHistoricPositionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPositionFields + { + + private bool accountField; + + private bool assetField; + + private bool balanceDateField; + + private bool amountField; + + private bool accountDimensionKeyField; + + private bool priceField; + + private bool fxRateField; + + private bool baseRateField; + + private bool displayCurrencyCodeField; + + private bool marketValueField; + + private bool marketValueAccountCurrencyField; + + private bool marketValueDisplayCurrencyField; + + private bool displayRateField; + + private bool assetTypeField; + + private bool valueMultiplierField; + + private bool displayPercentagePriceField; + + private bool displayMultiplierField; + + private bool accountNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool BalanceDate + { + get + { + return this.balanceDateField; + } + set + { + this.balanceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AccountDimensionKey + { + get + { + return this.accountDimensionKeyField; + } + set + { + this.accountDimensionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool FxRate + { + get + { + return this.fxRateField; + } + set + { + this.fxRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool BaseRate + { + get + { + return this.baseRateField; + } + set + { + this.baseRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool MarketValue + { + get + { + return this.marketValueField; + } + set + { + this.marketValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool MarketValueAccountCurrency + { + get + { + return this.marketValueAccountCurrencyField; + } + set + { + this.marketValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool MarketValueDisplayCurrency + { + get + { + return this.marketValueDisplayCurrencyField; + } + set + { + this.marketValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool DisplayRate + { + get + { + return this.displayRateField; + } + set + { + this.displayRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool AssetType + { + get + { + return this.assetTypeField; + } + set + { + this.assetTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPositionResponse : APISearchResponseOfGetHistoricPositionResponseRowGetHistoricPositionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPositionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetPositionResponseRowGetPositionFields : Response + { + + private GetPositionResponseRow[] resultField; + + private GetPositionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetPositionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPositionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPositionFields + { + + private bool accountField; + + private bool assetField; + + private bool balanceDateField; + + private bool amountField; + + private bool acquisitionValueField; + + private bool acquisitionValueAccountCurrencyField; + + private bool openedField; + + private bool accountDimensionKeyField; + + private bool priceField; + + private bool fxRateField; + + private bool baseRateField; + + private bool displayCurrencyCodeField; + + private bool marketValueField; + + private bool marketValueAccountCurrencyField; + + private bool marketValueDisplayCurrencyField; + + private bool previousMarketValueField; + + private bool previousMarketValueDisplayCurrencyField; + + private bool marketValueChangeField; + + private bool acquisitionValueDisplayCurrencyField; + + private bool acquisitionPriceField; + + private bool acquisitionPriceAccountCurrencyField; + + private bool acquisitionPriceDisplayCurrencyField; + + private bool returnValueField; + + private bool returnValueAccountCurrencyField; + + private bool returnValueDisplayCurrencyField; + + private bool returnPercentageField; + + private bool returnPercentageAccountCurrencyField; + + private bool returnPercentageDisplayCurrencyField; + + private bool displayRateField; + + private bool reservedAmountField; + + private bool availableAmountField; + + private bool assetTypeField; + + private bool displayMultiplierField; + + private bool displayPercentagePriceField; + + private bool account_AccountNoField; + + private bool valueMultiplierField; + + private bool createdDateField; + + private bool accountTypeKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool BalanceDate + { + get + { + return this.balanceDateField; + } + set + { + this.balanceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Amount + { + get + { + return this.amountField; + } + set + { + this.amountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Opened + { + get + { + return this.openedField; + } + set + { + this.openedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool AccountDimensionKey + { + get + { + return this.accountDimensionKeyField; + } + set + { + this.accountDimensionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool FxRate + { + get + { + return this.fxRateField; + } + set + { + this.fxRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool BaseRate + { + get + { + return this.baseRateField; + } + set + { + this.baseRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool MarketValue + { + get + { + return this.marketValueField; + } + set + { + this.marketValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool MarketValueAccountCurrency + { + get + { + return this.marketValueAccountCurrencyField; + } + set + { + this.marketValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool MarketValueDisplayCurrency + { + get + { + return this.marketValueDisplayCurrencyField; + } + set + { + this.marketValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool PreviousMarketValue + { + get + { + return this.previousMarketValueField; + } + set + { + this.previousMarketValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool PreviousMarketValueDisplayCurrency + { + get + { + return this.previousMarketValueDisplayCurrencyField; + } + set + { + this.previousMarketValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool MarketValueChange + { + get + { + return this.marketValueChangeField; + } + set + { + this.marketValueChangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool AcquisitionValueDisplayCurrency + { + get + { + return this.acquisitionValueDisplayCurrencyField; + } + set + { + this.acquisitionValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool AcquisitionPrice + { + get + { + return this.acquisitionPriceField; + } + set + { + this.acquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool AcquisitionPriceAccountCurrency + { + get + { + return this.acquisitionPriceAccountCurrencyField; + } + set + { + this.acquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool AcquisitionPriceDisplayCurrency + { + get + { + return this.acquisitionPriceDisplayCurrencyField; + } + set + { + this.acquisitionPriceDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool ReturnValue + { + get + { + return this.returnValueField; + } + set + { + this.returnValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool ReturnValueAccountCurrency + { + get + { + return this.returnValueAccountCurrencyField; + } + set + { + this.returnValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool ReturnValueDisplayCurrency + { + get + { + return this.returnValueDisplayCurrencyField; + } + set + { + this.returnValueDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool ReturnPercentage + { + get + { + return this.returnPercentageField; + } + set + { + this.returnPercentageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool ReturnPercentageAccountCurrency + { + get + { + return this.returnPercentageAccountCurrencyField; + } + set + { + this.returnPercentageAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool ReturnPercentageDisplayCurrency + { + get + { + return this.returnPercentageDisplayCurrencyField; + } + set + { + this.returnPercentageDisplayCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool DisplayRate + { + get + { + return this.displayRateField; + } + set + { + this.displayRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool ReservedAmount + { + get + { + return this.reservedAmountField; + } + set + { + this.reservedAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool AvailableAmount + { + get + { + return this.availableAmountField; + } + set + { + this.availableAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool AssetType + { + get + { + return this.assetTypeField; + } + set + { + this.assetTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool Account_AccountNo + { + get + { + return this.account_AccountNoField; + } + set + { + this.account_AccountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool ValueMultiplier + { + get + { + return this.valueMultiplierField; + } + set + { + this.valueMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool AccountTypeKey + { + get + { + return this.accountTypeKeyField; + } + set + { + this.accountTypeKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPositionResponse : APISearchResponseOfGetPositionResponseRowGetPositionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InactivatePersonsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfInactivatePerson : Response + { + + private InactivatePerson[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InactivatePerson[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InactivatePersonsResponse : APIUpdateResponseOfInactivatePerson + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdatePersonsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdatePerson : Response + { + + private UpdatePerson[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdatePerson[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdatePersonsResponse : APIUpdateResponseOfUpdatePerson + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePersonResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfPerson : Response + { + + private Person[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Person[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreatePersonResponse : APICreateResponseOfPerson + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundEntitiesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateFundEntity : Response + { + + private UpdateFundEntity[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateFundEntity[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundEntitiesResponse : APIUpdateResponseOfUpdateFundEntity + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundEntityResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfFundEntity : Response + { + + private FundEntity[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FundEntity[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundEntityResponse : APICreateResponseOfFundEntity + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundCompaniesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateFundCompany : Response + { + + private UpdateFundCompany[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateFundCompany[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundCompaniesResponse : APIUpdateResponseOfUpdateFundCompany + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundCompaniesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfFundCompany : Response + { + + private FundCompany[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FundCompany[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundCompaniesResponse : APICreateResponseOfFundCompany + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFundEntityResponseRowGetFundEntityFields : Response + { + + private GetFundEntityResponseRow[] resultField; + + private GetFundEntityFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFundEntityResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundEntityFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundEntityResponse : APISearchResponseOfGetFundEntityResponseRowGetFundEntityFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFundCompaniesResponseRowGetFundCompaniesFields : Response + { + + private GetFundCompaniesResponseRow[] resultField; + + private GetFundCompaniesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFundCompaniesResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundCompaniesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundCompaniesResponse : APISearchResponseOfGetFundCompaniesResponseRowGetFundCompaniesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetPersonResponseRowGetPersonFields : Response + { + + private GetPersonResponseRow[] resultField; + + private GetPersonFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetPersonResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPersonFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPersonResponse : APISearchResponseOfGetPersonResponseRowGetPersonFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaxWithholdingAgreementResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateTaxWithholdingAgreement : Response + { + + private UpdateTaxWithholdingAgreement[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTaxWithholdingAgreement[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaxWithholdingAgreementResponse : APIUpdateResponseOfUpdateTaxWithholdingAgreement + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTaxWithholdingAgreementResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfTaxWithholdingAgreement : Response + { + + private TaxWithholdingAgreement[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TaxWithholdingAgreement[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTaxWithholdingAgreementResponse : APICreateResponseOfTaxWithholdingAgreement + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTaxWithholdingAgreementResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTaxWithholdingAgreementResponseRowGetTaxWithholdingAgreementFields : Response + { + + private GetTaxWithholdingAgreementResponseRow[] resultField; + + private GetTaxWithholdingAgreementFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTaxWithholdingAgreementResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTaxWithholdingAgreementFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTaxWithholdingAgreementResponse : APISearchResponseOfGetTaxWithholdingAgreementResponseRowGetTaxWithholdingAgreementFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHouseInformationResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetHouseInformationResponseRowGetHouseInformationFields : Response + { + + private GetHouseInformationResponseRow[] resultField; + + private GetHouseInformationFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetHouseInformationResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHouseInformationFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHouseInformationResponse : APISearchResponseOfGetHouseInformationResponseRowGetHouseInformationFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBackgroundJobsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetBackgroundJobsResponseRowGetBackgroundJobsFields : Response + { + + private GetBackgroundJobsResponseRow[] resultField; + + private GetBackgroundJobsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetBackgroundJobsResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBackgroundJobsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBackgroundJobsFields + { + + private bool brickIdField; + + private bool keyField; + + private bool stateKeyField; + + private bool resultCodeField; + + private bool resultField; + + private bool progressField; + + private bool externalReferenceField; + + private bool startRunTimeField; + + private bool endRunTimeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool StateKey + { + get + { + return this.stateKeyField; + } + set + { + this.stateKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ResultCode + { + get + { + return this.resultCodeField; + } + set + { + this.resultCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Progress + { + get + { + return this.progressField; + } + set + { + this.progressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool StartRunTime + { + get + { + return this.startRunTimeField; + } + set + { + this.startRunTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool EndRunTime + { + get + { + return this.endRunTimeField; + } + set + { + this.endRunTimeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBackgroundJobsResponse : APISearchResponseOfGetBackgroundJobsResponseRowGetBackgroundJobsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRelatedFifoLotsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetRelatedFifoLotsResponseRowGetRelatedFifoLotsFields : Response + { + + private GetRelatedFifoLotsResponseRow[] resultField; + + private GetRelatedFifoLotsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetRelatedFifoLotsResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetRelatedFifoLotsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRelatedFifoLotsFields + { + + private bool brickIdField; + + private bool exitBusinessTransactionField; + + private bool entryBusinessTransactionField; + + private bool acquisitionValueField; + + private bool acquisitionValueAccountCurrencyField; + + private bool quantityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ExitBusinessTransaction + { + get + { + return this.exitBusinessTransactionField; + } + set + { + this.exitBusinessTransactionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool EntryBusinessTransaction + { + get + { + return this.entryBusinessTransactionField; + } + set + { + this.entryBusinessTransactionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AcquisitionValue + { + get + { + return this.acquisitionValueField; + } + set + { + this.acquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AcquisitionValueAccountCurrency + { + get + { + return this.acquisitionValueAccountCurrencyField; + } + set + { + this.acquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool Quantity + { + get + { + return this.quantityField; + } + set + { + this.quantityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRelatedFifoLotsResponse : APISearchResponseOfGetRelatedFifoLotsResponseRowGetRelatedFifoLotsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvtaleGiroOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAvtaleGiroOrdersResponseRowGetAvtaleGiroOrdersFields : Response + { + + private GetAvtaleGiroOrdersResponseRow[] resultField; + + private GetAvtaleGiroOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAvtaleGiroOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAvtaleGiroOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvtaleGiroOrdersResponse : APISearchResponseOfGetAvtaleGiroOrdersResponseRowGetAvtaleGiroOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferOrdersResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTransferOrdersResponseRowGetTransferOrdersFields : Response + { + + private GetTransferOrdersResponseRow[] resultField; + + private GetTransferOrdersFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTransferOrdersResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferOrdersResponse : APISearchResponseOfGetTransferOrdersResponseRowGetTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferOrderStatesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateTransferOrderState : Response + { + + private UpdateTransferOrderState[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTransferOrderState[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferOrderStatesResponse : APIUpdateResponseOfUpdateTransferOrderState + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCountryResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetCountryResponseRowGetCountryFields : Response + { + + private GetCountryResponseRow[] resultField; + + private GetCountryFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetCountryResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCountryFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCountryResponse : APISearchResponseOfGetCountryResponseRowGetCountryFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransactionNoteResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTransactionNoteResponseRowGetTransactionNoteFields : Response + { + + private GetTransactionNoteResponseRow[] resultField; + + private GetTransactionNoteFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTransactionNoteResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTransactionNoteFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransactionNoteResponse : APISearchResponseOfGetTransactionNoteResponseRowGetTransactionNoteFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class APIDeleteResponse : Response + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateReservationResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfReservation : Response + { + + private Reservation[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Reservation[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateReservationResponse : APICreateResponseOfReservation + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetReservationResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetReservationResponseRowGetReservationFields : Response + { + + private GetReservationResponseRow[] resultField; + + private GetReservationFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetReservationResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetReservationFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetReservationResponse : APISearchResponseOfGetReservationResponseRowGetReservationFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaskResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateTask : Response + { + + private UpdateTask[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTask[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaskResponse : APIUpdateResponseOfUpdateTask + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTasksResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCreateTask : Response + { + + private CreateTask[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateTask[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTasksResponse : APICreateResponseOfCreateTask + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTasksResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTasksResponseRowGetTasksFields : Response + { + + private GetTasksResponseRow[] resultField; + + private GetTasksFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTasksResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTasksFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTasksResponse : APISearchResponseOfGetTasksResponseRowGetTasksFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateNoteResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateNote : Response + { + + private UpdateNote[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateNote[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateNoteResponse : APIUpdateResponseOfUpdateNote + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateNotesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCreateNote : Response + { + + private CreateNote[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateNote[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateNotesResponse : APICreateResponseOfCreateNote + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetNotesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetNotesResponseRowGetNotesFields : Response + { + + private GetNotesResponseRow[] resultField; + + private GetNotesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetNotesResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetNotesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetNotesResponse : APISearchResponseOfGetNotesResponseRowGetNotesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMessageResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateMessage : Response + { + + private UpdateMessage[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateMessage[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateMessageResponse : APIUpdateResponseOfUpdateMessage + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateMessagesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCreateMessage : Response + { + + private CreateMessage[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateMessage[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateMessagesResponse : APICreateResponseOfCreateMessage + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetMessagesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetMessagesResponseRowGetMessagesFields : Response + { + + private GetMessagesResponseRow[] resultField; + + private GetMessagesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetMessagesResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetMessagesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetMessagesResponse : APISearchResponseOfGetMessagesResponseRowGetMessagesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFailedWebhookResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetFailedWebhookResponseRowGetFailedWebhookFields : Response + { + + private GetFailedWebhookResponseRow[] resultField; + + private GetFailedWebhookFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetFailedWebhookResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFailedWebhookFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFailedWebhookResponse : APISearchResponseOfGetFailedWebhookResponseRowGetFailedWebhookFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteWebhookSubscriptionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfDeleteWebhookSubscription : Response + { + + private DeleteWebhookSubscription[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DeleteWebhookSubscription[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteWebhookSubscriptionResponse : APICreateResponseOfDeleteWebhookSubscription + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWebhookSubscriptionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfCreateWebhookSubscription : Response + { + + private CreateWebhookSubscription[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateWebhookSubscription[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWebhookSubscriptionResponse : APICreateResponseOfCreateWebhookSubscription + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvailableWebhookEventResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetAvailableWebhookEventResponseRowGetAvailableWebhookEventFields : Response + { + + private GetAvailableWebhookEventResponseRow[] resultField; + + private GetAvailableWebhookEventFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetAvailableWebhookEventResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAvailableWebhookEventFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvailableWebhookEventResponse : APISearchResponseOfGetAvailableWebhookEventResponseRowGetAvailableWebhookEventFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWebhookSubscriptionResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetWebhookSubscriptionResponseRowGetWebhookSubscriptionFields : Response + { + + private GetWebhookSubscriptionResponseRow[] resultField; + + private GetWebhookSubscriptionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetWebhookSubscriptionResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWebhookSubscriptionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWebhookSubscriptionResponse : APISearchResponseOfGetWebhookSubscriptionResponseRowGetWebhookSubscriptionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHoldingsOverTimeResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetHoldingsOverTimeResponseRowGetHoldingsOverTimeResponseFields : Response + { + + private GetHoldingsOverTimeResponseRow[] resultField; + + private GetHoldingsOverTimeResponseFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetHoldingsOverTimeResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHoldingsOverTimeResponseFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHoldingsOverTimeResponseFields + { + + private bool dateField; + + private bool valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Date + { + get + { + return this.dateField; + } + set + { + this.dateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHoldingsOverTimeResponse : APISearchResponseOfGetHoldingsOverTimeResponseRowGetHoldingsOverTimeResponseFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTRSCountriesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetTRSCountriesResponseRowGetTRSCountriesFields : Response + { + + private GetTRSCountriesResponseRow[] resultField; + + private GetTRSCountriesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetTRSCountriesResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTRSCountriesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTRSCountriesFields + { + + private bool brickIdField; + + private bool tRSIdTypePrio1Field; + + private bool tRSIdTypePrio2Field; + + private bool tRSIdTypePrio3Field; + + private bool countryCodeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool TRSIdTypePrio1 + { + get + { + return this.tRSIdTypePrio1Field; + } + set + { + this.tRSIdTypePrio1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool TRSIdTypePrio2 + { + get + { + return this.tRSIdTypePrio2Field; + } + set + { + this.tRSIdTypePrio2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool TRSIdTypePrio3 + { + get + { + return this.tRSIdTypePrio3Field; + } + set + { + this.tRSIdTypePrio3Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool CountryCode + { + get + { + return this.countryCodeField; + } + set + { + this.countryCodeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTRSCountriesResponse : APISearchResponseOfGetTRSCountriesResponseRowGetTRSCountriesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsurancePoliciesResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateInsurancePolicy : Response + { + + private UpdateInsurancePolicy[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInsurancePolicy[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsurancePoliciesResponse : APIUpdateResponseOfUpdateInsurancePolicy + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsurancePolicyResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfInsurancePolicy : Response + { + + private InsurancePolicy[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InsurancePolicy[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInsurancePolicyResponse : APICreateResponseOfInsurancePolicy + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsurancePolicyResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInsurancePolicyResponseRowGetInsurancePolicyFields : Response + { + + private GetInsurancePolicyResponseRow[] resultField; + + private GetInsurancePolicyFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInsurancePolicyResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsurancePolicyFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsurancePolicyResponse : APISearchResponseOfGetInsurancePolicyResponseRowGetInsurancePolicyFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceProductsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateResponseOfUpdateInsuranceProduct : Response + { + + private UpdateInsuranceProduct[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInsuranceProduct[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceProductsResponse : APIUpdateResponseOfUpdateInsuranceProduct + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceProductsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateResponseOfInsuranceProduct : Response + { + + private InsuranceProduct[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InsuranceProduct[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInsuranceProductsResponse : APICreateResponseOfInsuranceProduct + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceProductsResponse))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchResponseOfGetInsuranceProductsResponseRowGetInsuranceProductsFields : Response + { + + private GetInsuranceProductsResponseRow[] resultField; + + private GetInsuranceProductsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public GetInsuranceProductsResponseRow[] Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsuranceProductsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceProductsFields + { + + private bool brickIdField; + + private bool createdDateField; + + private bool insuranceProductSupplierIdField; + + private bool resellerIdField; + + private bool brokerIdField; + + private bool administratorIdField; + + private bool accountManagerIdField; + + private bool claimsAdjusterIdField; + + private bool insuranceProductTypeKeyField; + + private bool insuranceCategoryKeyField; + + private bool keyField; + + private bool nameField; + + private bool descriptionStringField; + + private bool productCodeField; + + private bool statusKeyField; + + private bool countryField; + + private bool ruleOf12Field; + + private bool ruleOf45Field; + + private bool ruleOf78Field; + + private bool currencyField; + + private bool insuranceCommissionField; + + private bool retentionField; + + private bool profitShareField; + + private bool termsNoField; + + private bool termsURLField; + + private bool productVersionField; + + private bool startDateField; + + private bool endDateField; + + private bool maxTermField; + + private bool insurableInterestField; + + private bool grossPriceField; + + private bool premiumBasedOnField; + + private bool netPriceField; + + private bool chargeIntervalField; + + private bool saleMethodField; + + private bool externalReferenceField; + + private bool parametersField; + + private bool commentField; + + private bool dealTypeKeyField; + + private bool periodOfNoticeField; + + private bool rAFApprovedDateField; + + private bool insuranceTaxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool CreatedDate + { + get + { + return this.createdDateField; + } + set + { + this.createdDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool InsuranceProductSupplierId + { + get + { + return this.insuranceProductSupplierIdField; + } + set + { + this.insuranceProductSupplierIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool BrokerId + { + get + { + return this.brokerIdField; + } + set + { + this.brokerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AdministratorId + { + get + { + return this.administratorIdField; + } + set + { + this.administratorIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AccountManagerId + { + get + { + return this.accountManagerIdField; + } + set + { + this.accountManagerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ClaimsAdjusterId + { + get + { + return this.claimsAdjusterIdField; + } + set + { + this.claimsAdjusterIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool InsuranceProductTypeKey + { + get + { + return this.insuranceProductTypeKeyField; + } + set + { + this.insuranceProductTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool InsuranceCategoryKey + { + get + { + return this.insuranceCategoryKeyField; + } + set + { + this.insuranceCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool ProductCode + { + get + { + return this.productCodeField; + } + set + { + this.productCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool RuleOf12 + { + get + { + return this.ruleOf12Field; + } + set + { + this.ruleOf12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool RuleOf45 + { + get + { + return this.ruleOf45Field; + } + set + { + this.ruleOf45Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool RuleOf78 + { + get + { + return this.ruleOf78Field; + } + set + { + this.ruleOf78Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool InsuranceCommission + { + get + { + return this.insuranceCommissionField; + } + set + { + this.insuranceCommissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool Retention + { + get + { + return this.retentionField; + } + set + { + this.retentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool ProfitShare + { + get + { + return this.profitShareField; + } + set + { + this.profitShareField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool TermsNo + { + get + { + return this.termsNoField; + } + set + { + this.termsNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool TermsURL + { + get + { + return this.termsURLField; + } + set + { + this.termsURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool ProductVersion + { + get + { + return this.productVersionField; + } + set + { + this.productVersionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool MaxTerm + { + get + { + return this.maxTermField; + } + set + { + this.maxTermField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool InsurableInterest + { + get + { + return this.insurableInterestField; + } + set + { + this.insurableInterestField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool GrossPrice + { + get + { + return this.grossPriceField; + } + set + { + this.grossPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool PremiumBasedOn + { + get + { + return this.premiumBasedOnField; + } + set + { + this.premiumBasedOnField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool NetPrice + { + get + { + return this.netPriceField; + } + set + { + this.netPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool ChargeInterval + { + get + { + return this.chargeIntervalField; + } + set + { + this.chargeIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool SaleMethod + { + get + { + return this.saleMethodField; + } + set + { + this.saleMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool DealTypeKey + { + get + { + return this.dealTypeKeyField; + } + set + { + this.dealTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool PeriodOfNotice + { + get + { + return this.periodOfNoticeField; + } + set + { + this.periodOfNoticeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool RAFApprovedDate + { + get + { + return this.rAFApprovedDateField; + } + set + { + this.rAFApprovedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=41)] + public bool InsuranceTax + { + get + { + return this.insuranceTaxField; + } + set + { + this.insuranceTaxField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceProductsResponse : APISearchResponseOfGetInsuranceProductsResponseRowGetInsuranceProductsFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceClaimsFields + { + + private bool brickIdField; + + private bool insurancePolicyIdField; + + private bool insuranceCoverIdField; + + private bool benefitGrantField; + + private bool personIdField; + + private bool systemDateField; + + private bool receiveDateField; + + private bool claimDateField; + + private bool statusField; + + private bool priorityField; + + private bool rejectReasonField; + + private bool commentField; + + private bool xmlFormFillOutField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool InsurancePolicyId + { + get + { + return this.insurancePolicyIdField; + } + set + { + this.insurancePolicyIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool InsuranceCoverId + { + get + { + return this.insuranceCoverIdField; + } + set + { + this.insuranceCoverIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BenefitGrant + { + get + { + return this.benefitGrantField; + } + set + { + this.benefitGrantField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool SystemDate + { + get + { + return this.systemDateField; + } + set + { + this.systemDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ReceiveDate + { + get + { + return this.receiveDateField; + } + set + { + this.receiveDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool ClaimDate + { + get + { + return this.claimDateField; + } + set + { + this.claimDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool RejectReason + { + get + { + return this.rejectReasonField; + } + set + { + this.rejectReasonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool XmlFormFillOut + { + get + { + return this.xmlFormFillOutField; + } + set + { + this.xmlFormFillOutField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceClaimsArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] insurancePolicyIdsField; + + private System.Guid[] insuranceCoverIdsField; + + private System.Guid[] insuranceProductIdsField; + + private string[] insuranceProductNamesField; + + private decimal[] benefitGrantsField; + + private System.Guid[] personIdsField; + + private System.Nullable systemDateFromField; + + private System.Nullable systemDateToField; + + private System.Nullable receiveDateFromField; + + private System.Nullable receiveDateToField; + + private System.Nullable claimDateFromField; + + private System.Nullable claimDateToField; + + private string[] claimNosField; + + private int[] statusesField; + + private int[] prioritiesField; + + private int[] rejectReasonsField; + + private string commentsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] InsurancePolicyIds + { + get + { + return this.insurancePolicyIdsField; + } + set + { + this.insurancePolicyIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] InsuranceCoverIds + { + get + { + return this.insuranceCoverIdsField; + } + set + { + this.insuranceCoverIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] InsuranceProductIds + { + get + { + return this.insuranceProductIdsField; + } + set + { + this.insuranceProductIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] InsuranceProductNames + { + get + { + return this.insuranceProductNamesField; + } + set + { + this.insuranceProductNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public decimal[] BenefitGrants + { + get + { + return this.benefitGrantsField; + } + set + { + this.benefitGrantsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] PersonIds + { + get + { + return this.personIdsField; + } + set + { + this.personIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SystemDateFrom + { + get + { + return this.systemDateFromField; + } + set + { + this.systemDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable SystemDateTo + { + get + { + return this.systemDateToField; + } + set + { + this.systemDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ReceiveDateFrom + { + get + { + return this.receiveDateFromField; + } + set + { + this.receiveDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable ReceiveDateTo + { + get + { + return this.receiveDateToField; + } + set + { + this.receiveDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable ClaimDateFrom + { + get + { + return this.claimDateFromField; + } + set + { + this.claimDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable ClaimDateTo + { + get + { + return this.claimDateToField; + } + set + { + this.claimDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public string[] ClaimNos + { + get + { + return this.claimNosField; + } + set + { + this.claimNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public int[] Statuses + { + get + { + return this.statusesField; + } + set + { + this.statusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=17)] + public int[] Priorities + { + get + { + return this.prioritiesField; + } + set + { + this.prioritiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public int[] RejectReasons + { + get + { + return this.rejectReasonsField; + } + set + { + this.rejectReasonsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceCoversArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string[] keysField; + + private string[] labelsField; + + private string[] namesField; + + private string[] descriptionStringsField; + + private int[] statusesField; + + private string[] qualificationPeriodsField; + + private string[] reQualificationPeriodsField; + + private string[] qualifyingPeriodsField; + + private string[] compensationTypesField; + + private decimal[] maxCompensationsField; + + private int[] minSubscriptionAgesField; + + private int[] maxSubscriptionAgesField; + + private int[] maxAgesField; + + private decimal[] deductiblesField; + + private string[] commentsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] Labels + { + get + { + return this.labelsField; + } + set + { + this.labelsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] Names + { + get + { + return this.namesField; + } + set + { + this.namesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] DescriptionStrings + { + get + { + return this.descriptionStringsField; + } + set + { + this.descriptionStringsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public int[] Statuses + { + get + { + return this.statusesField; + } + set + { + this.statusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] QualificationPeriods + { + get + { + return this.qualificationPeriodsField; + } + set + { + this.qualificationPeriodsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] ReQualificationPeriods + { + get + { + return this.reQualificationPeriodsField; + } + set + { + this.reQualificationPeriodsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public string[] QualifyingPeriods + { + get + { + return this.qualifyingPeriodsField; + } + set + { + this.qualifyingPeriodsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] CompensationTypes + { + get + { + return this.compensationTypesField; + } + set + { + this.compensationTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public decimal[] MaxCompensations + { + get + { + return this.maxCompensationsField; + } + set + { + this.maxCompensationsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public int[] MinSubscriptionAges + { + get + { + return this.minSubscriptionAgesField; + } + set + { + this.minSubscriptionAgesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public int[] MaxSubscriptionAges + { + get + { + return this.maxSubscriptionAgesField; + } + set + { + this.maxSubscriptionAgesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public int[] MaxAges + { + get + { + return this.maxAgesField; + } + set + { + this.maxAgesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public decimal[] Deductibles + { + get + { + return this.deductiblesField; + } + set + { + this.deductiblesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=17)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundInstructions_Settle))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ActionTriggerDataEntityBase + { + + private System.Guid brickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundInstructions_Settle : ActionTriggerDataEntityBase + { + + private decimal settledAmountField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal SettledAmount + { + get + { + return this.settledAmountField; + } + set + { + this.settledAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradingVenueArgs + { + + private System.Guid[] brickIdsField; + + private string[] namesField; + + private string[] mICField; + + private string[] shortNamesField; + + private System.Nullable isTradingVenueField; + + private System.Nullable isMarketField; + + private System.Nullable isInternalField; + + private string[] tRSCountriesField; + + private string[] countriesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Names + { + get + { + return this.namesField; + } + set + { + this.namesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] MIC + { + get + { + return this.mICField; + } + set + { + this.mICField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] ShortNames + { + get + { + return this.shortNamesField; + } + set + { + this.shortNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable IsTradingVenue + { + get + { + return this.isTradingVenueField; + } + set + { + this.isTradingVenueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable IsMarket + { + get + { + return this.isMarketField; + } + set + { + this.isMarketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable IsInternal + { + get + { + return this.isInternalField; + } + set + { + this.isInternalField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] TRSCountries + { + get + { + return this.tRSCountriesField; + } + set + { + this.tRSCountriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] Countries + { + get + { + return this.countriesField; + } + set + { + this.countriesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeGroupArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string keyField; + + private string statusKeyField; + + private string actionTypeKeyField; + + private string commentField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string ActionTypeKey + { + get + { + return this.actionTypeKeyField; + } + set + { + this.actionTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileInfoArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] fileContextField; + + private System.Guid[] createdByField; + + private System.Nullable[] permissionField; + + private string[] contentTypesField; + + private string nameField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] FileContext + { + get + { + return this.fileContextField; + } + set + { + this.fileContextField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] CreatedBy + { + get + { + return this.createdByField; + } + set + { + this.createdByField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + [System.Xml.Serialization.XmlArrayItemAttribute()] + public System.Nullable[] Permission + { + get + { + return this.permissionField; + } + set + { + this.permissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] ContentTypes + { + get + { + return this.contentTypesField; + } + set + { + this.contentTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum FilePermission + { + + /// + All, + + /// + AdminPartner, + + /// + AdminOnly, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FileInfoUpload + { + + private System.Guid ownerField; + + private string fileNameField; + + private string contentTypeField; + + private FilePermission permissionField; + + private byte[] fileBytesField; + + private CustomField[] customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string FileName + { + get + { + return this.fileNameField; + } + set + { + this.fileNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ContentType + { + get + { + return this.contentTypeField; + } + set + { + this.contentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public FilePermission Permission + { + get + { + return this.permissionField; + } + set + { + this.permissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] + public byte[] fileBytes + { + get + { + return this.fileBytesField; + } + set + { + this.fileBytesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public CustomField[] CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FileInfoGeneral + { + + private System.Guid brickIdField; + + private System.Guid ownerField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Guid Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPricesArgs + { + + private System.Guid[] assetIdsField; + + private System.Nullable fromDateField; + + private System.Nullable toDateField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] AssetIds + { + get + { + return this.assetIdsField; + } + set + { + this.assetIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable FromDate + { + get + { + return this.fromDateField; + } + set + { + this.fromDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable ToDate + { + get + { + return this.toDateField; + } + set + { + this.toDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRecurringOrderTemplatesArgs + { + + private System.Guid[] brickIdsField; + + private string[] orderNoField; + + private System.Guid[] accountsField; + + private System.Guid[] instrumentsField; + + private string[] commentsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] Instruments + { + get + { + return this.instrumentsField; + } + set + { + this.instrumentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferReceiversArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] personsField; + + private string[] transferReceiverTypeKeysField; + + private string[] bankNamesField; + + private string[] counterpartyBrickIdsField; + + private string[] counterpartyNamesField; + + private System.Nullable batchOrdersField; + + private string[] statesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Persons + { + get + { + return this.personsField; + } + set + { + this.personsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] TransferReceiverTypeKeys + { + get + { + return this.transferReceiverTypeKeysField; + } + set + { + this.transferReceiverTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] BankNames + { + get + { + return this.bankNamesField; + } + set + { + this.bankNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] CounterpartyBrickIds + { + get + { + return this.counterpartyBrickIdsField; + } + set + { + this.counterpartyBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] CounterpartyNames + { + get + { + return this.counterpartyNamesField; + } + set + { + this.counterpartyNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionTypeArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + private string statusKeyField; + + private System.Nullable manualTicketField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string[] reportingTypeKeysField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable ManualTicket + { + get + { + return this.manualTicketField; + } + set + { + this.manualTicketField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] ReportingTypeKeys + { + get + { + return this.reportingTypeKeysField; + } + set + { + this.reportingTypeKeysField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetOrderTypeArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + private string transactionCoveringSequenceField; + + private System.Nullable useFreeCashField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TransactionCoveringSequence + { + get + { + return this.transactionCoveringSequenceField; + } + set + { + this.transactionCoveringSequenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable UseFreeCash + { + get + { + return this.useFreeCashField; + } + set + { + this.useFreeCashField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOATypeArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + private string actionListField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string ActionList + { + get + { + return this.actionListField; + } + set + { + this.actionListField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountTypeArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string accountNoSeriesKeyField; + + private System.Nullable accountTypeRuleTypeField; + + private System.Nullable accountTypeStatusField; + + private string accountPositionLogicField; + + private string interestRateInstrumentKeyField; + + private System.Nullable mustCoverField; + + private System.Nullable isSubjectToIncomeTaxField; + + private System.Nullable isInsuranceAccountField; + + private string externalHouseField; + + private ReconciliationType[] reconciliationTypesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string AccountNoSeriesKey + { + get + { + return this.accountNoSeriesKeyField; + } + set + { + this.accountNoSeriesKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable AccountTypeRuleType + { + get + { + return this.accountTypeRuleTypeField; + } + set + { + this.accountTypeRuleTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable AccountTypeStatus + { + get + { + return this.accountTypeStatusField; + } + set + { + this.accountTypeStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string AccountPositionLogic + { + get + { + return this.accountPositionLogicField; + } + set + { + this.accountPositionLogicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string InterestRateInstrumentKey + { + get + { + return this.interestRateInstrumentKeyField; + } + set + { + this.interestRateInstrumentKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable MustCover + { + get + { + return this.mustCoverField; + } + set + { + this.mustCoverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable IsSubjectToIncomeTax + { + get + { + return this.isSubjectToIncomeTaxField; + } + set + { + this.isSubjectToIncomeTaxField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable IsInsuranceAccount + { + get + { + return this.isInsuranceAccountField; + } + set + { + this.isInsuranceAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string ExternalHouse + { + get + { + return this.externalHouseField; + } + set + { + this.externalHouseField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public ReconciliationType[] ReconciliationTypes + { + get + { + return this.reconciliationTypesField; + } + set + { + this.reconciliationTypesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCashArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + private System.Nullable currencyField; + + private System.Nullable decimalPlacesField; + + private int[] instrumentStatusesField; + + private System.Nullable priceDecimalsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable DecimalPlaces + { + get + { + return this.decimalPlacesField; + } + set + { + this.decimalPlacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public int[] InstrumentStatuses + { + get + { + return this.instrumentStatusesField; + } + set + { + this.instrumentStatusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable PriceDecimals + { + get + { + return this.priceDecimalsField; + } + set + { + this.priceDecimalsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CurrencyValueEntry + { + + private string currCode1Field; + + private string currCode2Field; + + private System.DateTime priceDateField; + + private string dataSeriesField; + + private double valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string CurrCode1 + { + get + { + return this.currCode1Field; + } + set + { + this.currCode1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CurrCode2 + { + get + { + return this.currCode2Field; + } + set + { + this.currCode2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string DataSeries + { + get + { + return this.dataSeriesField; + } + set + { + this.dataSeriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public double Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyValuesArgs + { + + private string sourceCurrencyCodeField; + + private string requestedCurrencyCodeField; + + private System.Nullable fromDateField; + + private System.Nullable toDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string SourceCurrencyCode + { + get + { + return this.sourceCurrencyCodeField; + } + set + { + this.sourceCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string RequestedCurrencyCode + { + get + { + return this.requestedCurrencyCodeField; + } + set + { + this.requestedCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable FromDate + { + get + { + return this.fromDateField; + } + set + { + this.fromDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable ToDate + { + get + { + return this.toDateField; + } + set + { + this.toDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyArgs + { + + private System.Guid[] brickIdsField; + + private string[] codesField; + + private string[] statusKeysField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Codes + { + get + { + return this.codesField; + } + set + { + this.codesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] StatusKeys + { + get + { + return this.statusKeysField; + } + set + { + this.statusKeysField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class PriceDateEntry + { + + private System.Guid assetIdField; + + private double priceField; + + private System.DateTime priceDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid AssetId + { + get + { + return this.assetIdField; + } + set + { + this.assetIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public double Price + { + get + { + return this.priceField; + } + set + { + this.priceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime PriceDate + { + get + { + return this.priceDateField; + } + set + { + this.priceDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CorrectionBusinessTransactionFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionArgs + { + + private System.Guid[] brickIdsField; + + private string[] returnCalculationTypesField; + + private string[] businessTransactionTypeKeysField; + + private System.Guid[] businessTransactionTypeIdsField; + + private System.Guid[] accountsField; + + private System.Guid[] assetsField; + + private string[] accountDimensionKeysField; + + private string[] accountTypeKeysField; + + private string[] transactionReferencesField; + + private System.Nullable tradeDateFromField; + + private System.Nullable tradeDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable sequenceNoFromField; + + private System.Nullable sequenceNoToField; + + private System.Nullable amountAsset1FromField; + + private System.Nullable amountAsset1ToField; + + private System.Nullable amountAsset2FromField; + + private System.Nullable amountAsset2ToField; + + private System.Nullable correctionDateFromField; + + private System.Nullable correctionDateToField; + + private System.Guid[] batchIdsField; + + private System.Guid[] orderIdsField; + + private string[] reportingTypesField; + + private System.Guid[] superTransactionIdsField; + + private System.Guid[] superTransactionBusinessEventIdsField; + + private ReconciliationStatus[] reconciliationStatusesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] ReturnCalculationTypes + { + get + { + return this.returnCalculationTypesField; + } + set + { + this.returnCalculationTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] BusinessTransactionTypeKeys + { + get + { + return this.businessTransactionTypeKeysField; + } + set + { + this.businessTransactionTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] BusinessTransactionTypeIds + { + get + { + return this.businessTransactionTypeIdsField; + } + set + { + this.businessTransactionTypeIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] Assets + { + get + { + return this.assetsField; + } + set + { + this.assetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] AccountDimensionKeys + { + get + { + return this.accountDimensionKeysField; + } + set + { + this.accountDimensionKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] AccountTypeKeys + { + get + { + return this.accountTypeKeysField; + } + set + { + this.accountTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] TransactionReferences + { + get + { + return this.transactionReferencesField; + } + set + { + this.transactionReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable TradeDateFrom + { + get + { + return this.tradeDateFromField; + } + set + { + this.tradeDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable TradeDateTo + { + get + { + return this.tradeDateToField; + } + set + { + this.tradeDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable SequenceNoFrom + { + get + { + return this.sequenceNoFromField; + } + set + { + this.sequenceNoFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable SequenceNoTo + { + get + { + return this.sequenceNoToField; + } + set + { + this.sequenceNoToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable AmountAsset1From + { + get + { + return this.amountAsset1FromField; + } + set + { + this.amountAsset1FromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable AmountAsset1To + { + get + { + return this.amountAsset1ToField; + } + set + { + this.amountAsset1ToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=19)] + public System.Nullable AmountAsset2From + { + get + { + return this.amountAsset2FromField; + } + set + { + this.amountAsset2FromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable AmountAsset2To + { + get + { + return this.amountAsset2ToField; + } + set + { + this.amountAsset2ToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=21)] + public System.Nullable CorrectionDateFrom + { + get + { + return this.correctionDateFromField; + } + set + { + this.correctionDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=22)] + public System.Nullable CorrectionDateTo + { + get + { + return this.correctionDateToField; + } + set + { + this.correctionDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=23)] + public System.Guid[] BatchIds + { + get + { + return this.batchIdsField; + } + set + { + this.batchIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=24)] + public System.Guid[] OrderIds + { + get + { + return this.orderIdsField; + } + set + { + this.orderIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=25)] + public string[] ReportingTypes + { + get + { + return this.reportingTypesField; + } + set + { + this.reportingTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=26)] + public System.Guid[] SuperTransactionIds + { + get + { + return this.superTransactionIdsField; + } + set + { + this.superTransactionIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=27)] + public System.Guid[] SuperTransactionBusinessEventIds + { + get + { + return this.superTransactionBusinessEventIdsField; + } + set + { + this.superTransactionBusinessEventIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=28)] + public ReconciliationStatus[] ReconciliationStatuses + { + get + { + return this.reconciliationStatusesField; + } + set + { + this.reconciliationStatusesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSuperTransactionArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] orderIdsField; + + private System.Guid[] insurancePolicyIdsField; + + private System.Guid[] insuranceClaimIdsField; + + private System.Guid[] batchIdsField; + + private System.Guid[] businessEventIdsField; + + private System.Guid[] noteIdsField; + + private System.Nullable sequenceNoFromField; + + private System.Nullable sequenceNoToField; + + private System.Nullable sequenceNoField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] OrderIds + { + get + { + return this.orderIdsField; + } + set + { + this.orderIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] InsurancePolicyIds + { + get + { + return this.insurancePolicyIdsField; + } + set + { + this.insurancePolicyIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] InsuranceClaimIds + { + get + { + return this.insuranceClaimIdsField; + } + set + { + this.insuranceClaimIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] BatchIds + { + get + { + return this.batchIdsField; + } + set + { + this.batchIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] BusinessEventIds + { + get + { + return this.businessEventIdsField; + } + set + { + this.businessEventIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] NoteIds + { + get + { + return this.noteIdsField; + } + set + { + this.noteIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SequenceNoFrom + { + get + { + return this.sequenceNoFromField; + } + set + { + this.sequenceNoFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable SequenceNoTo + { + get + { + return this.sequenceNoToField; + } + set + { + this.sequenceNoToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable SequenceNo + { + get + { + return this.sequenceNoField; + } + set + { + this.sequenceNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWhiteLabelFields + { + + private bool nameField; + + private bool keyField; + + private bool urlField; + + private bool commentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool Url + { + get + { + return this.urlField; + } + set + { + this.urlField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWhiteLabelArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountsArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] ownersField; + + private System.Nullable allocationProfileField; + + private string[] accountNosField; + + private string[] externalReferencesField; + + private string[] ownerAccountLabelsField; + + private System.Nullable accountStatusField; + + private string[] accountTypeKeysField; + + private string[] accountWorldsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] resellersField; + + private string[] resellerNosField; + + private string[] accountCommentsField; + + private System.Guid[] insuranceOwnersField; + + private System.Guid[] insuredsField; + + private System.Guid[] insurancePayersField; + + private System.Guid[] contactLegalEntitiesField; + + private string[] iBANsField; + + private string[] lockedStatusKeysField; + + private System.Nullable firstPaymentAgeField; + + private string paymentIntervalKeyField; + + private System.Nullable paymentLengthField; + + private System.Nullable payoutsField; + + private System.Nullable payoutsLeftField; + + private System.Nullable firstPaymentDateFromField; + + private System.Nullable firstPaymentDateToField; + + private System.Guid[] decisionMakersField; + + private System.Nullable isSubjectToContinuousInvestmentAdviceField; + + private System.Guid[] custodianBrickIdsField; + + private CounterpartyAccountType[] counterpartyAccountTypesField; + + private System.Guid[] discountGroupIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Owners + { + get + { + return this.ownersField; + } + set + { + this.ownersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable AllocationProfile + { + get + { + return this.allocationProfileField; + } + set + { + this.allocationProfileField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] AccountNos + { + get + { + return this.accountNosField; + } + set + { + this.accountNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] OwnerAccountLabels + { + get + { + return this.ownerAccountLabelsField; + } + set + { + this.ownerAccountLabelsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable AccountStatus + { + get + { + return this.accountStatusField; + } + set + { + this.accountStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] AccountTypeKeys + { + get + { + return this.accountTypeKeysField; + } + set + { + this.accountTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] AccountWorlds + { + get + { + return this.accountWorldsField; + } + set + { + this.accountWorldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public System.Guid[] Resellers + { + get + { + return this.resellersField; + } + set + { + this.resellersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] ResellerNos + { + get + { + return this.resellerNosField; + } + set + { + this.resellerNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public string[] AccountComments + { + get + { + return this.accountCommentsField; + } + set + { + this.accountCommentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public System.Guid[] InsuranceOwners + { + get + { + return this.insuranceOwnersField; + } + set + { + this.insuranceOwnersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public System.Guid[] Insureds + { + get + { + return this.insuredsField; + } + set + { + this.insuredsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public System.Guid[] InsurancePayers + { + get + { + return this.insurancePayersField; + } + set + { + this.insurancePayersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=17)] + public System.Guid[] ContactLegalEntities + { + get + { + return this.contactLegalEntitiesField; + } + set + { + this.contactLegalEntitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public string[] IBANs + { + get + { + return this.iBANsField; + } + set + { + this.iBANsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public string[] LockedStatusKeys + { + get + { + return this.lockedStatusKeysField; + } + set + { + this.lockedStatusKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable FirstPaymentAge + { + get + { + return this.firstPaymentAgeField; + } + set + { + this.firstPaymentAgeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public string PaymentIntervalKey + { + get + { + return this.paymentIntervalKeyField; + } + set + { + this.paymentIntervalKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=22)] + public System.Nullable PaymentLength + { + get + { + return this.paymentLengthField; + } + set + { + this.paymentLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=23)] + public System.Nullable Payouts + { + get + { + return this.payoutsField; + } + set + { + this.payoutsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable PayoutsLeft + { + get + { + return this.payoutsLeftField; + } + set + { + this.payoutsLeftField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable FirstPaymentDateFrom + { + get + { + return this.firstPaymentDateFromField; + } + set + { + this.firstPaymentDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=26)] + public System.Nullable FirstPaymentDateTo + { + get + { + return this.firstPaymentDateToField; + } + set + { + this.firstPaymentDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=27)] + public System.Guid[] DecisionMakers + { + get + { + return this.decisionMakersField; + } + set + { + this.decisionMakersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=28)] + public System.Nullable IsSubjectToContinuousInvestmentAdvice + { + get + { + return this.isSubjectToContinuousInvestmentAdviceField; + } + set + { + this.isSubjectToContinuousInvestmentAdviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=29)] + public System.Guid[] CustodianBrickIds + { + get + { + return this.custodianBrickIdsField; + } + set + { + this.custodianBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=30)] + public CounterpartyAccountType[] CounterpartyAccountTypes + { + get + { + return this.counterpartyAccountTypesField; + } + set + { + this.counterpartyAccountTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=31)] + public System.Guid[] DiscountGroupIds + { + get + { + return this.discountGroupIdsField; + } + set + { + this.discountGroupIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionExecutionArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] fundInstructionsField; + + private string[] marketplaceOrderNosField; + + private System.Guid[] paymentCurrencysField; + + private System.Guid[] currencysField; + + private string[] receivedStatusTextsField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private System.Nullable tradeDateFromField; + + private System.Nullable tradeDateToField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] FundInstructions + { + get + { + return this.fundInstructionsField; + } + set + { + this.fundInstructionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] MarketplaceOrderNos + { + get + { + return this.marketplaceOrderNosField; + } + set + { + this.marketplaceOrderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] PaymentCurrencys + { + get + { + return this.paymentCurrencysField; + } + set + { + this.paymentCurrencysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Currencys + { + get + { + return this.currencysField; + } + set + { + this.currencysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] ReceivedStatusTexts + { + get + { + return this.receivedStatusTextsField; + } + set + { + this.receivedStatusTextsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable TradeDateFrom + { + get + { + return this.tradeDateFromField; + } + set + { + this.tradeDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable TradeDateTo + { + get + { + return this.tradeDateToField; + } + set + { + this.tradeDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionStatusLogArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] fundInstructionsField; + + private string[] marketPlaceOrderNosField; + + private string[] fundInstructionNosField; + + private string[] statusKeysField; + + private string[] receivedStatusTextsField; + + private System.Nullable receiveDateFromField; + + private System.Nullable receiveDateToField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] FundInstructions + { + get + { + return this.fundInstructionsField; + } + set + { + this.fundInstructionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] MarketPlaceOrderNos + { + get + { + return this.marketPlaceOrderNosField; + } + set + { + this.marketPlaceOrderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] FundInstructionNos + { + get + { + return this.fundInstructionNosField; + } + set + { + this.fundInstructionNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] StatusKeys + { + get + { + return this.statusKeysField; + } + set + { + this.statusKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] ReceivedStatusTexts + { + get + { + return this.receivedStatusTextsField; + } + set + { + this.receivedStatusTextsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable ReceiveDateFrom + { + get + { + return this.receiveDateFromField; + } + set + { + this.receiveDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable ReceiveDateTo + { + get + { + return this.receiveDateToField; + } + set + { + this.receiveDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] executionInterfaceIdField; + + private bool physicalDeliveryIndicatorField; + + private string[] fundInstructionNosField; + + private string[] statusKeysField; + + private System.Guid[] externalFundBatchOrderIdsField; + + private System.Guid[] instrumentIdsField; + + private System.Guid[] requestedNAVCurrencyIdsField; + + private System.Guid[] requestedSettlementCurrencyIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] ExecutionInterfaceId + { + get + { + return this.executionInterfaceIdField; + } + set + { + this.executionInterfaceIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool PhysicalDeliveryIndicator + { + get + { + return this.physicalDeliveryIndicatorField; + } + set + { + this.physicalDeliveryIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] FundInstructionNos + { + get + { + return this.fundInstructionNosField; + } + set + { + this.fundInstructionNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] StatusKeys + { + get + { + return this.statusKeysField; + } + set + { + this.statusKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] ExternalFundBatchOrderIds + { + get + { + return this.externalFundBatchOrderIdsField; + } + set + { + this.externalFundBatchOrderIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] InstrumentIds + { + get + { + return this.instrumentIdsField; + } + set + { + this.instrumentIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public System.Guid[] RequestedNAVCurrencyIds + { + get + { + return this.requestedNAVCurrencyIdsField; + } + set + { + this.requestedNAVCurrencyIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public System.Guid[] RequestedSettlementCurrencyIds + { + get + { + return this.requestedSettlementCurrencyIdsField; + } + set + { + this.requestedSettlementCurrencyIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDecisionMakerArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] personsField; + + private System.Guid[] ordersField; + + private string[] commentsField; + + private System.Nullable isHouseField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Persons + { + get + { + return this.personsField; + } + set + { + this.personsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] Orders + { + get + { + return this.ordersField; + } + set + { + this.ordersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable IsHouse + { + get + { + return this.isHouseField; + } + set + { + this.isHouseField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessEventArgs + { + + private System.Guid[] brickIdsField; + + private string[] descriptionsField; + + private string[] executionInterfaceSettingKeysField; + + private System.Guid[] accountsField; + + private string[] businessEventNosField; + + private string[] commentsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Descriptions + { + get + { + return this.descriptionsField; + } + set + { + this.descriptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] ExecutionInterfaceSettingKeys + { + get + { + return this.executionInterfaceSettingKeysField; + } + set + { + this.executionInterfaceSettingKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] BusinessEventNos + { + get + { + return this.businessEventNosField; + } + set + { + this.businessEventNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDealsArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable asset1Field; + + private System.Nullable asset2Field; + + private string[] executionInterfacesField; + + private System.Guid[] buyPartyAccountsField; + + private System.Guid[] sellPartyAccountsField; + + private string[] dealNosField; + + private System.Guid[] buyOrdersField; + + private System.Guid[] sellOrdersField; + + private string[] buyPartyNotesField; + + private string[] sellPartyNotesField; + + private System.Nullable isTRSReportingField; + + private System.Nullable tradeTimeFromField; + + private System.Nullable tradeTimeToField; + + private System.Nullable tradeDateFromField; + + private System.Nullable tradeDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private string[] statusKeysField; + + private System.Guid[] tradingVenuesField; + + private string[] tradingVenueTransactionIdsField; + + private System.Nullable tradingVenueTimeStampDateFromField; + + private System.Nullable tradingVenueTimeStampDateToField; + + private System.Nullable cancellationDateFromField; + + private System.Nullable cancellationDateToField; + + private string executionWithinFirmTypeField; + + private System.Guid[] executionWithinFirm_ALGOField; + + private System.Guid[] executionWithinFirm_USERField; + + private string tradingCapacityField; + + private string tRSVenueTypeValueField; + + private System.Nullable iNTCField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable Asset1 + { + get + { + return this.asset1Field; + } + set + { + this.asset1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable Asset2 + { + get + { + return this.asset2Field; + } + set + { + this.asset2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] ExecutionInterfaces + { + get + { + return this.executionInterfacesField; + } + set + { + this.executionInterfacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] BuyPartyAccounts + { + get + { + return this.buyPartyAccountsField; + } + set + { + this.buyPartyAccountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] SellPartyAccounts + { + get + { + return this.sellPartyAccountsField; + } + set + { + this.sellPartyAccountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] DealNos + { + get + { + return this.dealNosField; + } + set + { + this.dealNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public System.Guid[] BuyOrders + { + get + { + return this.buyOrdersField; + } + set + { + this.buyOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public System.Guid[] SellOrders + { + get + { + return this.sellOrdersField; + } + set + { + this.sellOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] BuyPartyNotes + { + get + { + return this.buyPartyNotesField; + } + set + { + this.buyPartyNotesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] SellPartyNotes + { + get + { + return this.sellPartyNotesField; + } + set + { + this.sellPartyNotesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable IsTRSReporting + { + get + { + return this.isTRSReportingField; + } + set + { + this.isTRSReportingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable TradeTimeFrom + { + get + { + return this.tradeTimeFromField; + } + set + { + this.tradeTimeFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable TradeTimeTo + { + get + { + return this.tradeTimeToField; + } + set + { + this.tradeTimeToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable TradeDateFrom + { + get + { + return this.tradeDateFromField; + } + set + { + this.tradeDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable TradeDateTo + { + get + { + return this.tradeDateToField; + } + set + { + this.tradeDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=19)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=20)] + public string[] StatusKeys + { + get + { + return this.statusKeysField; + } + set + { + this.statusKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=21)] + public System.Guid[] TradingVenues + { + get + { + return this.tradingVenuesField; + } + set + { + this.tradingVenuesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=22)] + public string[] TradingVenueTransactionIds + { + get + { + return this.tradingVenueTransactionIdsField; + } + set + { + this.tradingVenueTransactionIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=23)] + public System.Nullable TradingVenueTimeStampDateFrom + { + get + { + return this.tradingVenueTimeStampDateFromField; + } + set + { + this.tradingVenueTimeStampDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable TradingVenueTimeStampDateTo + { + get + { + return this.tradingVenueTimeStampDateToField; + } + set + { + this.tradingVenueTimeStampDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable CancellationDateFrom + { + get + { + return this.cancellationDateFromField; + } + set + { + this.cancellationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=26)] + public System.Nullable CancellationDateTo + { + get + { + return this.cancellationDateToField; + } + set + { + this.cancellationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public string ExecutionWithinFirmType + { + get + { + return this.executionWithinFirmTypeField; + } + set + { + this.executionWithinFirmTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=28)] + public System.Guid[] ExecutionWithinFirm_ALGO + { + get + { + return this.executionWithinFirm_ALGOField; + } + set + { + this.executionWithinFirm_ALGOField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=29)] + public System.Guid[] ExecutionWithinFirm_USER + { + get + { + return this.executionWithinFirm_USERField; + } + set + { + this.executionWithinFirm_USERField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public string TradingCapacity + { + get + { + return this.tradingCapacityField; + } + set + { + this.tradingCapacityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public string TRSVenueTypeValue + { + get + { + return this.tRSVenueTypeValueField; + } + set + { + this.tRSVenueTypeValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=32)] + public System.Nullable INTC + { + get + { + return this.iNTCField; + } + set + { + this.iNTCField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchExternalOrdersByTradeOrderId))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchExternalOrdersByInstrumentId))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchExternalOrdersAll))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class CreateFundBatchOrdersBase + { + + private string requestReferenceField; + + private CustomField[] customFieldsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string RequestReference + { + get + { + return this.requestReferenceField; + } + set + { + this.requestReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public CustomField[] CustomFields + { + get + { + return this.customFieldsField; + } + set + { + this.customFieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundBatchExternalOrdersByTradeOrderId : CreateFundBatchOrdersBase + { + + private System.Guid[] tradeOrderBrickIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] TradeOrderBrickIds + { + get + { + return this.tradeOrderBrickIdsField; + } + set + { + this.tradeOrderBrickIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundBatchExternalOrdersByInstrumentId : CreateFundBatchOrdersBase + { + + private System.Guid instrumentBrickIdField; + + private System.Nullable executionInterfaceSettingBrickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InstrumentBrickId + { + get + { + return this.instrumentBrickIdField; + } + set + { + this.instrumentBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable ExecutionInterfaceSettingBrickId + { + get + { + return this.executionInterfaceSettingBrickIdField; + } + set + { + this.executionInterfaceSettingBrickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundBatchExternalOrdersAll : CreateFundBatchOrdersBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetExternalFundBatchOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private System.Guid[] instrumentsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] executionInterfaceField; + + private string executionInterfaceKeyField; + + private System.Nullable isPrePayedField; + + private string[] externalReferencesField; + + private string[] orderNosField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] Instruments + { + get + { + return this.instrumentsField; + } + set + { + this.instrumentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundBatchOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private System.Guid[] instrumentsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] executionInterfaceField; + + private string executionInterfaceKeyField; + + private System.Nullable isPrePayedField; + + private string[] externalReferencesField; + + private string[] orderNosField; + + private System.Nullable isUnitOrderField; + + private System.Nullable paymentConfirmationDateFromField; + + private System.Nullable paymentConfirmationDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] Instruments + { + get + { + return this.instrumentsField; + } + set + { + this.instrumentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable PaymentConfirmationDateFrom + { + get + { + return this.paymentConfirmationDateFromField; + } + set + { + this.paymentConfirmationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable PaymentConfirmationDateTo + { + get + { + return this.paymentConfirmationDateToField; + } + set + { + this.paymentConfirmationDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAutoGiroOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] transferOrderTypeKeysField; + + private string[] autogiroOrderStatusesField; + + private string[] externalReferenceField; + + private System.Guid[] transferReceiverIdsField; + + private System.Guid[] accountsIdsField; + + private string[] currencyCodesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private System.Guid[] batchOrderIdsField; + + private string[] autogiroOrderNumbersField; + + private string[] autoGiroResponseCodesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] TransferOrderTypeKeys + { + get + { + return this.transferOrderTypeKeysField; + } + set + { + this.transferOrderTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] AutogiroOrderStatuses + { + get + { + return this.autogiroOrderStatusesField; + } + set + { + this.autogiroOrderStatusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] TransferReceiverIds + { + get + { + return this.transferReceiverIdsField; + } + set + { + this.transferReceiverIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] AccountsIds + { + get + { + return this.accountsIdsField; + } + set + { + this.accountsIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public System.Guid[] BatchOrderIds + { + get + { + return this.batchOrderIdsField; + } + set + { + this.batchOrderIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] AutogiroOrderNumbers + { + get + { + return this.autogiroOrderNumbersField; + } + set + { + this.autogiroOrderNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public string[] AutoGiroResponseCodes + { + get + { + return this.autoGiroResponseCodesField; + } + set + { + this.autoGiroResponseCodesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationOrderArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable accountField; + + private System.Nullable reBalanceInstanceField; + + private string[] orderNosField; + + private System.Nullable createdByIdField; + + private string[] statesField; + + private string[] externalReferencesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable Account + { + get + { + return this.accountField; + } + set + { + this.accountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable ReBalanceInstance + { + get + { + return this.reBalanceInstanceField; + } + set + { + this.reBalanceInstanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable CreatedById + { + get + { + return this.createdByIdField; + } + set + { + this.createdByIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositTransferOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private string[] externalReferenceField; + + private System.Guid[] transferReceiverField; + + private System.Guid[] accountsField; + + private string[] currencyCodesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private System.Guid[] batchOrdersField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public System.Guid[] BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositBatchTransferOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private string[] orderNosField; + + private string[] currencyCodesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class TransferOrderSettleInformation + { + + private System.DateTime tradeDateField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + private System.Nullable custodyAccountField; + + private System.Guid transferOrderIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable CustodyAccount + { + get + { + return this.custodyAccountField; + } + set + { + this.custodyAccountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Guid TransferOrderId + { + get + { + return this.transferOrderIdField; + } + set + { + this.transferOrderIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalTransferOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private string[] externalReferenceField; + + private System.Guid[] transferReceiverField; + + private System.Guid[] accountsField; + + private string[] currencyCodesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private System.Guid[] batchOrdersField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public System.Guid[] BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalBatchTransferOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private string[] orderNosField; + + private string[] currencyCodesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradeOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string tradeOrderTypeField; + + private string[] statesField; + + private string externalReferenceField; + + private System.Guid[] accountsField; + + private System.Guid[] instrumentsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] allocationInstanceField; + + private System.Guid[] allocationOrderField; + + private System.Guid[] executionInterfaceField; + + private string[] executionInterfaceKeyField; + + private System.Nullable isPrePayedField; + + private System.Guid[] externalFundBatchOrdersField; + + private string[] orderNosField; + + private string sellTypeField; + + private System.Nullable shortSellingIndicatorField; + + private System.Nullable decisionMakerWithinFirmField; + + private string[] orderTypeKeysField; + + private System.Guid[] resellersField; + + private System.Nullable fourEyesStatusField; + + private System.Guid[] subscriptionOrderIdField; + + private System.Guid[] fundBatchOrdersField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TradeOrderType + { + get + { + return this.tradeOrderTypeField; + } + set + { + this.tradeOrderTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] Instruments + { + get + { + return this.instrumentsField; + } + set + { + this.instrumentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] AllocationInstance + { + get + { + return this.allocationInstanceField; + } + set + { + this.allocationInstanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public System.Guid[] AllocationOrder + { + get + { + return this.allocationOrderField; + } + set + { + this.allocationOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public System.Guid[] ExecutionInterface + { + get + { + return this.executionInterfaceField; + } + set + { + this.executionInterfaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] ExecutionInterfaceKey + { + get + { + return this.executionInterfaceKeyField; + } + set + { + this.executionInterfaceKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable IsPrePayed + { + get + { + return this.isPrePayedField; + } + set + { + this.isPrePayedField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public System.Guid[] ExternalFundBatchOrders + { + get + { + return this.externalFundBatchOrdersField; + } + set + { + this.externalFundBatchOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string SellType + { + get + { + return this.sellTypeField; + } + set + { + this.sellTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable ShortSellingIndicator + { + get + { + return this.shortSellingIndicatorField; + } + set + { + this.shortSellingIndicatorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable DecisionMakerWithinFirm + { + get + { + return this.decisionMakerWithinFirmField; + } + set + { + this.decisionMakerWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public string[] OrderTypeKeys + { + get + { + return this.orderTypeKeysField; + } + set + { + this.orderTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public System.Guid[] Resellers + { + get + { + return this.resellersField; + } + set + { + this.resellersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable FourEyesStatus + { + get + { + return this.fourEyesStatusField; + } + set + { + this.fourEyesStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=21)] + public System.Guid[] SubscriptionOrderId + { + get + { + return this.subscriptionOrderIdField; + } + set + { + this.subscriptionOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=22)] + public System.Guid[] FundBatchOrders + { + get + { + return this.fundBatchOrdersField; + } + set + { + this.fundBatchOrdersField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyExchangeOrderArgs + { + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] brickIdsField; + + private string[] statesField; + + private string[] orderNosField; + + private string[] commentsField; + + private System.Guid[] accountsField; + + private System.Guid[] accountOwnersField; + + private System.Nullable fromBuyAmountField; + + private System.Nullable toBuyAmountField; + + private System.Nullable fromSellAmountField; + + private System.Nullable toSellAmountField; + + private System.Guid[] buyCashAssetBrickIdsField; + + private System.Guid[] sellCashAssetBrickIdsField; + + private string orderDirectionKeyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] AccountOwners + { + get + { + return this.accountOwnersField; + } + set + { + this.accountOwnersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable FromBuyAmount + { + get + { + return this.fromBuyAmountField; + } + set + { + this.fromBuyAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable ToBuyAmount + { + get + { + return this.toBuyAmountField; + } + set + { + this.toBuyAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable FromSellAmount + { + get + { + return this.fromSellAmountField; + } + set + { + this.fromSellAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ToSellAmount + { + get + { + return this.toSellAmountField; + } + set + { + this.toSellAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public System.Guid[] BuyCashAssetBrickIds + { + get + { + return this.buyCashAssetBrickIdsField; + } + set + { + this.buyCashAssetBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public System.Guid[] SellCashAssetBrickIds + { + get + { + return this.sellCashAssetBrickIdsField; + } + set + { + this.sellCashAssetBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public string OrderDirectionKey + { + get + { + return this.orderDirectionKeyField; + } + set + { + this.orderDirectionKeyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSubscriptionOrderArgs + { + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] brickIdsField; + + private System.Guid[] instrumentIdsField; + + private string[] statesField; + + private string[] orderNosField; + + private string[] commentsField; + + private string[] externalReferenceField; + + private System.Guid[] resellersField; + + private System.Nullable expectedTradeDateFromField; + + private System.Nullable expectedTradeDateToField; + + private System.Nullable expectedSettlementDateFromField; + + private System.Nullable expectedSettlementDateToField; + + private System.Guid[] tradeOrderIdField; + + private System.Guid[] transferReceiverIdsField; + + private System.Guid[] transferReceiverIdsForCollectingFinancingField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] InstrumentIds + { + get + { + return this.instrumentIdsField; + } + set + { + this.instrumentIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] Resellers + { + get + { + return this.resellersField; + } + set + { + this.resellersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable ExpectedTradeDateFrom + { + get + { + return this.expectedTradeDateFromField; + } + set + { + this.expectedTradeDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable ExpectedTradeDateTo + { + get + { + return this.expectedTradeDateToField; + } + set + { + this.expectedTradeDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ExpectedSettlementDateFrom + { + get + { + return this.expectedSettlementDateFromField; + } + set + { + this.expectedSettlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable ExpectedSettlementDateTo + { + get + { + return this.expectedSettlementDateToField; + } + set + { + this.expectedSettlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public System.Guid[] TradeOrderId + { + get + { + return this.tradeOrderIdField; + } + set + { + this.tradeOrderIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public System.Guid[] TransferReceiverIds + { + get + { + return this.transferReceiverIdsField; + } + set + { + this.transferReceiverIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public System.Guid[] TransferReceiverIdsForCollectingFinancing + { + get + { + return this.transferReceiverIdsForCollectingFinancingField; + } + set + { + this.transferReceiverIdsForCollectingFinancingField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Old_ExternalFundBatchOrderSettle))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WithdrawalCashBatchOrder_Fill))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrder_Cancel))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_Process))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_Cancel))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WorkflowTriggerDataEntityBase + { + + private System.Guid brickIdField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Old_ExternalFundBatchOrderSettle : WorkflowTriggerDataEntityBase + { + + private decimal settledAmountField; + + private System.DateTime settlementDateField; + + private System.DateTime valueDateField; + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public decimal SettledAmount + { + get + { + return this.settledAmountField; + } + set + { + this.settledAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WithdrawalCashBatchOrder_Fill : WorkflowTriggerDataEntityBase + { + + private System.Nullable tradeDateField; + + private System.Nullable settlementDateField; + + private System.Nullable valueDateField; + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable TradeDate + { + get + { + return this.tradeDateField; + } + set + { + this.tradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable SettlementDate + { + get + { + return this.settlementDateField; + } + set + { + this.settlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable ValueDate + { + get + { + return this.valueDateField; + } + set + { + this.valueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CurrencyExchangeOrder_Cancel : WorkflowTriggerDataEntityBase + { + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder_Process : WorkflowTriggerDataEntityBase + { + + private string orderNoField; + + private bool reserveAssetsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ReserveAssets + { + get + { + return this.reserveAssetsField; + } + set + { + this.reserveAssetsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder_Cancel : WorkflowTriggerDataEntityBase + { + + private string orderNoField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string OrderNo + { + get + { + return this.orderNoField; + } + set + { + this.orderNoField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteInternalTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteInternalTransferOrder))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ServiceActionDataEntityBase + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteInternalTransferOrder : ServiceActionDataEntityBase + { + + private System.Guid internalTransferOrderBrickIdField; + + private string[] errorsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InternalTransferOrderBrickId + { + get + { + return this.internalTransferOrderBrickIdField; + } + set + { + this.internalTransferOrderBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Errors + { + get + { + return this.errorsField; + } + set + { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExecuteInternalTransferOrder : ServiceActionDataEntityBase + { + + private System.Guid internalTransferOrderBrickIdField; + + private string[] errorsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid InternalTransferOrderBrickId + { + get + { + return this.internalTransferOrderBrickIdField; + } + set + { + this.internalTransferOrderBrickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Errors + { + get + { + return this.errorsField; + } + set + { + this.errorsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalInstrumentTransferOrderArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string[] fromAccountNumbersField; + + private System.Guid[] fromAccountBrickIdsField; + + private string[] toAccountNumbersField; + + private System.Guid[] toAccountBrickIdsField; + + private System.Nullable fromUnitsField; + + private System.Nullable toUnitsField; + + private string commentField; + + private System.Nullable fromTradeDateField; + + private System.Nullable toTradeDateField; + + private System.Nullable fromSettlementDateField; + + private System.Nullable toSettlementDateField; + + private System.Nullable fromValueDateField; + + private System.Nullable toValueDateField; + + private System.Guid[] instrumentBrickIdsField; + + private System.Nullable fromAcquisitionValueField; + + private System.Nullable toAcquisitionValueField; + + private System.Nullable fromAcquisitionPriceField; + + private System.Nullable toAcquisitionPriceField; + + private System.Nullable fromAcquisitionValueAccountCurrencyField; + + private System.Nullable toAcquisitionValueAccountCurrencyField; + + private System.Nullable fromAcquisitionPriceAccountCurrencyField; + + private System.Nullable toAcquisitionPriceAccountCurrencyField; + + private System.Nullable overrideOwnershipChangeValidationField; + + private string[] isinField; + + private string[] orderStatusField; + + private string[] orderNosField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] FromAccountNumbers + { + get + { + return this.fromAccountNumbersField; + } + set + { + this.fromAccountNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] FromAccountBrickIds + { + get + { + return this.fromAccountBrickIdsField; + } + set + { + this.fromAccountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] ToAccountNumbers + { + get + { + return this.toAccountNumbersField; + } + set + { + this.toAccountNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] ToAccountBrickIds + { + get + { + return this.toAccountBrickIdsField; + } + set + { + this.toAccountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable FromUnits + { + get + { + return this.fromUnitsField; + } + set + { + this.fromUnitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable ToUnits + { + get + { + return this.toUnitsField; + } + set + { + this.toUnitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable FromTradeDate + { + get + { + return this.fromTradeDateField; + } + set + { + this.fromTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ToTradeDate + { + get + { + return this.toTradeDateField; + } + set + { + this.toTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable FromSettlementDate + { + get + { + return this.fromSettlementDateField; + } + set + { + this.fromSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable ToSettlementDate + { + get + { + return this.toSettlementDateField; + } + set + { + this.toSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable FromValueDate + { + get + { + return this.fromValueDateField; + } + set + { + this.fromValueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable ToValueDate + { + get + { + return this.toValueDateField; + } + set + { + this.toValueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public System.Guid[] InstrumentBrickIds + { + get + { + return this.instrumentBrickIdsField; + } + set + { + this.instrumentBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable FromAcquisitionValue + { + get + { + return this.fromAcquisitionValueField; + } + set + { + this.fromAcquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable ToAcquisitionValue + { + get + { + return this.toAcquisitionValueField; + } + set + { + this.toAcquisitionValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=19)] + public System.Nullable FromAcquisitionPrice + { + get + { + return this.fromAcquisitionPriceField; + } + set + { + this.fromAcquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable ToAcquisitionPrice + { + get + { + return this.toAcquisitionPriceField; + } + set + { + this.toAcquisitionPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=21)] + public System.Nullable FromAcquisitionValueAccountCurrency + { + get + { + return this.fromAcquisitionValueAccountCurrencyField; + } + set + { + this.fromAcquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=22)] + public System.Nullable ToAcquisitionValueAccountCurrency + { + get + { + return this.toAcquisitionValueAccountCurrencyField; + } + set + { + this.toAcquisitionValueAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=23)] + public System.Nullable FromAcquisitionPriceAccountCurrency + { + get + { + return this.fromAcquisitionPriceAccountCurrencyField; + } + set + { + this.fromAcquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable ToAcquisitionPriceAccountCurrency + { + get + { + return this.toAcquisitionPriceAccountCurrencyField; + } + set + { + this.toAcquisitionPriceAccountCurrencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable OverrideOwnershipChangeValidation + { + get + { + return this.overrideOwnershipChangeValidationField; + } + set + { + this.overrideOwnershipChangeValidationField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=26)] + public string[] Isin + { + get + { + return this.isinField; + } + set + { + this.isinField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=27)] + public string[] OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=28)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalCashTransferOrderArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string[] fromAccountNumbersField; + + private System.Guid[] fromAccountBrickIdsField; + + private string[] toAccountNumbersField; + + private System.Guid[] toAccountBrickIdsField; + + private System.Nullable fromAmountField; + + private System.Nullable toAmountField; + + private string commentField; + + private System.Nullable fromTradeDateField; + + private System.Nullable toTradeDateField; + + private System.Nullable fromSettlementDateField; + + private System.Nullable toSettlementDateField; + + private System.Nullable fromValueDateField; + + private System.Nullable toValueDateField; + + private string[] currencyCodesField; + + private System.Guid[] cashAssetBrickIdsField; + + private string[] orderStatusField; + + private string[] orderNosField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] FromAccountNumbers + { + get + { + return this.fromAccountNumbersField; + } + set + { + this.fromAccountNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] FromAccountBrickIds + { + get + { + return this.fromAccountBrickIdsField; + } + set + { + this.fromAccountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] ToAccountNumbers + { + get + { + return this.toAccountNumbersField; + } + set + { + this.toAccountNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] ToAccountBrickIds + { + get + { + return this.toAccountBrickIdsField; + } + set + { + this.toAccountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable FromAmount + { + get + { + return this.fromAmountField; + } + set + { + this.fromAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable ToAmount + { + get + { + return this.toAmountField; + } + set + { + this.toAmountField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable FromTradeDate + { + get + { + return this.fromTradeDateField; + } + set + { + this.fromTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ToTradeDate + { + get + { + return this.toTradeDateField; + } + set + { + this.toTradeDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable FromSettlementDate + { + get + { + return this.fromSettlementDateField; + } + set + { + this.fromSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable ToSettlementDate + { + get + { + return this.toSettlementDateField; + } + set + { + this.toSettlementDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable FromValueDate + { + get + { + return this.fromValueDateField; + } + set + { + this.fromValueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable ToValueDate + { + get + { + return this.toValueDateField; + } + set + { + this.toValueDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=17)] + public System.Guid[] CashAssetBrickIds + { + get + { + return this.cashAssetBrickIdsField; + } + set + { + this.cashAssetBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public string[] OrderStatus + { + get + { + return this.orderStatusField; + } + set + { + this.orderStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public string[] OrderNos + { + get + { + return this.orderNosField; + } + set + { + this.orderNosField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAlgorithmArgs + { + + private System.Guid[] brickIdsField; + + private string[] keysField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationProfileArgs + { + + private System.Nullable brickIdField; + + private System.Nullable ownerField; + + private string keyField; + + private string accountNoField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] decisionMakersWithinFirmField; + + private System.Guid[] brickIdsField; + + private System.Guid[] ownersField; + + private string[] keysField; + + private string[] accountNosField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable Owner + { + get + { + return this.ownerField; + } + set + { + this.ownerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] DecisionMakersWithinFirm + { + get + { + return this.decisionMakersWithinFirmField; + } + set + { + this.decisionMakersWithinFirmField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] Owners + { + get + { + return this.ownersField; + } + set + { + this.ownersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public string[] AccountNos + { + get + { + return this.accountNosField; + } + set + { + this.accountNosField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOAArgs + { + + private System.Guid[] brickIdsField; + + private string[] pOACustomerNoField; + + private System.Guid[] pOACustomerIdsField; + + private System.Guid[] accountsField; + + private string[] keysField; + + private System.Guid[] powerOfAttorneyTypeField; + + private string[] commentsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] POACustomerNo + { + get + { + return this.pOACustomerNoField; + } + set + { + this.pOACustomerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] POACustomerIds + { + get + { + return this.pOACustomerIdsField; + } + set + { + this.pOACustomerIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] Keys + { + get + { + return this.keysField; + } + set + { + this.keysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] PowerOfAttorneyType + { + get + { + return this.powerOfAttorneyTypeField; + } + set + { + this.powerOfAttorneyTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAssetAccountTypeLimitationArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] assetsField; + + private System.Guid[] accountTypesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Assets + { + get + { + return this.assetsField; + } + set + { + this.assetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] AccountTypes + { + get + { + return this.accountTypesField; + } + set + { + this.accountTypesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsByNameArgs))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable instrumentTypeField; + + private string[] iSINsField; + + private string currencyCodeField; + + private string[] externalReferencesField; + + private string[] commentsField; + + private System.Nullable lastSubscriptionDateFromField; + + private System.Nullable lastSubscriptionDateToField; + + private System.Nullable expirationDateFromField; + + private System.Nullable expirationDateToField; + + private string[] mICsField; + + private string[] namesField; + + private System.Guid[] defaultMarketPlaceField; + + private string[] symbolsField; + + private int[] displayDecimalsPriceField; + + private int[] instrumentStatusesField; + + private string[] visibleStatusKeyField; + + private string[] defaultExecutionInterfaceKeysField; + + private System.Guid[] issuersField; + + private double[] displayMultiplierField; + + private System.Nullable displayPercentagePriceField; + + private System.Nullable debtInstrumentField; + + private System.Nullable isUnitOrderField; + + private string[] taxCountriesField; + + private System.Guid[] whiteLabelsField; + + private System.Nullable hasMifidIIDataField; + + private string[] knowledgeGroupsField; + + private string exPostCalcMethodField; + + private System.Guid[] fundEntityField; + + private System.Guid[] fundCompanyField; + + private string[] feeGroupsField; + + private System.Nullable enableMifidIITenPercentAlertField; + + private System.Nullable lastUpdatedDateFromField; + + private System.Nullable lastUpdatedDateToField; + + private System.Nullable excludeFromFeeRelatedSellingField; + + private string fundClassField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable InstrumentType + { + get + { + return this.instrumentTypeField; + } + set + { + this.instrumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] ISINs + { + get + { + return this.iSINsField; + } + set + { + this.iSINsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string CurrencyCode + { + get + { + return this.currencyCodeField; + } + set + { + this.currencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable LastSubscriptionDateFrom + { + get + { + return this.lastSubscriptionDateFromField; + } + set + { + this.lastSubscriptionDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable LastSubscriptionDateTo + { + get + { + return this.lastSubscriptionDateToField; + } + set + { + this.lastSubscriptionDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable ExpirationDateFrom + { + get + { + return this.expirationDateFromField; + } + set + { + this.expirationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public System.Nullable ExpirationDateTo + { + get + { + return this.expirationDateToField; + } + set + { + this.expirationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] MICs + { + get + { + return this.mICsField; + } + set + { + this.mICsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public string[] Names + { + get + { + return this.namesField; + } + set + { + this.namesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public System.Guid[] DefaultMarketPlace + { + get + { + return this.defaultMarketPlaceField; + } + set + { + this.defaultMarketPlaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public string[] Symbols + { + get + { + return this.symbolsField; + } + set + { + this.symbolsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=16)] + public int[] DisplayDecimalsPrice + { + get + { + return this.displayDecimalsPriceField; + } + set + { + this.displayDecimalsPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=17)] + public int[] InstrumentStatuses + { + get + { + return this.instrumentStatusesField; + } + set + { + this.instrumentStatusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public string[] VisibleStatusKey + { + get + { + return this.visibleStatusKeyField; + } + set + { + this.visibleStatusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public string[] DefaultExecutionInterfaceKeys + { + get + { + return this.defaultExecutionInterfaceKeysField; + } + set + { + this.defaultExecutionInterfaceKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=20)] + public System.Guid[] Issuers + { + get + { + return this.issuersField; + } + set + { + this.issuersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=21)] + public double[] DisplayMultiplier + { + get + { + return this.displayMultiplierField; + } + set + { + this.displayMultiplierField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=22)] + public System.Nullable DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=23)] + public System.Nullable DebtInstrument + { + get + { + return this.debtInstrumentField; + } + set + { + this.debtInstrumentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable IsUnitOrder + { + get + { + return this.isUnitOrderField; + } + set + { + this.isUnitOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=25)] + public string[] TaxCountries + { + get + { + return this.taxCountriesField; + } + set + { + this.taxCountriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=26)] + public System.Guid[] WhiteLabels + { + get + { + return this.whiteLabelsField; + } + set + { + this.whiteLabelsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=27)] + public System.Nullable HasMifidIIData + { + get + { + return this.hasMifidIIDataField; + } + set + { + this.hasMifidIIDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=28)] + public string[] KnowledgeGroups + { + get + { + return this.knowledgeGroupsField; + } + set + { + this.knowledgeGroupsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public string ExPostCalcMethod + { + get + { + return this.exPostCalcMethodField; + } + set + { + this.exPostCalcMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=30)] + public System.Guid[] FundEntity + { + get + { + return this.fundEntityField; + } + set + { + this.fundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=31)] + public System.Guid[] FundCompany + { + get + { + return this.fundCompanyField; + } + set + { + this.fundCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=32)] + public string[] FeeGroups + { + get + { + return this.feeGroupsField; + } + set + { + this.feeGroupsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=33)] + public System.Nullable EnableMifidIITenPercentAlert + { + get + { + return this.enableMifidIITenPercentAlertField; + } + set + { + this.enableMifidIITenPercentAlertField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=34)] + public System.Nullable LastUpdatedDateFrom + { + get + { + return this.lastUpdatedDateFromField; + } + set + { + this.lastUpdatedDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=35)] + public System.Nullable LastUpdatedDateTo + { + get + { + return this.lastUpdatedDateToField; + } + set + { + this.lastUpdatedDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=36)] + public System.Nullable ExcludeFromFeeRelatedSelling + { + get + { + return this.excludeFromFeeRelatedSellingField; + } + set + { + this.excludeFromFeeRelatedSellingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public string FundClass + { + get + { + return this.fundClassField; + } + set + { + this.fundClassField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsByNameArgs : GetInstrumentsArgs + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPositionArgs + { + + private System.DateTime startDateField; + + private System.DateTime endDateField; + + private string displayCurrencyCodeField; + + private string accountDimensionKeyField; + + private System.Guid[] accountsField; + + private System.Guid[] assetsField; + + private string[] assetTypeKeysField; + + private int[] instrumentTypesField; + + private bool includeZeroesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string AccountDimensionKey + { + get + { + return this.accountDimensionKeyField; + } + set + { + this.accountDimensionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] Assets + { + get + { + return this.assetsField; + } + set + { + this.assetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] AssetTypeKeys + { + get + { + return this.assetTypeKeysField; + } + set + { + this.assetTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public int[] InstrumentTypes + { + get + { + return this.instrumentTypesField; + } + set + { + this.instrumentTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool IncludeZeroes + { + get + { + return this.includeZeroesField; + } + set + { + this.includeZeroesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPositionArgs + { + + private System.Nullable balanceDateField; + + private string displayCurrencyCodeField; + + private string accountDimensionKeyField; + + private System.Guid[] accountsField; + + private string[] accountTypeKeysField; + + private string accountNoField; + + private System.Nullable accountOwnerField; + + private System.Guid[] assetsField; + + private System.Nullable assetField; + + private string[] assetTypeKeysField; + + private int[] instrumentTypesField; + + private bool displayPercentagePriceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable BalanceDate + { + get + { + return this.balanceDateField; + } + set + { + this.balanceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string AccountDimensionKey + { + get + { + return this.accountDimensionKeyField; + } + set + { + this.accountDimensionKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] AccountTypeKeys + { + get + { + return this.accountTypeKeysField; + } + set + { + this.accountTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string AccountNo + { + get + { + return this.accountNoField; + } + set + { + this.accountNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable AccountOwner + { + get + { + return this.accountOwnerField; + } + set + { + this.accountOwnerField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public System.Guid[] Assets + { + get + { + return this.assetsField; + } + set + { + this.assetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable Asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] AssetTypeKeys + { + get + { + return this.assetTypeKeysField; + } + set + { + this.assetTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public int[] InstrumentTypes + { + get + { + return this.instrumentTypesField; + } + set + { + this.instrumentTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool DisplayPercentagePrice + { + get + { + return this.displayPercentagePriceField; + } + set + { + this.displayPercentagePriceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InactivatePersonFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityArgs))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesArgs))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPersonArgs + { + + private System.Guid[] brickIdsField; + + private string[] customerNosField; + + private string userNameField; + + private string[] userNamesField; + + private string[] personalNumbersField; + + private System.Nullable birthDateFromField; + + private System.Nullable birthDateToField; + + private string[] emailsField; + + private string[] streetAddressesField; + + private string[] postalCodesField; + + private string[] citiesField; + + private string[] countriesField; + + private string[] taxCountriesField; + + private string resellerNoField; + + private string[] resellerNosField; + + private string[] externalReferencesField; + + private System.Nullable isFundEntityField; + + private System.Nullable isIssuerField; + + private System.Nullable lastLoginDateFromField; + + private System.Nullable lastLoginDateToField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string[] userDomainsField; + + private string[] lEIField; + + private string[] tRSIdField; + + private string[] tRSCountriesField; + + private string[] tRSIdTypeField; + + private System.Nullable tRSManualHandlingField; + + private System.Nullable isProfessionalField; + + private System.Nullable mifidOkField; + + private System.Nullable isPEPField; + + private string[] branchCountriesField; + + private System.Guid[] defaultCompanyField; + + private string[] addressAttentionsField; + + private System.Guid[] whiteLabelsField; + + private System.Nullable hasCustomerProtectionDataField; + + private System.Guid[] customerCashAccountsField; + + private System.Nullable isCounterPartyField; + + private System.Guid[] fundCompanysField; + + private System.Nullable isTerminatedField; + + private System.Nullable kycDateFromField; + + private System.Nullable kycDateDateToField; + + private string[] gIINSField; + + private System.Guid[] resellerAccountsField; + + private System.Nullable riskValueFromField; + + private System.Nullable riskValueToField; + + private string[] legalJurisdictionsField; + + private System.Guid[] parentCompanyField; + + private System.Nullable isCustodianField; + + private System.Nullable lastUpdatedDateFromField; + + private System.Nullable lastUpdatedDateToField; + + private System.Nullable isNaturalPersonField; + + private System.Nullable forcePasswordResetField; + + private System.Nullable taxRateFromField; + + private System.Nullable taxRateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] CustomerNos + { + get + { + return this.customerNosField; + } + set + { + this.customerNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] UserNames + { + get + { + return this.userNamesField; + } + set + { + this.userNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] PersonalNumbers + { + get + { + return this.personalNumbersField; + } + set + { + this.personalNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable BirthDateFrom + { + get + { + return this.birthDateFromField; + } + set + { + this.birthDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable BirthDateTo + { + get + { + return this.birthDateToField; + } + set + { + this.birthDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] Emails + { + get + { + return this.emailsField; + } + set + { + this.emailsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] StreetAddresses + { + get + { + return this.streetAddressesField; + } + set + { + this.streetAddressesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] PostalCodes + { + get + { + return this.postalCodesField; + } + set + { + this.postalCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public string[] Cities + { + get + { + return this.citiesField; + } + set + { + this.citiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] Countries + { + get + { + return this.countriesField; + } + set + { + this.countriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] TaxCountries + { + get + { + return this.taxCountriesField; + } + set + { + this.taxCountriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string ResellerNo + { + get + { + return this.resellerNoField; + } + set + { + this.resellerNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=14)] + public string[] ResellerNos + { + get + { + return this.resellerNosField; + } + set + { + this.resellerNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable IsFundEntity + { + get + { + return this.isFundEntityField; + } + set + { + this.isFundEntityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable IsIssuer + { + get + { + return this.isIssuerField; + } + set + { + this.isIssuerField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=18)] + public System.Nullable LastLoginDateFrom + { + get + { + return this.lastLoginDateFromField; + } + set + { + this.lastLoginDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=19)] + public System.Nullable LastLoginDateTo + { + get + { + return this.lastLoginDateToField; + } + set + { + this.lastLoginDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=20)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=21)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=22)] + public string[] UserDomains + { + get + { + return this.userDomainsField; + } + set + { + this.userDomainsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=23)] + public string[] LEI + { + get + { + return this.lEIField; + } + set + { + this.lEIField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=24)] + public string[] TRSId + { + get + { + return this.tRSIdField; + } + set + { + this.tRSIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=25)] + public string[] TRSCountries + { + get + { + return this.tRSCountriesField; + } + set + { + this.tRSCountriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=26)] + public string[] TRSIdType + { + get + { + return this.tRSIdTypeField; + } + set + { + this.tRSIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=27)] + public System.Nullable TRSManualHandling + { + get + { + return this.tRSManualHandlingField; + } + set + { + this.tRSManualHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=28)] + public System.Nullable IsProfessional + { + get + { + return this.isProfessionalField; + } + set + { + this.isProfessionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=29)] + public System.Nullable MifidOk + { + get + { + return this.mifidOkField; + } + set + { + this.mifidOkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=30)] + public System.Nullable IsPEP + { + get + { + return this.isPEPField; + } + set + { + this.isPEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=31)] + public string[] BranchCountries + { + get + { + return this.branchCountriesField; + } + set + { + this.branchCountriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=32)] + public System.Guid[] DefaultCompany + { + get + { + return this.defaultCompanyField; + } + set + { + this.defaultCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=33)] + public string[] AddressAttentions + { + get + { + return this.addressAttentionsField; + } + set + { + this.addressAttentionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=34)] + public System.Guid[] WhiteLabels + { + get + { + return this.whiteLabelsField; + } + set + { + this.whiteLabelsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=35)] + public System.Nullable HasCustomerProtectionData + { + get + { + return this.hasCustomerProtectionDataField; + } + set + { + this.hasCustomerProtectionDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=36)] + public System.Guid[] CustomerCashAccounts + { + get + { + return this.customerCashAccountsField; + } + set + { + this.customerCashAccountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=37)] + public System.Nullable IsCounterParty + { + get + { + return this.isCounterPartyField; + } + set + { + this.isCounterPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=38)] + public System.Guid[] FundCompanys + { + get + { + return this.fundCompanysField; + } + set + { + this.fundCompanysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=39)] + public System.Nullable IsTerminated + { + get + { + return this.isTerminatedField; + } + set + { + this.isTerminatedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=40)] + public System.Nullable KycDateFrom + { + get + { + return this.kycDateFromField; + } + set + { + this.kycDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=41)] + public System.Nullable KycDateDateTo + { + get + { + return this.kycDateDateToField; + } + set + { + this.kycDateDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=42)] + public string[] GIINS + { + get + { + return this.gIINSField; + } + set + { + this.gIINSField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=43)] + public System.Guid[] ResellerAccounts + { + get + { + return this.resellerAccountsField; + } + set + { + this.resellerAccountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=44)] + public System.Nullable RiskValueFrom + { + get + { + return this.riskValueFromField; + } + set + { + this.riskValueFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=45)] + public System.Nullable RiskValueTo + { + get + { + return this.riskValueToField; + } + set + { + this.riskValueToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=46)] + public string[] LegalJurisdictions + { + get + { + return this.legalJurisdictionsField; + } + set + { + this.legalJurisdictionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=47)] + public System.Guid[] ParentCompany + { + get + { + return this.parentCompanyField; + } + set + { + this.parentCompanyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=48)] + public System.Nullable IsCustodian + { + get + { + return this.isCustodianField; + } + set + { + this.isCustodianField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=49)] + public System.Nullable LastUpdatedDateFrom + { + get + { + return this.lastUpdatedDateFromField; + } + set + { + this.lastUpdatedDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=50)] + public System.Nullable LastUpdatedDateTo + { + get + { + return this.lastUpdatedDateToField; + } + set + { + this.lastUpdatedDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=51)] + public System.Nullable IsNaturalPerson + { + get + { + return this.isNaturalPersonField; + } + set + { + this.isNaturalPersonField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=52)] + public System.Nullable ForcePasswordReset + { + get + { + return this.forcePasswordResetField; + } + set + { + this.forcePasswordResetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=53)] + public System.Nullable TaxRateFrom + { + get + { + return this.taxRateFromField; + } + set + { + this.taxRateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=54)] + public System.Nullable TaxRateTo + { + get + { + return this.taxRateToField; + } + set + { + this.taxRateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundEntityArgs : GetPersonArgs + { + + private System.Guid[] fundCompanyIdsField; + + private string[] companyNumbersField; + + private string[] fundNamesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] FundCompanyIds + { + get + { + return this.fundCompanyIdsField; + } + set + { + this.fundCompanyIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] CompanyNumbers + { + get + { + return this.companyNumbersField; + } + set + { + this.companyNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] FundNames + { + get + { + return this.fundNamesField; + } + set + { + this.fundNamesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundCompaniesArgs : GetPersonArgs + { + + private string[] companyNumbersField; + + private string[] fundCompanyNamesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public string[] CompanyNumbers + { + get + { + return this.companyNumbersField; + } + set + { + this.companyNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] FundCompanyNames + { + get + { + return this.fundCompanyNamesField; + } + set + { + this.fundCompanyNamesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTaxWithholdingAgreementArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable expirationDateFromField; + + private System.Nullable expirationDateToField; + + private System.Nullable[] personsField; + + private string[] taxCountiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable ExpirationDateFrom + { + get + { + return this.expirationDateFromField; + } + set + { + this.expirationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable ExpirationDateTo + { + get + { + return this.expirationDateToField; + } + set + { + this.expirationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + [System.Xml.Serialization.XmlArrayItemAttribute()] + public System.Nullable[] Persons + { + get + { + return this.personsField; + } + set + { + this.personsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] TaxCounties + { + get + { + return this.taxCountiesField; + } + set + { + this.taxCountiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHouseInformationArgs + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBackgroundJobsArgs + { + + private System.Guid[] brickIdsField; + + private string[] stateKeysField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] StateKeys + { + get + { + return this.stateKeysField; + } + set + { + this.stateKeysField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRelatedFifoLotsArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] exitBusinessTransactionsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] ExitBusinessTransactions + { + get + { + return this.exitBusinessTransactionsField; + } + set + { + this.exitBusinessTransactionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvtaleGiroOrdersArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private string[] currencyCodesField; + + private string[] externalReferencesField; + + private System.Guid[] batchOrderIdsField; + + private System.Guid[] accountsIdsField; + + private string[] avtaleGiroOrderStatusesField; + + private System.Guid[] transferReceiverIdsField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private string[] transferOrderTypeKeysField; + + private string[] avtaleGiroOrderNumbersField; + + private string[] avtaleGiroResponseCodesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] BatchOrderIds + { + get + { + return this.batchOrderIdsField; + } + set + { + this.batchOrderIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] AccountsIds + { + get + { + return this.accountsIdsField; + } + set + { + this.accountsIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] AvtaleGiroOrderStatuses + { + get + { + return this.avtaleGiroOrderStatusesField; + } + set + { + this.avtaleGiroOrderStatusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public System.Guid[] TransferReceiverIds + { + get + { + return this.transferReceiverIdsField; + } + set + { + this.transferReceiverIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] TransferOrderTypeKeys + { + get + { + return this.transferOrderTypeKeysField; + } + set + { + this.transferOrderTypeKeysField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=12)] + public string[] AvtaleGiroOrderNumbers + { + get + { + return this.avtaleGiroOrderNumbersField; + } + set + { + this.avtaleGiroOrderNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=13)] + public string[] AvtaleGiroResponseCodes + { + get + { + return this.avtaleGiroResponseCodesField; + } + set + { + this.avtaleGiroResponseCodesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferOrdersArgs + { + + private System.Guid[] brickIdsField; + + private string[] transferOrderTypesField; + + private string[] statesField; + + private string[] externalReferenceField; + + private System.Guid[] transferReceiverField; + + private System.Guid[] accountsField; + + private string[] currencyCodesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable settlementDateFromField; + + private System.Nullable settlementDateToField; + + private System.Guid[] batchOrdersField; + + private System.Nullable businessDateFromField; + + private System.Nullable businessDateToField; + + private System.Nullable minRetryAttemptsField; + + private System.Nullable maxRetryAttemptsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] TransferOrderTypes + { + get + { + return this.transferOrderTypesField; + } + set + { + this.transferOrderTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] States + { + get + { + return this.statesField; + } + set + { + this.statesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] TransferReceiver + { + get + { + return this.transferReceiverField; + } + set + { + this.transferReceiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable SettlementDateFrom + { + get + { + return this.settlementDateFromField; + } + set + { + this.settlementDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=10)] + public System.Nullable SettlementDateTo + { + get + { + return this.settlementDateToField; + } + set + { + this.settlementDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public System.Guid[] BatchOrders + { + get + { + return this.batchOrdersField; + } + set + { + this.batchOrdersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable BusinessDateFrom + { + get + { + return this.businessDateFromField; + } + set + { + this.businessDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable BusinessDateTo + { + get + { + return this.businessDateToField; + } + set + { + this.businessDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable MinRetryAttempts + { + get + { + return this.minRetryAttemptsField; + } + set + { + this.minRetryAttemptsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable MaxRetryAttempts + { + get + { + return this.maxRetryAttemptsField; + } + set + { + this.maxRetryAttemptsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFeeRecordArgs + { + + private System.Guid[] accountBrickIdsField; + + private System.Guid[] feeRecordIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] AccountBrickIds + { + get + { + return this.accountBrickIdsField; + } + set + { + this.accountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] FeeRecordIds + { + get + { + return this.feeRecordIdsField; + } + set + { + this.feeRecordIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeRecordArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] accountBrickIdsField; + + private string[] currencyCodesField; + + private FeeRecordStatus[] feeRecordStatusesField; + + private FeeType[] feeTypesField; + + private SellToCoverMethod[] sellToCoverMethodsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] AccountBrickIds + { + get + { + return this.accountBrickIdsField; + } + set + { + this.accountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] CurrencyCodes + { + get + { + return this.currencyCodesField; + } + set + { + this.currencyCodesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public FeeRecordStatus[] FeeRecordStatuses + { + get + { + return this.feeRecordStatusesField; + } + set + { + this.feeRecordStatusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public FeeType[] FeeTypes + { + get + { + return this.feeTypesField; + } + set + { + this.feeTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public SellToCoverMethod[] SellToCoverMethods + { + get + { + return this.sellToCoverMethodsField; + } + set + { + this.sellToCoverMethodsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public enum FeeType + { + + /// + Undefined, + + /// + FixedAmount, + + /// + AumPercentage, + + /// + PerformancePercentage, + + /// + DepositPercentage, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCountryArgs + { + + private System.Guid[] brickIdsField; + + private string[] isoCodesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] IsoCodes + { + get + { + return this.isoCodesField; + } + set + { + this.isoCodesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransactionNoteArgs + { + + private System.Guid[] noteBrickIdsField; + + private string[] noteNumbersField; + + private System.Guid[] accountBrickIdsField; + + private NoteStatus[] transactionNoteStatusesField; + + private NoteType[] transactionNoteTypesField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] NoteBrickIds + { + get + { + return this.noteBrickIdsField; + } + set + { + this.noteBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public string[] NoteNumbers + { + get + { + return this.noteNumbersField; + } + set + { + this.noteNumbersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] AccountBrickIds + { + get + { + return this.accountBrickIdsField; + } + set + { + this.accountBrickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public NoteStatus[] TransactionNoteStatuses + { + get + { + return this.transactionNoteStatusesField; + } + set + { + this.transactionNoteStatusesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public NoteType[] TransactionNoteTypes + { + get + { + return this.transactionNoteTypesField; + } + set + { + this.transactionNoteTypesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetReservationArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] accountsField; + + private System.Guid[] assetsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Guid[] referencesField; + + private System.Guid[] ordersField; + + private string[] commentsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] Assets + { + get + { + return this.assetsField; + } + set + { + this.assetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public System.Guid[] References + { + get + { + return this.referencesField; + } + set + { + this.referencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] Orders + { + get + { + return this.ordersField; + } + set + { + this.ordersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=7)] + public string[] Comments + { + get + { + return this.commentsField; + } + set + { + this.commentsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTasksArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] usersField; + + private System.Guid[] assigneesField; + + private string[] headingsField; + + private string[] textsField; + + private System.Nullable dueDateFromField; + + private System.Nullable dueDateToField; + + private System.Nullable isHTMLField; + + private string[] statusField; + + private string[] prioritiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Users + { + get + { + return this.usersField; + } + set + { + this.usersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public System.Guid[] Assignees + { + get + { + return this.assigneesField; + } + set + { + this.assigneesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Headings + { + get + { + return this.headingsField; + } + set + { + this.headingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] Texts + { + get + { + return this.textsField; + } + set + { + this.textsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable DueDateFrom + { + get + { + return this.dueDateFromField; + } + set + { + this.dueDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable DueDateTo + { + get + { + return this.dueDateToField; + } + set + { + this.dueDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + public string[] Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public string[] Priorities + { + get + { + return this.prioritiesField; + } + set + { + this.prioritiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetNotesArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] usersField; + + private string[] headingsField; + + private string[] textsField; + + private System.Nullable eventDateFromField; + + private System.Nullable eventDateToField; + + private System.Nullable isHTMLField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Users + { + get + { + return this.usersField; + } + set + { + this.usersField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] Headings + { + get + { + return this.headingsField; + } + set + { + this.headingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Texts + { + get + { + return this.textsField; + } + set + { + this.textsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable EventDateFrom + { + get + { + return this.eventDateFromField; + } + set + { + this.eventDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable EventDateTo + { + get + { + return this.eventDateToField; + } + set + { + this.eventDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetMessagesArgs + { + + private System.Guid[] brickIdsField; + + private System.Guid[] receiversField; + + private string[] subjectsField; + + private string[] bodiesField; + + private System.Nullable eventDateFromField; + + private System.Nullable eventDateToField; + + private System.Nullable isReadField; + + private System.Nullable isPublicField; + + private System.Nullable isPromotedField; + + private System.Nullable isHTMLField; + + private string[] priorityField; + + private string[] statusField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public System.Guid[] Receivers + { + get + { + return this.receiversField; + } + set + { + this.receiversField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + public string[] Subjects + { + get + { + return this.subjectsField; + } + set + { + this.subjectsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Bodies + { + get + { + return this.bodiesField; + } + set + { + this.bodiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable EventDateFrom + { + get + { + return this.eventDateFromField; + } + set + { + this.eventDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)] + public System.Nullable EventDateTo + { + get + { + return this.eventDateToField; + } + set + { + this.eventDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)] + public System.Nullable IsRead + { + get + { + return this.isReadField; + } + set + { + this.isReadField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable IsPublic + { + get + { + return this.isPublicField; + } + set + { + this.isPublicField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable IsPromoted + { + get + { + return this.isPromotedField; + } + set + { + this.isPromotedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=9)] + public System.Nullable IsHTML + { + get + { + return this.isHTMLField; + } + set + { + this.isHTMLField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public string[] Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFailedWebhookArgs + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvailableWebhookEventArgs + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWebhookSubscriptionArgs + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHoldingsOverTimeArgs + { + + private System.DateTime startField; + + private System.DateTime endField; + + private string displayCurrencyCodeField; + + private System.Guid[] accountsField; + + private System.Guid[] assetsField; + + private bool percentageReturnField; + + private bool absoluteReturnField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Start + { + get + { + return this.startField; + } + set + { + this.startField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime End + { + get + { + return this.endField; + } + set + { + this.endField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string DisplayCurrencyCode + { + get + { + return this.displayCurrencyCodeField; + } + set + { + this.displayCurrencyCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public System.Guid[] Accounts + { + get + { + return this.accountsField; + } + set + { + this.accountsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public System.Guid[] Assets + { + get + { + return this.assetsField; + } + set + { + this.assetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool PercentageReturn + { + get + { + return this.percentageReturnField; + } + set + { + this.percentageReturnField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool AbsoluteReturn + { + get + { + return this.absoluteReturnField; + } + set + { + this.absoluteReturnField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTRSCountriesArgs + { + + private System.Guid[] brickIdsField; + + private string tRSIdTypePrio1Field; + + private string tRSIdTypePrio2Field; + + private string tRSIdTypePrio3Field; + + private string[] countryCodesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string TRSIdTypePrio1 + { + get + { + return this.tRSIdTypePrio1Field; + } + set + { + this.tRSIdTypePrio1Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string TRSIdTypePrio2 + { + get + { + return this.tRSIdTypePrio2Field; + } + set + { + this.tRSIdTypePrio2Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string TRSIdTypePrio3 + { + get + { + return this.tRSIdTypePrio3Field; + } + set + { + this.tRSIdTypePrio3Field = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + public string[] CountryCodes + { + get + { + return this.countryCodesField; + } + set + { + this.countryCodesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsurancePolicyFields + { + + private bool brickIdField; + + private bool expirationDateField; + + private bool externalReferenceField; + + private bool accountIdField; + + private bool parametersField; + + private bool policyPeriodField; + + private bool premiumField; + + private bool premiumFrequencyField; + + private bool secondInsuredLegalEntityIdField; + + private bool signDateField; + + private bool initialActivationDateField; + + private bool periodStartDateField; + + private bool periodEndDateField; + + private bool lastPartnerInvoiceDateField; + + private bool cancellationDateField; + + private bool terminationDateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ExpirationDate + { + get + { + return this.expirationDateField; + } + set + { + this.expirationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool AccountId + { + get + { + return this.accountIdField; + } + set + { + this.accountIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool PolicyPeriod + { + get + { + return this.policyPeriodField; + } + set + { + this.policyPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool Premium + { + get + { + return this.premiumField; + } + set + { + this.premiumField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool PremiumFrequency + { + get + { + return this.premiumFrequencyField; + } + set + { + this.premiumFrequencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool SecondInsuredLegalEntityId + { + get + { + return this.secondInsuredLegalEntityIdField; + } + set + { + this.secondInsuredLegalEntityIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool SignDate + { + get + { + return this.signDateField; + } + set + { + this.signDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool InitialActivationDate + { + get + { + return this.initialActivationDateField; + } + set + { + this.initialActivationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool PeriodStartDate + { + get + { + return this.periodStartDateField; + } + set + { + this.periodStartDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool PeriodEndDate + { + get + { + return this.periodEndDateField; + } + set + { + this.periodEndDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool LastPartnerInvoiceDate + { + get + { + return this.lastPartnerInvoiceDateField; + } + set + { + this.lastPartnerInvoiceDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool CancellationDate + { + get + { + return this.cancellationDateField; + } + set + { + this.cancellationDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool TerminationDate + { + get + { + return this.terminationDateField; + } + set + { + this.terminationDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsurancePolicyArgs + { + + private System.Guid[] brickIdsField; + + private System.Nullable createdDateFromField; + + private System.Nullable createdDateToField; + + private System.Nullable initialActivationDateFromField; + + private System.Nullable initialActivationDateToField; + + private string[] policyNosField; + + private System.Guid[] secondInsuredLegalEntityIdsField; + + private System.Nullable expirationDateFromField; + + private System.Nullable expirationDateToField; + + private decimal[] premiumsField; + + private int[] premiumFrequenciesField; + + private string[] parametersField; + + private System.Nullable signDateFromField; + + private System.Nullable signDateToField; + + private System.Nullable terminationDateFromField; + + private System.Nullable terminationDateToField; + + private System.Nullable cancellationDateFromField; + + private System.Nullable cancellationDateToField; + + private System.Guid[] ownerIdsField; + + private System.Guid[] accountIdsField; + + private System.Guid[] insuranceProgramIdsField; + + private string[] insuranceProgramNamesField; + + private string[] externalReferencesField; + + private int[] policyPeriodsField; + + private System.Nullable periodStartDateField; + + private System.Nullable periodEndDateField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable CreatedDateFrom + { + get + { + return this.createdDateFromField; + } + set + { + this.createdDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable CreatedDateTo + { + get + { + return this.createdDateToField; + } + set + { + this.createdDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public System.Nullable InitialActivationDateFrom + { + get + { + return this.initialActivationDateFromField; + } + set + { + this.initialActivationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public System.Nullable InitialActivationDateTo + { + get + { + return this.initialActivationDateToField; + } + set + { + this.initialActivationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + public string[] PolicyNos + { + get + { + return this.policyNosField; + } + set + { + this.policyNosField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + public System.Guid[] SecondInsuredLegalEntityIds + { + get + { + return this.secondInsuredLegalEntityIdsField; + } + set + { + this.secondInsuredLegalEntityIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=7)] + public System.Nullable ExpirationDateFrom + { + get + { + return this.expirationDateFromField; + } + set + { + this.expirationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=8)] + public System.Nullable ExpirationDateTo + { + get + { + return this.expirationDateToField; + } + set + { + this.expirationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + public decimal[] Premiums + { + get + { + return this.premiumsField; + } + set + { + this.premiumsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=10)] + public int[] PremiumFrequencies + { + get + { + return this.premiumFrequenciesField; + } + set + { + this.premiumFrequenciesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + public string[] Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=12)] + public System.Nullable SignDateFrom + { + get + { + return this.signDateFromField; + } + set + { + this.signDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=13)] + public System.Nullable SignDateTo + { + get + { + return this.signDateToField; + } + set + { + this.signDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public System.Nullable TerminationDateFrom + { + get + { + return this.terminationDateFromField; + } + set + { + this.terminationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=15)] + public System.Nullable TerminationDateTo + { + get + { + return this.terminationDateToField; + } + set + { + this.terminationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=16)] + public System.Nullable CancellationDateFrom + { + get + { + return this.cancellationDateFromField; + } + set + { + this.cancellationDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=17)] + public System.Nullable CancellationDateTo + { + get + { + return this.cancellationDateToField; + } + set + { + this.cancellationDateToField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=18)] + public System.Guid[] OwnerIds + { + get + { + return this.ownerIdsField; + } + set + { + this.ownerIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=19)] + public System.Guid[] AccountIds + { + get + { + return this.accountIdsField; + } + set + { + this.accountIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=20)] + public System.Guid[] InsuranceProgramIds + { + get + { + return this.insuranceProgramIdsField; + } + set + { + this.insuranceProgramIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=21)] + public string[] InsuranceProgramNames + { + get + { + return this.insuranceProgramNamesField; + } + set + { + this.insuranceProgramNamesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=22)] + public string[] ExternalReferences + { + get + { + return this.externalReferencesField; + } + set + { + this.externalReferencesField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=23)] + public int[] PolicyPeriods + { + get + { + return this.policyPeriodsField; + } + set + { + this.policyPeriodsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=24)] + public System.Nullable PeriodStartDate + { + get + { + return this.periodStartDateField; + } + set + { + this.periodStartDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=25)] + public System.Nullable PeriodEndDate + { + get + { + return this.periodEndDateField; + } + set + { + this.periodEndDateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceProductFields + { + + private bool brickIdField; + + private bool insuranceProductSupplierIdField; + + private bool resellerIdField; + + private bool brookerIdField; + + private bool administratorIdField; + + private bool accountManagerIdField; + + private bool claimsAdjusterIdField; + + private bool insuranceProductTypeIdField; + + private bool insuranceCategoryKeyField; + + private bool keyField; + + private bool nameField; + + private bool descriptionStringField; + + private bool productCodeField; + + private bool statusKeyField; + + private bool countryField; + + private bool ruleOf12Field; + + private bool ruleOf45Field; + + private bool ruleOf78Field; + + private bool currencyField; + + private bool insuranceCommissionField; + + private bool retentionField; + + private bool profitShareField; + + private bool termsNoField; + + private bool termsURLField; + + private bool productVersionField; + + private bool startDateField; + + private bool endDateField; + + private bool maxTermField; + + private bool insurableInterestField; + + private bool grossPriceField; + + private bool premiumBasedOnField; + + private bool netPriceField; + + private bool chargeIntervalField; + + private bool saleMethodField; + + private bool externalReferenceField; + + private bool parametersField; + + private bool commentField; + + private bool dealTypeKeyField; + + private bool periodOfNoticeField; + + private bool rAFApprovedDateField; + + private bool insuranceTaxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BrickId + { + get + { + return this.brickIdField; + } + set + { + this.brickIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool InsuranceProductSupplierId + { + get + { + return this.insuranceProductSupplierIdField; + } + set + { + this.insuranceProductSupplierIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool ResellerId + { + get + { + return this.resellerIdField; + } + set + { + this.resellerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool BrookerId + { + get + { + return this.brookerIdField; + } + set + { + this.brookerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool AdministratorId + { + get + { + return this.administratorIdField; + } + set + { + this.administratorIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool AccountManagerId + { + get + { + return this.accountManagerIdField; + } + set + { + this.accountManagerIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool ClaimsAdjusterId + { + get + { + return this.claimsAdjusterIdField; + } + set + { + this.claimsAdjusterIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public bool InsuranceProductTypeId + { + get + { + return this.insuranceProductTypeIdField; + } + set + { + this.insuranceProductTypeIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public bool InsuranceCategoryKey + { + get + { + return this.insuranceCategoryKeyField; + } + set + { + this.insuranceCategoryKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public bool Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public bool Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool DescriptionString + { + get + { + return this.descriptionStringField; + } + set + { + this.descriptionStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public bool ProductCode + { + get + { + return this.productCodeField; + } + set + { + this.productCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public bool StatusKey + { + get + { + return this.statusKeyField; + } + set + { + this.statusKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public bool Country + { + get + { + return this.countryField; + } + set + { + this.countryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public bool RuleOf12 + { + get + { + return this.ruleOf12Field; + } + set + { + this.ruleOf12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public bool RuleOf45 + { + get + { + return this.ruleOf45Field; + } + set + { + this.ruleOf45Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool RuleOf78 + { + get + { + return this.ruleOf78Field; + } + set + { + this.ruleOf78Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public bool Currency + { + get + { + return this.currencyField; + } + set + { + this.currencyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public bool InsuranceCommission + { + get + { + return this.insuranceCommissionField; + } + set + { + this.insuranceCommissionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public bool Retention + { + get + { + return this.retentionField; + } + set + { + this.retentionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public bool ProfitShare + { + get + { + return this.profitShareField; + } + set + { + this.profitShareField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public bool TermsNo + { + get + { + return this.termsNoField; + } + set + { + this.termsNoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public bool TermsURL + { + get + { + return this.termsURLField; + } + set + { + this.termsURLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public bool ProductVersion + { + get + { + return this.productVersionField; + } + set + { + this.productVersionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public bool StartDate + { + get + { + return this.startDateField; + } + set + { + this.startDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public bool EndDate + { + get + { + return this.endDateField; + } + set + { + this.endDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public bool MaxTerm + { + get + { + return this.maxTermField; + } + set + { + this.maxTermField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public bool InsurableInterest + { + get + { + return this.insurableInterestField; + } + set + { + this.insurableInterestField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public bool GrossPrice + { + get + { + return this.grossPriceField; + } + set + { + this.grossPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public bool PremiumBasedOn + { + get + { + return this.premiumBasedOnField; + } + set + { + this.premiumBasedOnField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=31)] + public bool NetPrice + { + get + { + return this.netPriceField; + } + set + { + this.netPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=32)] + public bool ChargeInterval + { + get + { + return this.chargeIntervalField; + } + set + { + this.chargeIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=33)] + public bool SaleMethod + { + get + { + return this.saleMethodField; + } + set + { + this.saleMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=34)] + public bool ExternalReference + { + get + { + return this.externalReferenceField; + } + set + { + this.externalReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=35)] + public bool Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=36)] + public bool Comment + { + get + { + return this.commentField; + } + set + { + this.commentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=37)] + public bool DealTypeKey + { + get + { + return this.dealTypeKeyField; + } + set + { + this.dealTypeKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=38)] + public bool PeriodOfNotice + { + get + { + return this.periodOfNoticeField; + } + set + { + this.periodOfNoticeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=39)] + public bool RAFApprovedDate + { + get + { + return this.rAFApprovedDateField; + } + set + { + this.rAFApprovedDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=40)] + public bool InsuranceTax + { + get + { + return this.insuranceTaxField; + } + set + { + this.insuranceTaxField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class Credentials + { + + private string userNameField; + + private string passwordField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateInsuranceClaimBetterActionBrickUpdateInsuranceClaimsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceClaimsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfInsuranceClaimInsuranceClaimBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceClaimsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInsuranceClaimsArgsGetInsuranceClaimsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceClaimsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInsuranceCoversArgsGetInsuranceCoversFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceCoversRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIActionTriggerRequestOfFundInstructions_SettleFundInstructions_SettleResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundInstructions_SettleRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfCreateTradingVenueTradingVenueBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradingVenuesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTradingVenueArgsGetTradingVenueFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradingVenueRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFeeGroupArgsGetFeeGroupFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeGroupRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteFilesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteFileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFileInfoArgsGetFileInfoFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileListRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetHistoricPricesArgsGetHistoricPricesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPricesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetRecurringOrderTemplatesArgsGetRecurringOrderTemplatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRecurringOrderTemplatesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateRecurringOrderTemplateAvtaleGiroRecurringOrderTemplateBrickUpdateRecurringOrderTemplatesAvtaleGiroFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplatesAvtaleGiroRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfRecurringOrderTemplateAvtaleGiroBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAvtaleGiroRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateRecurringOrderTemplateAutoGiroRecurringOrderTemplateBrickUpdateRecurringOrderTemplateAutoGiroFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAutoGiroRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfRecurringOrderTemplateAutoGiroBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAutoGiroRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateWorkflowInstanceBetterActionBrickUpdateWorkflowInstanceFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWorkflowInstanceRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateTransferReceiverStateBetterActionBrickUpdateTransferReceiverStatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverStatesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateTransferReceiverBetterActionBrickUpdateTransferReceiverFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiversRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfTransferReceiverBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTransferReceiversRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTransferReceiversArgsGetTransferReceiverFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferReceiversRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetBusinessTransactionTypeArgsGetBusinessTransactionTypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionTypeRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetOrderTypeArgsGetOrderTypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetOrderTypeRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetPOATypeArgsGetPOATypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOATypeRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAccountTypeArgsGetAccountTypeFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountTypeRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetCashArgsGetCashFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCashRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SetCurrencyValuesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetCurrencyValuesArgsGetCurrencyValuesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyValueRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetCurrencyArgsGetCurrencyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SetHistoricPricesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateBusinessTransactionBusinessTransactionBrickUpdateBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateBusinessTransactionsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateSuperTransactionSuperTransactionBrickUpdateSuperTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSuperTransactionsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfCorrectionBusinessTransactionSuperTransactionBrickCorrectionBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CorrectBusinessTransactionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfSuperTransactionBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateBusinessTransactionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetSuperTransactionArgsGetSuperTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetSuperTransactionArgsGetSuperTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSuperTransactionsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateWhiteLabelWhiteLabelInstanceBrickUpdateWhiteLabelFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWhiteLabelsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfWhiteLabelWhiteLabelInstanceBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWhiteLabelRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetWhiteLabelArgsGetWhiteLabelFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWhiteLabelRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateAccountAccountBrickUpdateAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAccountsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfAccountBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAccountRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAccountsArgsGetAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetAccountsArgsGetAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFundInstructionExecutionArgsGetFundInstructionExecutionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionExecutionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFundInstructionStatusLogArgsGetFundInstructionStatusLogFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionStatusLogRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFundInstructionArgsGetFundInstructionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetDecisionMakerArgsGetDecisionMakerFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDecisionMakerRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetBusinessEventArgsGetBusinessEventFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessEventRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetDealsArgsGetDealsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDealsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundBatchOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerRequestOfOld_ExternalFundBatchOrderSettleExternalFundBatchOrderSettleResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderSettleRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetExternalFundBatchOrdersArgsGetExternalFundBatchOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetExternalFundBatchOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFundBatchOrdersArgsGetFundBatchOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundBatchOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfAutoGiroDepositOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroDepositOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfAutoGiroWithdrawalOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroWithdrawalOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelAutoGiroOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAutoGiroOrdersArgsGetAutoGiroOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAutoGiroOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfDirectBankWithdrawalOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDirectBankWithdrawalOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAllocationOrderArgsGetAllocationOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfSwitchOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSwitchOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetDepositTransferOrdersArgsGetDepositTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositTransferOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetDepositBatchTransferOrdersArgsGetDepositBatchTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositBatchTransferOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SettleWithdrawalTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetWithdrawalTransferOrdersArgsGetWithdrawalTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalTransferOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetWithdrawalBatchTransferOrdersArgsGetWithdrawalBatchTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalBatchTransferOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerRequestOfWithdrawalCashBatchOrder_FillWithdrawalCashBatchOrder_FillResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WithdrawalCashBatchOrder_FillRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfWithdrawalCashOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWithdrawalCashOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfDepositCashOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDepositCashOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfTradeBuyOrderFromAutogiroBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeBuyOrdersFromAutogiroRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CancelTradeOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SettleOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTradeOrdersArgsGetTradeOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradeOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfTradeOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerRequestOfCurrencyExchangeOrder_CancelCurrencyExchangeOrder_CancelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrder_CancelRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetCurrencyExchangeOrderArgsGetCurrencyExchangeOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyExchangeOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfCurrencyExchangeOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCurrencyExchangeOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetSubscriptionOrderArgsGetSubscriptionOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSubscriptionOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerRequestOfSubscriptionOrder_ProcessSubscriptionOrder_ProcessResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_ProcessRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIWorkflowTriggerRequestOfSubscriptionOrder_CancelSubscriptionOrder_CancelResponse))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_CancelRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateSubscriptionOrderBetterActionBrickUpdateSubscriptionOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSubscriptionOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfSubscriptionOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSubscriptionOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIServiceActionRequestOfDeleteInternalTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteInternalTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIServiceActionRequestOfExecuteInternalTransferOrder))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteInternalTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfInternalInstrumentTransferOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalInstrumentTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInternalInstrumentTransferOrderArgsGetInternalInstrumentTransferOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalInstrumentTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfInternalCashTransferOrderBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalCashTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInternalCashTransferOrderArgsGetInternalCashTransferOrderFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalCashTransferOrderRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAlgorithmArgsGetAlgorithmFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAlgorithmRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResetPasswordRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AuthenticateRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBankIdStatusRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BankIdSignRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UsernamePasswordAuthenticateRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BankIdAuthenticateRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIDeleteRequestOfAllocationTemplateBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteAllocationProfileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfAllocationProfileAllocationTemplateBrickUpdateAllocationProfileFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAllocationProfileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfAllocationProfileAllocationTemplateBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAllocationProfileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAllocationProfileArgsGetAllocationProfileFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationProfileRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIDeleteRequestOfPowerOfAttorneyBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeletePoaRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfPOAPowerOfAttorneyBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePOARequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetPOAArgsGetPOAFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOARequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfManualExecutionInterfaceOldExecutionInterfaceBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateManualExecutionInterfaceRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateInstrumentBrickBaseUpdateInstrumentFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInstrumentsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAssetAccountTypeLimitationArgsGetAssetAccountTypeLimitationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAssetAccountTypeLimitationRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfAssetAccountTypeLimitationAssetAccountTypeLimitationBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAssetAccountTypeLimitationRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfInstrumentGenericInstrumentBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInstrumentRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInstrumentsByNameArgsGetInstrumentsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsByNameRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInstrumentsArgsGetInstrumentsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetInstrumentsArgsGetInstrumentsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetHistoricPositionArgsGetHistoricPositionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPositionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetPositionArgsGetPositionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetPositionArgsGetPositionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPositionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfInactivatePersonBetterActionBrickInactivatePersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InactivatePersonsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdatePersonBetterActionBrickUpdatePersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdatePersonsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfPersonBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePersonRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateFundEntityBetterActionBrickUpdateFundEntityFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundEntitiesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfFundEntityBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundEntityRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateFundCompanyBetterActionBrickUpdateFundCompanyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundCompaniesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfFundCompanyBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundCompaniesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFundEntityArgsGetFundEntityFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFundCompaniesArgsGetFundCompaniesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetPersonArgsGetPersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetPersonArgsGetPersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateTaxWithholdingAgreementTaxWithholdingAgreementBrickUpdateTaxWithholdingAgreementFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaxWithholdingAgreementsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfTaxWithholdingAgreementBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTaxWithholdingAgreementsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTaxWithholdingAgreementArgsGetTaxWithholdingAgreementFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTaxWithholdingAgreementRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetHouseInformationArgsGetHouseInformationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHouseInformationRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetBackgroundJobsArgsGetBackgroundJobsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBackgroundJobsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetRelatedFifoLotsArgsGetRelatedFifoLotsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRelatedFifoLotsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAvtaleGiroOrdersArgsGetAvtaleGiroOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvtaleGiroOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTransferOrdersArgsGetTransferOrdersFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferOrdersRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateTransferOrderStateBetterActionBrickUpdateTransferOrderStatesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferOrderStatesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCustomFieldRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateCustomFieldRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteCustomFieldRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteFeeRecordRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFeeRecordRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFeeRecordRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFeeRecordArgsGetFeeRecordFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeRecordRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetCountryArgsGetCountryFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCountryRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTransactionNoteArgsGetTransactionNoteFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransactionNoteRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIDeleteRequestOfReservationBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteReservationRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfReservationReservationBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateReservationRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetReservationArgsGetReservationFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetReservationRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateTaskActivityLogItemBrickUpdateTaskFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaskRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfCreateTaskActivityLogItemBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTasksRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTasksArgsGetTasksFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTasksRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateNoteActivityLogItemBrickUpdateNoteFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateNoteRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfCreateNoteActivityLogItemBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateNotesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetNotesArgsGetNotesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetNotesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateMessageActivityLogItemBrickUpdateMessageFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMessageRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfCreateMessageActivityLogItemBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateMessagesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetMessagesArgsGetMessagesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetMessagesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetFailedWebhookArgsGetFailedWebhookFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFailedWebhookRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfDeleteWebhookSubscriptionBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteWebhookSubscriptionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfCreateWebhookSubscriptionBetterActionBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWebhookSubscriptionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetAvailableWebhookEventArgsGetAvailableWebhookEventFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvailableWebhookEventRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetWebhookSubscriptionArgsGetWebhookSubscriptionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWebhookSubscriptionRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetHoldingsOverTimeArgsGetHoldingsOverTimeResponseFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHoldingsOverTimeRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetTRSCountriesArgsGetTRSCountriesFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTRSCountriesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateInsurancePolicyBetterActionBrickUpdateInsurancePolicyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsurancePoliciesRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfInsurancePolicyInsurancePolicyBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsurancePolicyRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInsurancePolicyArgsGetInsurancePolicyFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsurancePolicyRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APIUpdateRequestOfUpdateInsuranceProductBetterActionBrickUpdateInsuranceProductFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceProductsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APICreateRequestOfInsuranceProductInsuranceProductBrick))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceProductsRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchRequestOfGetInsuranceProductsArgsGetInsuranceProductsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceProductsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class Request + { + + private Credentials credentialsField; + + private string identifyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public Credentials Credentials + { + get + { + return this.credentialsField; + } + set + { + this.credentialsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string identify + { + get + { + return this.identifyField; + } + set + { + this.identifyField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceClaimsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateInsuranceClaimBetterActionBrickUpdateInsuranceClaimsFields : Request + { + + private UpdateInsuranceClaim[] entitiesField; + + private UpdateInsuranceClaimsFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInsuranceClaim[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateInsuranceClaimsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceClaimsRequest : APIUpdateRequestOfUpdateInsuranceClaimBetterActionBrickUpdateInsuranceClaimsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceClaimsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfInsuranceClaimInsuranceClaimBrick : Request + { + + private InsuranceClaim[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InsuranceClaim[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInsuranceClaimsRequest : APICreateRequestOfInsuranceClaimInsuranceClaimBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceClaimsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInsuranceClaimsArgsGetInsuranceClaimsFields : Request + { + + private GetInsuranceClaimsArgs argsField; + + private GetInsuranceClaimsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInsuranceClaimsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsuranceClaimsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceClaimsRequest : APISearchRequestOfGetInsuranceClaimsArgsGetInsuranceClaimsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsuranceCoversRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInsuranceCoversArgsGetInsuranceCoversFields : Request + { + + private GetInsuranceCoversArgs argsField; + + private GetInsuranceCoversFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInsuranceCoversArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsuranceCoversFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsuranceCoversRequest : APISearchRequestOfGetInsuranceCoversArgsGetInsuranceCoversFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FundInstructions_SettleRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIActionTriggerRequestOfFundInstructions_SettleFundInstructions_SettleResponse : Request + { + + private FundInstructions_Settle actionTriggerDataEntityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public FundInstructions_Settle ActionTriggerDataEntity + { + get + { + return this.actionTriggerDataEntityField; + } + set + { + this.actionTriggerDataEntityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class FundInstructions_SettleRequest : APIActionTriggerRequestOfFundInstructions_SettleFundInstructions_SettleResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradingVenuesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfCreateTradingVenueTradingVenueBrick : Request + { + + private CreateTradingVenue[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateTradingVenue[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradingVenuesRequest : APICreateRequestOfCreateTradingVenueTradingVenueBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradingVenueRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTradingVenueArgsGetTradingVenueFields : Request + { + + private GetTradingVenueArgs argsField; + + private GetTradingVenueFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTradingVenueArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTradingVenueFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradingVenueRequest : APISearchRequestOfGetTradingVenueArgsGetTradingVenueFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeGroupRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFeeGroupArgsGetFeeGroupFields : Request + { + + private GetFeeGroupArgs argsField; + + private GetFeeGroupFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFeeGroupArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFeeGroupFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeGroupRequest : APISearchRequestOfGetFeeGroupArgsGetFeeGroupFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFilesRequest : Request + { + + private FileInfoGeneral[] fileInfoDeletesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FileInfoGeneral[] FileInfoDeletes + { + get + { + return this.fileInfoDeletesField; + } + set + { + this.fileInfoDeletesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFileRequest : Request + { + + private FileInfoGeneral fileInfoDeleteField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public FileInfoGeneral FileInfoDelete + { + get + { + return this.fileInfoDeleteField; + } + set + { + this.fileInfoDeleteField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFileListRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFileInfoArgsGetFileInfoFields : Request + { + + private GetFileInfoArgs argsField; + + private GetFileInfoFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFileInfoArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFileInfoFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileListRequest : APISearchRequestOfGetFileInfoArgsGetFileInfoFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFileRequest : Request + { + + private FileInfoUpload fileInfoUploadField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public FileInfoUpload FileInfoUpload + { + get + { + return this.fileInfoUploadField; + } + set + { + this.fileInfoUploadField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFileRequest : Request + { + + private FileInfoGeneral fileInfoGetField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public FileInfoGeneral FileInfoGet + { + get + { + return this.fileInfoGetField; + } + set + { + this.fileInfoGetField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPricesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetHistoricPricesArgsGetHistoricPricesFields : Request + { + + private GetHistoricPricesArgs argsField; + + private GetHistoricPricesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetHistoricPricesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHistoricPricesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPricesRequest : APISearchRequestOfGetHistoricPricesArgsGetHistoricPricesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRecurringOrderTemplatesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetRecurringOrderTemplatesArgsGetRecurringOrderTemplatesFields : Request + { + + private GetRecurringOrderTemplatesArgs argsField; + + private GetRecurringOrderTemplatesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetRecurringOrderTemplatesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetRecurringOrderTemplatesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRecurringOrderTemplatesRequest : APISearchRequestOfGetRecurringOrderTemplatesArgsGetRecurringOrderTemplatesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplatesAvtaleGiroRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateRecurringOrderTemplateAvtaleGiroRecurringOrderTemplateBrickUpdateRecurringOrderTemplatesAvtaleGiroFields : Request + { + + private UpdateRecurringOrderTemplateAvtaleGiro[] entitiesField; + + private UpdateRecurringOrderTemplatesAvtaleGiroFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateRecurringOrderTemplateAvtaleGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateRecurringOrderTemplatesAvtaleGiroFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplatesAvtaleGiroRequest : APIUpdateRequestOfUpdateRecurringOrderTemplateAvtaleGiroRecurringOrderTemplateBrickUpdateRecurringOrderTemplatesAvtaleGiroFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAvtaleGiroRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfRecurringOrderTemplateAvtaleGiroBetterActionBrick : Request + { + + private RecurringOrderTemplateAvtaleGiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public RecurringOrderTemplateAvtaleGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateRecurringOrderTemplateAvtaleGiroRequest : APICreateRequestOfRecurringOrderTemplateAvtaleGiroBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateRecurringOrderTemplateAutoGiroRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateRecurringOrderTemplateAutoGiroRecurringOrderTemplateBrickUpdateRecurringOrderTemplateAutoGiroFields : Request + { + + private UpdateRecurringOrderTemplateAutoGiro[] entitiesField; + + private UpdateRecurringOrderTemplateAutoGiroFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateRecurringOrderTemplateAutoGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateRecurringOrderTemplateAutoGiroFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateRecurringOrderTemplateAutoGiroRequest : APIUpdateRequestOfUpdateRecurringOrderTemplateAutoGiroRecurringOrderTemplateBrickUpdateRecurringOrderTemplateAutoGiroFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateRecurringOrderTemplateAutoGiroRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfRecurringOrderTemplateAutoGiroBetterActionBrick : Request + { + + private RecurringOrderTemplateAutoGiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public RecurringOrderTemplateAutoGiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateRecurringOrderTemplateAutoGiroRequest : APICreateRequestOfRecurringOrderTemplateAutoGiroBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWorkflowInstanceRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateWorkflowInstanceBetterActionBrickUpdateWorkflowInstanceFields : Request + { + + private UpdateWorkflowInstance[] entitiesField; + + private UpdateWorkflowInstanceFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateWorkflowInstance[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateWorkflowInstanceFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWorkflowInstanceRequest : APIUpdateRequestOfUpdateWorkflowInstanceBetterActionBrickUpdateWorkflowInstanceFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiverStatesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateTransferReceiverStateBetterActionBrickUpdateTransferReceiverStatesFields : Request + { + + private UpdateTransferReceiverState[] entitiesField; + + private UpdateTransferReceiverStatesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTransferReceiverState[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateTransferReceiverStatesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiverStatesRequest : APIUpdateRequestOfUpdateTransferReceiverStateBetterActionBrickUpdateTransferReceiverStatesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferReceiversRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateTransferReceiverBetterActionBrickUpdateTransferReceiverFields : Request + { + + private UpdateTransferReceiver[] entitiesField; + + private UpdateTransferReceiverFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTransferReceiver[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateTransferReceiverFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferReceiversRequest : APIUpdateRequestOfUpdateTransferReceiverBetterActionBrickUpdateTransferReceiverFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTransferReceiversRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfTransferReceiverBetterActionBrick : Request + { + + private TransferReceiver[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TransferReceiver[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTransferReceiversRequest : APICreateRequestOfTransferReceiverBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferReceiversRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTransferReceiversArgsGetTransferReceiverFields : Request + { + + private GetTransferReceiversArgs argsField; + + private GetTransferReceiverFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTransferReceiversArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTransferReceiverFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferReceiversRequest : APISearchRequestOfGetTransferReceiversArgsGetTransferReceiverFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionTypeRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetBusinessTransactionTypeArgsGetBusinessTransactionTypeFields : Request + { + + private GetBusinessTransactionTypeArgs argsField; + + private GetBusinessTransactionTypeFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetBusinessTransactionTypeArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBusinessTransactionTypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionTypeRequest : APISearchRequestOfGetBusinessTransactionTypeArgsGetBusinessTransactionTypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetOrderTypeRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetOrderTypeArgsGetOrderTypeFields : Request + { + + private GetOrderTypeArgs argsField; + + private GetOrderTypeFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetOrderTypeArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetOrderTypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetOrderTypeRequest : APISearchRequestOfGetOrderTypeArgsGetOrderTypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOATypeRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetPOATypeArgsGetPOATypeFields : Request + { + + private GetPOATypeArgs argsField; + + private GetPOATypeFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetPOATypeArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPOATypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOATypeRequest : APISearchRequestOfGetPOATypeArgsGetPOATypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountTypeRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAccountTypeArgsGetAccountTypeFields : Request + { + + private GetAccountTypeArgs argsField; + + private GetAccountTypeFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAccountTypeArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAccountTypeFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountTypeRequest : APISearchRequestOfGetAccountTypeArgsGetAccountTypeFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCashRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetCashArgsGetCashFields : Request + { + + private GetCashArgs argsField; + + private GetCashFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetCashArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCashFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCashRequest : APISearchRequestOfGetCashArgsGetCashFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SetCurrencyValuesRequest : Request + { + + private CurrencyValueEntry[] currencyValueEntriesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CurrencyValueEntry[] CurrencyValueEntries + { + get + { + return this.currencyValueEntriesField; + } + set + { + this.currencyValueEntriesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyValueRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetCurrencyValuesArgsGetCurrencyValuesFields : Request + { + + private GetCurrencyValuesArgs argsField; + + private GetCurrencyValuesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetCurrencyValuesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCurrencyValuesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyValueRequest : APISearchRequestOfGetCurrencyValuesArgsGetCurrencyValuesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetCurrencyArgsGetCurrencyFields : Request + { + + private GetCurrencyArgs argsField; + + private GetCurrencyFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetCurrencyArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCurrencyFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyRequest : APISearchRequestOfGetCurrencyArgsGetCurrencyFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SetHistoricPricesRequest : Request + { + + private PriceDateEntry[] priceDateEntriesField; + + private bool clearAllPreviousDataField; + + private bool updateCurrentPriceFromLastPriceField; + + private bool clearAllsubsequentDataField; + + private bool clearPreviousDataByRangeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public PriceDateEntry[] PriceDateEntries + { + get + { + return this.priceDateEntriesField; + } + set + { + this.priceDateEntriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ClearAllPreviousData + { + get + { + return this.clearAllPreviousDataField; + } + set + { + this.clearAllPreviousDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool UpdateCurrentPriceFromLastPrice + { + get + { + return this.updateCurrentPriceFromLastPriceField; + } + set + { + this.updateCurrentPriceFromLastPriceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ClearAllsubsequentData + { + get + { + return this.clearAllsubsequentDataField; + } + set + { + this.clearAllsubsequentDataField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ClearPreviousDataByRange + { + get + { + return this.clearPreviousDataByRangeField; + } + set + { + this.clearPreviousDataByRangeField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateBusinessTransactionsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateBusinessTransactionBusinessTransactionBrickUpdateBusinessTransactionFields : Request + { + + private UpdateBusinessTransaction[] entitiesField; + + private UpdateBusinessTransactionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateBusinessTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateBusinessTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateBusinessTransactionsRequest : APIUpdateRequestOfUpdateBusinessTransactionBusinessTransactionBrickUpdateBusinessTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSuperTransactionsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateSuperTransactionSuperTransactionBrickUpdateSuperTransactionFields : Request + { + + private UpdateSuperTransaction[] entitiesField; + + private UpdateSuperTransactionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateSuperTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateSuperTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSuperTransactionsRequest : APIUpdateRequestOfUpdateSuperTransactionSuperTransactionBrickUpdateSuperTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CorrectBusinessTransactionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfCorrectionBusinessTransactionSuperTransactionBrickCorrectionBusinessTransactionFields : Request + { + + private CorrectionBusinessTransaction[] entitiesField; + + private CorrectionBusinessTransactionFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CorrectionBusinessTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public CorrectionBusinessTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CorrectBusinessTransactionRequest : APIUpdateRequestOfCorrectionBusinessTransactionSuperTransactionBrickCorrectionBusinessTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateBusinessTransactionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfSuperTransactionBetterActionBrick : Request + { + + private SuperTransaction[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public SuperTransaction[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateBusinessTransactionRequest : APICreateRequestOfSuperTransactionBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields : Request + { + + private GetBusinessTransactionArgs argsField; + + private GetBusinessTransactionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetBusinessTransactionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBusinessTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessTransactionsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchWithPaginationRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields : APISearchRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields + { + + private System.Nullable enablePaginationField; + + private System.Nullable pageIndexField; + + private System.Nullable pageSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable EnablePagination + { + get + { + return this.enablePaginationField; + } + set + { + this.enablePaginationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PageIndex + { + get + { + return this.pageIndexField; + } + set + { + this.pageIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable PageSize + { + get + { + return this.pageSizeField; + } + set + { + this.pageSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessTransactionsRequest : APISearchWithPaginationRequestOfGetBusinessTransactionArgsGetBusinessTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetSuperTransactionArgsGetSuperTransactionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSuperTransactionsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetSuperTransactionArgsGetSuperTransactionFields : Request + { + + private GetSuperTransactionArgs argsField; + + private GetSuperTransactionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetSuperTransactionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetSuperTransactionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSuperTransactionsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchWithPaginationRequestOfGetSuperTransactionArgsGetSuperTransactionFields : APISearchRequestOfGetSuperTransactionArgsGetSuperTransactionFields + { + + private System.Nullable enablePaginationField; + + private System.Nullable pageIndexField; + + private System.Nullable pageSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable EnablePagination + { + get + { + return this.enablePaginationField; + } + set + { + this.enablePaginationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PageIndex + { + get + { + return this.pageIndexField; + } + set + { + this.pageIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable PageSize + { + get + { + return this.pageSizeField; + } + set + { + this.pageSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSuperTransactionsRequest : APISearchWithPaginationRequestOfGetSuperTransactionArgsGetSuperTransactionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateWhiteLabelsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateWhiteLabelWhiteLabelInstanceBrickUpdateWhiteLabelFields : Request + { + + private UpdateWhiteLabel[] entitiesField; + + private UpdateWhiteLabelFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateWhiteLabel[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateWhiteLabelFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateWhiteLabelsRequest : APIUpdateRequestOfUpdateWhiteLabelWhiteLabelInstanceBrickUpdateWhiteLabelFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWhiteLabelRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfWhiteLabelWhiteLabelInstanceBrick : Request + { + + private WhiteLabel[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public WhiteLabel[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWhiteLabelRequest : APICreateRequestOfWhiteLabelWhiteLabelInstanceBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWhiteLabelRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetWhiteLabelArgsGetWhiteLabelFields : Request + { + + private GetWhiteLabelArgs argsField; + + private GetWhiteLabelFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetWhiteLabelArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWhiteLabelFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWhiteLabelRequest : APISearchRequestOfGetWhiteLabelArgsGetWhiteLabelFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAccountsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateAccountAccountBrickUpdateAccountFields : Request + { + + private UpdateAccount[] entitiesField; + + private UpdateAccountFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateAccount[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateAccountFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAccountsRequest : APIUpdateRequestOfUpdateAccountAccountBrickUpdateAccountFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAccountRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfAccountBetterActionBrick : Request + { + + private Account[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Account[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAccountRequest : APICreateRequestOfAccountBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetAccountsArgsGetAccountFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAccountsArgsGetAccountFields : Request + { + + private GetAccountsArgs argsField; + + private GetAccountFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAccountsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAccountFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAccountsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchWithPaginationRequestOfGetAccountsArgsGetAccountFields : APISearchRequestOfGetAccountsArgsGetAccountFields + { + + private System.Nullable enablePaginationField; + + private System.Nullable pageIndexField; + + private System.Nullable pageSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable EnablePagination + { + get + { + return this.enablePaginationField; + } + set + { + this.enablePaginationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PageIndex + { + get + { + return this.pageIndexField; + } + set + { + this.pageIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable PageSize + { + get + { + return this.pageSizeField; + } + set + { + this.pageSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAccountsRequest : APISearchWithPaginationRequestOfGetAccountsArgsGetAccountFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionExecutionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFundInstructionExecutionArgsGetFundInstructionExecutionFields : Request + { + + private GetFundInstructionExecutionArgs argsField; + + private GetFundInstructionExecutionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFundInstructionExecutionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundInstructionExecutionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionExecutionRequest : APISearchRequestOfGetFundInstructionExecutionArgsGetFundInstructionExecutionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionStatusLogRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFundInstructionStatusLogArgsGetFundInstructionStatusLogFields : Request + { + + private GetFundInstructionStatusLogArgs argsField; + + private GetFundInstructionStatusLogFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFundInstructionStatusLogArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundInstructionStatusLogFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionStatusLogRequest : APISearchRequestOfGetFundInstructionStatusLogArgsGetFundInstructionStatusLogFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundInstructionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFundInstructionArgsGetFundInstructionFields : Request + { + + private GetFundInstructionArgs argsField; + + private GetFundInstructionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFundInstructionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundInstructionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundInstructionRequest : APISearchRequestOfGetFundInstructionArgsGetFundInstructionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDecisionMakerRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetDecisionMakerArgsGetDecisionMakerFields : Request + { + + private GetDecisionMakerArgs argsField; + + private GetDecisionMakerFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetDecisionMakerArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDecisionMakerFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDecisionMakerRequest : APISearchRequestOfGetDecisionMakerArgsGetDecisionMakerFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBusinessEventRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetBusinessEventArgsGetBusinessEventFields : Request + { + + private GetBusinessEventArgs argsField; + + private GetBusinessEventFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetBusinessEventArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBusinessEventFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBusinessEventRequest : APISearchRequestOfGetBusinessEventArgsGetBusinessEventFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDealsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetDealsArgsGetDealsFields : Request + { + + private GetDealsArgs argsField; + + private GetDealsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetDealsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDealsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDealsRequest : APISearchRequestOfGetDealsArgsGetDealsFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundBatchOrdersRequest : Request + { + + private CreateFundBatchOrdersBase entityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CreateFundBatchOrdersBase Entity + { + get + { + return this.entityField; + } + set + { + this.entityField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExternalFundBatchOrderSettleRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerRequestOfOld_ExternalFundBatchOrderSettleExternalFundBatchOrderSettleResponse : Request + { + + private Old_ExternalFundBatchOrderSettle workflowTriggerDataEntityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public Old_ExternalFundBatchOrderSettle WorkflowTriggerDataEntity + { + get + { + return this.workflowTriggerDataEntityField; + } + set + { + this.workflowTriggerDataEntityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExternalFundBatchOrderSettleRequest : APIWorkflowTriggerRequestOfOld_ExternalFundBatchOrderSettleExternalFundBatchOrderSettleResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetExternalFundBatchOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetExternalFundBatchOrdersArgsGetExternalFundBatchOrderFields : Request + { + + private GetExternalFundBatchOrdersArgs argsField; + + private GetExternalFundBatchOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetExternalFundBatchOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetExternalFundBatchOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetExternalFundBatchOrdersRequest : APISearchRequestOfGetExternalFundBatchOrdersArgsGetExternalFundBatchOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundBatchOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFundBatchOrdersArgsGetFundBatchOrderFields : Request + { + + private GetFundBatchOrdersArgs argsField; + + private GetFundBatchOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFundBatchOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundBatchOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundBatchOrdersRequest : APISearchRequestOfGetFundBatchOrdersArgsGetFundBatchOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroDepositOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfAutoGiroDepositOrderBetterActionBrick : Request + { + + private AutoGiroDepositOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AutoGiroDepositOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAutoGiroDepositOrderRequest : APICreateRequestOfAutoGiroDepositOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAutoGiroWithdrawalOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfAutoGiroWithdrawalOrderBetterActionBrick : Request + { + + private AutoGiroWithdrawalOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AutoGiroWithdrawalOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAutoGiroWithdrawalOrderRequest : APICreateRequestOfAutoGiroWithdrawalOrderBetterActionBrick + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CancelAutoGiroOrderRequest : Request + { + + private CancelAutoGiroOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CancelAutoGiroOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAutoGiroOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAutoGiroOrdersArgsGetAutoGiroOrdersFields : Request + { + + private GetAutoGiroOrdersArgs argsField; + + private GetAutoGiroOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAutoGiroOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAutoGiroOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAutoGiroOrdersRequest : APISearchRequestOfGetAutoGiroOrdersArgsGetAutoGiroOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDirectBankWithdrawalOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfDirectBankWithdrawalOrderBetterActionBrick : Request + { + + private DirectBankWithdrawalOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DirectBankWithdrawalOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateDirectBankWithdrawalOrderRequest : APICreateRequestOfDirectBankWithdrawalOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAllocationOrderArgsGetAllocationOrderFields : Request + { + + private GetAllocationOrderArgs argsField; + + private GetAllocationOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAllocationOrderArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAllocationOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationOrderRequest : APISearchRequestOfGetAllocationOrderArgsGetAllocationOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSwitchOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfSwitchOrderBetterActionBrick : Request + { + + private SwitchOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public SwitchOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateSwitchOrdersRequest : APICreateRequestOfSwitchOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositTransferOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetDepositTransferOrdersArgsGetDepositTransferOrdersFields : Request + { + + private GetDepositTransferOrdersArgs argsField; + + private GetDepositTransferOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetDepositTransferOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDepositTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositTransferOrdersRequest : APISearchRequestOfGetDepositTransferOrdersArgsGetDepositTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetDepositBatchTransferOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetDepositBatchTransferOrdersArgsGetDepositBatchTransferOrdersFields : Request + { + + private GetDepositBatchTransferOrdersArgs argsField; + + private GetDepositBatchTransferOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetDepositBatchTransferOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetDepositBatchTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetDepositBatchTransferOrdersRequest : APISearchRequestOfGetDepositBatchTransferOrdersArgsGetDepositBatchTransferOrdersFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SettleWithdrawalTransferOrderRequest : Request + { + + private TransferOrderSettleInformation[] transferOrderSettleInformationField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TransferOrderSettleInformation[] TransferOrderSettleInformation + { + get + { + return this.transferOrderSettleInformationField; + } + set + { + this.transferOrderSettleInformationField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalTransferOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetWithdrawalTransferOrdersArgsGetWithdrawalTransferOrdersFields : Request + { + + private GetWithdrawalTransferOrdersArgs argsField; + + private GetWithdrawalTransferOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetWithdrawalTransferOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWithdrawalTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalTransferOrdersRequest : APISearchRequestOfGetWithdrawalTransferOrdersArgsGetWithdrawalTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWithdrawalBatchTransferOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetWithdrawalBatchTransferOrdersArgsGetWithdrawalBatchTransferOrdersFields : Request + { + + private GetWithdrawalBatchTransferOrdersArgs argsField; + + private GetWithdrawalBatchTransferOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetWithdrawalBatchTransferOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWithdrawalBatchTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWithdrawalBatchTransferOrdersRequest : APISearchRequestOfGetWithdrawalBatchTransferOrdersArgsGetWithdrawalBatchTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WithdrawalCashBatchOrder_FillRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerRequestOfWithdrawalCashBatchOrder_FillWithdrawalCashBatchOrder_FillResponse : Request + { + + private WithdrawalCashBatchOrder_Fill workflowTriggerDataEntityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public WithdrawalCashBatchOrder_Fill WorkflowTriggerDataEntity + { + get + { + return this.workflowTriggerDataEntityField; + } + set + { + this.workflowTriggerDataEntityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class WithdrawalCashBatchOrder_FillRequest : APIWorkflowTriggerRequestOfWithdrawalCashBatchOrder_FillWithdrawalCashBatchOrder_FillResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWithdrawalCashOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfWithdrawalCashOrderBetterActionBrick : Request + { + + private WithdrawalCashOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public WithdrawalCashOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWithdrawalCashOrderRequest : APICreateRequestOfWithdrawalCashOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateDepositCashOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfDepositCashOrderBetterActionBrick : Request + { + + private DepositCashOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DepositCashOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateDepositCashOrderRequest : APICreateRequestOfDepositCashOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeBuyOrdersFromAutogiroRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfTradeBuyOrderFromAutogiroBetterActionBrick : Request + { + + private TradeBuyOrderFromAutogiro[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TradeBuyOrderFromAutogiro[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradeBuyOrdersFromAutogiroRequest : APICreateRequestOfTradeBuyOrderFromAutogiroBetterActionBrick + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CancelTradeOrderRequest : Request + { + + private CancelTradeOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CancelTradeOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SettleOrderRequest : Request + { + + private OrderSettleBase[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public OrderSettleBase[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExecuteOrderRequest : Request + { + + private OrderExecuteBase[] entitiesField; + + private bool executeInBackgroundField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public OrderExecuteBase[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool ExecuteInBackground + { + get + { + return this.executeInBackgroundField; + } + set + { + this.executeInBackgroundField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTradeOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTradeOrdersArgsGetTradeOrderFields : Request + { + + private GetTradeOrdersArgs argsField; + + private GetTradeOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTradeOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTradeOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTradeOrdersRequest : APISearchRequestOfGetTradeOrdersArgsGetTradeOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTradeOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfTradeOrderBetterActionBrick : Request + { + + private TradeOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TradeOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTradeOrderRequest : APICreateRequestOfTradeOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CurrencyExchangeOrder_CancelRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerRequestOfCurrencyExchangeOrder_CancelCurrencyExchangeOrder_CancelResponse : Request + { + + private CurrencyExchangeOrder_Cancel workflowTriggerDataEntityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CurrencyExchangeOrder_Cancel WorkflowTriggerDataEntity + { + get + { + return this.workflowTriggerDataEntityField; + } + set + { + this.workflowTriggerDataEntityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CurrencyExchangeOrder_CancelRequest : APIWorkflowTriggerRequestOfCurrencyExchangeOrder_CancelCurrencyExchangeOrder_CancelResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCurrencyExchangeOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetCurrencyExchangeOrderArgsGetCurrencyExchangeOrderFields : Request + { + + private GetCurrencyExchangeOrderArgs argsField; + + private GetCurrencyExchangeOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetCurrencyExchangeOrderArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCurrencyExchangeOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCurrencyExchangeOrderRequest : APISearchRequestOfGetCurrencyExchangeOrderArgsGetCurrencyExchangeOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCurrencyExchangeOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfCurrencyExchangeOrderBetterActionBrick : Request + { + + private CurrencyExchangeOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CurrencyExchangeOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateCurrencyExchangeOrderRequest : APICreateRequestOfCurrencyExchangeOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetSubscriptionOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetSubscriptionOrderArgsGetSubscriptionOrderFields : Request + { + + private GetSubscriptionOrderArgs argsField; + + private GetSubscriptionOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetSubscriptionOrderArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetSubscriptionOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetSubscriptionOrderRequest : APISearchRequestOfGetSubscriptionOrderArgsGetSubscriptionOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_ProcessRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerRequestOfSubscriptionOrder_ProcessSubscriptionOrder_ProcessResponse : Request + { + + private SubscriptionOrder_Process workflowTriggerDataEntityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SubscriptionOrder_Process WorkflowTriggerDataEntity + { + get + { + return this.workflowTriggerDataEntityField; + } + set + { + this.workflowTriggerDataEntityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder_ProcessRequest : APIWorkflowTriggerRequestOfSubscriptionOrder_ProcessSubscriptionOrder_ProcessResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SubscriptionOrder_CancelRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIWorkflowTriggerRequestOfSubscriptionOrder_CancelSubscriptionOrder_CancelResponse : Request + { + + private SubscriptionOrder_Cancel workflowTriggerDataEntityField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SubscriptionOrder_Cancel WorkflowTriggerDataEntity + { + get + { + return this.workflowTriggerDataEntityField; + } + set + { + this.workflowTriggerDataEntityField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class SubscriptionOrder_CancelRequest : APIWorkflowTriggerRequestOfSubscriptionOrder_CancelSubscriptionOrder_CancelResponse + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateSubscriptionOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateSubscriptionOrderBetterActionBrickUpdateSubscriptionOrderFields : Request + { + + private UpdateSubscriptionOrder[] entitiesField; + + private UpdateSubscriptionOrderFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateSubscriptionOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateSubscriptionOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateSubscriptionOrderRequest : APIUpdateRequestOfUpdateSubscriptionOrderBetterActionBrickUpdateSubscriptionOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateSubscriptionOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfSubscriptionOrderBetterActionBrick : Request + { + + private SubscriptionOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public SubscriptionOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateSubscriptionOrderRequest : APICreateRequestOfSubscriptionOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteInternalTransferOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIServiceActionRequestOfDeleteInternalTransferOrder : Request + { + + private DeleteInternalTransferOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DeleteInternalTransferOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteInternalTransferOrderRequest : APIServiceActionRequestOfDeleteInternalTransferOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExecuteInternalTransferOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIServiceActionRequestOfExecuteInternalTransferOrder : Request + { + + private ExecuteInternalTransferOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public ExecuteInternalTransferOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ExecuteInternalTransferOrderRequest : APIServiceActionRequestOfExecuteInternalTransferOrder + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalInstrumentTransferOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfInternalInstrumentTransferOrderBetterActionBrick : Request + { + + private InternalInstrumentTransferOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InternalInstrumentTransferOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInternalInstrumentTransferOrderRequest : APICreateRequestOfInternalInstrumentTransferOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalInstrumentTransferOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInternalInstrumentTransferOrderArgsGetInternalInstrumentTransferOrderFields : Request + { + + private GetInternalInstrumentTransferOrderArgs argsField; + + private GetInternalInstrumentTransferOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInternalInstrumentTransferOrderArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInternalInstrumentTransferOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalInstrumentTransferOrderRequest : APISearchRequestOfGetInternalInstrumentTransferOrderArgsGetInternalInstrumentTransferOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInternalCashTransferOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfInternalCashTransferOrderBetterActionBrick : Request + { + + private InternalCashTransferOrder[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InternalCashTransferOrder[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInternalCashTransferOrderRequest : APICreateRequestOfInternalCashTransferOrderBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInternalCashTransferOrderRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInternalCashTransferOrderArgsGetInternalCashTransferOrderFields : Request + { + + private GetInternalCashTransferOrderArgs argsField; + + private GetInternalCashTransferOrderFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInternalCashTransferOrderArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInternalCashTransferOrderFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInternalCashTransferOrderRequest : APISearchRequestOfGetInternalCashTransferOrderArgsGetInternalCashTransferOrderFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAlgorithmRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAlgorithmArgsGetAlgorithmFields : Request + { + + private GetAlgorithmArgs argsField; + + private GetAlgorithmFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAlgorithmArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAlgorithmFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAlgorithmRequest : APISearchRequestOfGetAlgorithmArgsGetAlgorithmFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ResetPasswordRequest : Request + { + + private System.Guid personIdField; + + private string newPasswordField; + + private bool autogeneratePasswordField; + + private bool sendEmailField; + + private bool forcePasswordChangeOnFirstLogInField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Guid PersonId + { + get + { + return this.personIdField; + } + set + { + this.personIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string NewPassword + { + get + { + return this.newPasswordField; + } + set + { + this.newPasswordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool AutogeneratePassword + { + get + { + return this.autogeneratePasswordField; + } + set + { + this.autogeneratePasswordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool SendEmail + { + get + { + return this.sendEmailField; + } + set + { + this.sendEmailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool ForcePasswordChangeOnFirstLogIn + { + get + { + return this.forcePasswordChangeOnFirstLogInField; + } + set + { + this.forcePasswordChangeOnFirstLogInField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBankIdStatusRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BankIdSignRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UsernamePasswordAuthenticateRequest))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BankIdAuthenticateRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class AuthenticateRequest : Request + { + + private Domain domainField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public Domain Domain + { + get + { + return this.domainField; + } + set + { + this.domainField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBankIdStatusRequest : AuthenticateRequest + { + + private BankIdType bankIdTypeField; + + private string orderReferenceField; + + private System.Nullable authenticatePersonField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public BankIdType BankIdType + { + get + { + return this.bankIdTypeField; + } + set + { + this.bankIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string OrderReference + { + get + { + return this.orderReferenceField; + } + set + { + this.orderReferenceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable AuthenticatePerson + { + get + { + return this.authenticatePersonField; + } + set + { + this.authenticatePersonField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class BankIdSignRequest : AuthenticateRequest + { + + private string signingTextField; + + private BankIdType bankIdTypeField; + + private System.Nullable authenticatePersonField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string SigningText + { + get + { + return this.signingTextField; + } + set + { + this.signingTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public BankIdType BankIdType + { + get + { + return this.bankIdTypeField; + } + set + { + this.bankIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable AuthenticatePerson + { + get + { + return this.authenticatePersonField; + } + set + { + this.authenticatePersonField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UsernamePasswordAuthenticateRequest : AuthenticateRequest + { + + private string usernameField; + + private string passwordField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Username + { + get + { + return this.usernameField; + } + set + { + this.usernameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class BankIdAuthenticateRequest : AuthenticateRequest + { + + private BankIdType bankIdTypeField; + + private System.Nullable authenticatePersonField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public BankIdType BankIdType + { + get + { + return this.bankIdTypeField; + } + set + { + this.bankIdTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable AuthenticatePerson + { + get + { + return this.authenticatePersonField; + } + set + { + this.authenticatePersonField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteAllocationProfileRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIDeleteRequestOfAllocationTemplateBrick : Request + { + + private System.Guid[] brickIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteAllocationProfileRequest : APIDeleteRequestOfAllocationTemplateBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateAllocationProfileRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfAllocationProfileAllocationTemplateBrickUpdateAllocationProfileFields : Request + { + + private AllocationProfile[] entitiesField; + + private UpdateAllocationProfileFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AllocationProfile[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateAllocationProfileFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateAllocationProfileRequest : APIUpdateRequestOfAllocationProfileAllocationTemplateBrickUpdateAllocationProfileFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAllocationProfileRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfAllocationProfileAllocationTemplateBrick : Request + { + + private AllocationProfile[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AllocationProfile[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAllocationProfileRequest : APICreateRequestOfAllocationProfileAllocationTemplateBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAllocationProfileRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAllocationProfileArgsGetAllocationProfileFields : Request + { + + private GetAllocationProfileArgs argsField; + + private GetAllocationProfileFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAllocationProfileArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAllocationProfileFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAllocationProfileRequest : APISearchRequestOfGetAllocationProfileArgsGetAllocationProfileFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeletePoaRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIDeleteRequestOfPowerOfAttorneyBrick : Request + { + + private System.Guid[] brickIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeletePoaRequest : APIDeleteRequestOfPowerOfAttorneyBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePOARequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfPOAPowerOfAttorneyBrick : Request + { + + private POA[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public POA[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreatePOARequest : APICreateRequestOfPOAPowerOfAttorneyBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPOARequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetPOAArgsGetPOAFields : Request + { + + private GetPOAArgs argsField; + + private GetPOAFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetPOAArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPOAFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPOARequest : APISearchRequestOfGetPOAArgsGetPOAFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateManualExecutionInterfaceRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfManualExecutionInterfaceOldExecutionInterfaceBrick : Request + { + + private ManualExecutionInterfaceOld[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public ManualExecutionInterfaceOld[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateManualExecutionInterfaceRequest : APICreateRequestOfManualExecutionInterfaceOldExecutionInterfaceBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInstrumentsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateInstrumentBrickBaseUpdateInstrumentFields : Request + { + + private UpdateInstrument[] entitiesField; + + private UpdateInstrumentFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInstrument[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateInstrumentFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInstrumentsRequest : APIUpdateRequestOfUpdateInstrumentBrickBaseUpdateInstrumentFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAssetAccountTypeLimitationRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAssetAccountTypeLimitationArgsGetAssetAccountTypeLimitationFields : Request + { + + private GetAssetAccountTypeLimitationArgs argsField; + + private GetAssetAccountTypeLimitationFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAssetAccountTypeLimitationArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAssetAccountTypeLimitationFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAssetAccountTypeLimitationRequest : APISearchRequestOfGetAssetAccountTypeLimitationArgsGetAssetAccountTypeLimitationFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateAssetAccountTypeLimitationRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfAssetAccountTypeLimitationAssetAccountTypeLimitationBrick : Request + { + + private AssetAccountTypeLimitation[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public AssetAccountTypeLimitation[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateAssetAccountTypeLimitationRequest : APICreateRequestOfAssetAccountTypeLimitationAssetAccountTypeLimitationBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInstrumentRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfInstrumentGenericInstrumentBrick : Request + { + + private Instrument[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Instrument[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInstrumentRequest : APICreateRequestOfInstrumentGenericInstrumentBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsByNameRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInstrumentsByNameArgsGetInstrumentsFields : Request + { + + private GetInstrumentsByNameArgs argsField; + + private GetInstrumentsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInstrumentsByNameArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInstrumentsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsByNameRequest : APISearchRequestOfGetInstrumentsByNameArgsGetInstrumentsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetInstrumentsArgsGetInstrumentsFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInstrumentsArgsGetInstrumentsFields : Request + { + + private GetInstrumentsArgs argsField; + + private GetInstrumentsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInstrumentsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInstrumentsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInstrumentsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchWithPaginationRequestOfGetInstrumentsArgsGetInstrumentsFields : APISearchRequestOfGetInstrumentsArgsGetInstrumentsFields + { + + private System.Nullable enablePaginationField; + + private System.Nullable pageIndexField; + + private System.Nullable pageSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable EnablePagination + { + get + { + return this.enablePaginationField; + } + set + { + this.enablePaginationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PageIndex + { + get + { + return this.pageIndexField; + } + set + { + this.pageIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable PageSize + { + get + { + return this.pageSizeField; + } + set + { + this.pageSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInstrumentsRequest : APISearchWithPaginationRequestOfGetInstrumentsArgsGetInstrumentsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHistoricPositionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetHistoricPositionArgsGetHistoricPositionFields : Request + { + + private GetHistoricPositionArgs argsField; + + private GetHistoricPositionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetHistoricPositionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHistoricPositionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHistoricPositionRequest : APISearchRequestOfGetHistoricPositionArgsGetHistoricPositionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetPositionArgsGetPositionFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPositionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetPositionArgsGetPositionFields : Request + { + + private GetPositionArgs argsField; + + private GetPositionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetPositionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPositionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPositionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchWithPaginationRequestOfGetPositionArgsGetPositionFields : APISearchRequestOfGetPositionArgsGetPositionFields + { + + private System.Nullable enablePaginationField; + + private System.Nullable pageIndexField; + + private System.Nullable pageSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable EnablePagination + { + get + { + return this.enablePaginationField; + } + set + { + this.enablePaginationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PageIndex + { + get + { + return this.pageIndexField; + } + set + { + this.pageIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable PageSize + { + get + { + return this.pageSizeField; + } + set + { + this.pageSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPositionRequest : APISearchWithPaginationRequestOfGetPositionArgsGetPositionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InactivatePersonsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfInactivatePersonBetterActionBrickInactivatePersonFields : Request + { + + private InactivatePerson[] entitiesField; + + private InactivatePersonFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InactivatePerson[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public InactivatePersonFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class InactivatePersonsRequest : APIUpdateRequestOfInactivatePersonBetterActionBrickInactivatePersonFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdatePersonsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdatePersonBetterActionBrickUpdatePersonFields : Request + { + + private UpdatePerson[] entitiesField; + + private UpdatePersonFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdatePerson[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdatePersonFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdatePersonsRequest : APIUpdateRequestOfUpdatePersonBetterActionBrickUpdatePersonFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreatePersonRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfPersonBetterActionBrick : Request + { + + private Person[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Person[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreatePersonRequest : APICreateRequestOfPersonBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundEntitiesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateFundEntityBetterActionBrickUpdateFundEntityFields : Request + { + + private UpdateFundEntity[] entitiesField; + + private UpdateFundEntityFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateFundEntity[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateFundEntityFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundEntitiesRequest : APIUpdateRequestOfUpdateFundEntityBetterActionBrickUpdateFundEntityFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundEntityRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfFundEntityBetterActionBrick : Request + { + + private FundEntity[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FundEntity[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundEntityRequest : APICreateRequestOfFundEntityBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateFundCompaniesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateFundCompanyBetterActionBrickUpdateFundCompanyFields : Request + { + + private UpdateFundCompany[] entitiesField; + + private UpdateFundCompanyFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateFundCompany[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateFundCompanyFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFundCompaniesRequest : APIUpdateRequestOfUpdateFundCompanyBetterActionBrickUpdateFundCompanyFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateFundCompaniesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfFundCompanyBetterActionBrick : Request + { + + private FundCompany[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FundCompany[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFundCompaniesRequest : APICreateRequestOfFundCompanyBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundEntityRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFundEntityArgsGetFundEntityFields : Request + { + + private GetFundEntityArgs argsField; + + private GetFundEntityFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFundEntityArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundEntityFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundEntityRequest : APISearchRequestOfGetFundEntityArgsGetFundEntityFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFundCompaniesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFundCompaniesArgsGetFundCompaniesFields : Request + { + + private GetFundCompaniesArgs argsField; + + private GetFundCompaniesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFundCompaniesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFundCompaniesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFundCompaniesRequest : APISearchRequestOfGetFundCompaniesArgsGetFundCompaniesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(APISearchWithPaginationRequestOfGetPersonArgsGetPersonFields))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetPersonArgsGetPersonFields : Request + { + + private GetPersonArgs argsField; + + private GetPersonFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetPersonArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetPersonFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetPersonRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchWithPaginationRequestOfGetPersonArgsGetPersonFields : APISearchRequestOfGetPersonArgsGetPersonFields + { + + private System.Nullable enablePaginationField; + + private System.Nullable pageIndexField; + + private System.Nullable pageSizeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public System.Nullable EnablePagination + { + get + { + return this.enablePaginationField; + } + set + { + this.enablePaginationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public System.Nullable PageIndex + { + get + { + return this.pageIndexField; + } + set + { + this.pageIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public System.Nullable PageSize + { + get + { + return this.pageSizeField; + } + set + { + this.pageSizeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetPersonRequest : APISearchWithPaginationRequestOfGetPersonArgsGetPersonFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaxWithholdingAgreementsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateTaxWithholdingAgreementTaxWithholdingAgreementBrickUpdateTaxWithholdingAgreementFields : Request + { + + private UpdateTaxWithholdingAgreement[] entitiesField; + + private UpdateTaxWithholdingAgreementFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTaxWithholdingAgreement[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateTaxWithholdingAgreementFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaxWithholdingAgreementsRequest : APIUpdateRequestOfUpdateTaxWithholdingAgreementTaxWithholdingAgreementBrickUpdateTaxWithholdingAgreementFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTaxWithholdingAgreementsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfTaxWithholdingAgreementBetterActionBrick : Request + { + + private TaxWithholdingAgreement[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public TaxWithholdingAgreement[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTaxWithholdingAgreementsRequest : APICreateRequestOfTaxWithholdingAgreementBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTaxWithholdingAgreementRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTaxWithholdingAgreementArgsGetTaxWithholdingAgreementFields : Request + { + + private GetTaxWithholdingAgreementArgs argsField; + + private GetTaxWithholdingAgreementFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTaxWithholdingAgreementArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTaxWithholdingAgreementFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTaxWithholdingAgreementRequest : APISearchRequestOfGetTaxWithholdingAgreementArgsGetTaxWithholdingAgreementFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHouseInformationRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetHouseInformationArgsGetHouseInformationFields : Request + { + + private GetHouseInformationArgs argsField; + + private GetHouseInformationFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetHouseInformationArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHouseInformationFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHouseInformationRequest : APISearchRequestOfGetHouseInformationArgsGetHouseInformationFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetBackgroundJobsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetBackgroundJobsArgsGetBackgroundJobsFields : Request + { + + private GetBackgroundJobsArgs argsField; + + private GetBackgroundJobsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetBackgroundJobsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetBackgroundJobsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetBackgroundJobsRequest : APISearchRequestOfGetBackgroundJobsArgsGetBackgroundJobsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetRelatedFifoLotsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetRelatedFifoLotsArgsGetRelatedFifoLotsFields : Request + { + + private GetRelatedFifoLotsArgs argsField; + + private GetRelatedFifoLotsFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetRelatedFifoLotsArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetRelatedFifoLotsFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetRelatedFifoLotsRequest : APISearchRequestOfGetRelatedFifoLotsArgsGetRelatedFifoLotsFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvtaleGiroOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAvtaleGiroOrdersArgsGetAvtaleGiroOrdersFields : Request + { + + private GetAvtaleGiroOrdersArgs argsField; + + private GetAvtaleGiroOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAvtaleGiroOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAvtaleGiroOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvtaleGiroOrdersRequest : APISearchRequestOfGetAvtaleGiroOrdersArgsGetAvtaleGiroOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransferOrdersRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTransferOrdersArgsGetTransferOrdersFields : Request + { + + private GetTransferOrdersArgs argsField; + + private GetTransferOrdersFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTransferOrdersArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTransferOrdersFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransferOrdersRequest : APISearchRequestOfGetTransferOrdersArgsGetTransferOrdersFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTransferOrderStatesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateTransferOrderStateBetterActionBrickUpdateTransferOrderStatesFields : Request + { + + private UpdateTransferOrderState[] entitiesField; + + private UpdateTransferOrderStatesFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTransferOrderState[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateTransferOrderStatesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTransferOrderStatesRequest : APIUpdateRequestOfUpdateTransferOrderStateBetterActionBrickUpdateTransferOrderStatesFields + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateCustomFieldRequest : Request + { + + private CreateCustomFieldDto[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateCustomFieldDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateCustomFieldRequest : Request + { + + private UpdateCustomFieldDto[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateCustomFieldDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteCustomFieldRequest : Request + { + + private DeleteCustomFieldDto[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DeleteCustomFieldDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteFeeRecordRequest : Request + { + + private DeleteFeeRecordArgs deleteFeeRecordArgsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public DeleteFeeRecordArgs DeleteFeeRecordArgs + { + get + { + return this.deleteFeeRecordArgsField; + } + set + { + this.deleteFeeRecordArgsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateFeeRecordRequest : Request + { + + private FeeRecordDto[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FeeRecordDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateFeeRecordRequest : Request + { + + private FeeRecordDto[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public FeeRecordDto[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFeeRecordRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFeeRecordArgsGetFeeRecordFields : Request + { + + private GetFeeRecordArgs argsField; + + private GetFeeRecordFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFeeRecordArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFeeRecordFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFeeRecordRequest : APISearchRequestOfGetFeeRecordArgsGetFeeRecordFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetCountryRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetCountryArgsGetCountryFields : Request + { + + private GetCountryArgs argsField; + + private GetCountryFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetCountryArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetCountryFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetCountryRequest : APISearchRequestOfGetCountryArgsGetCountryFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTransactionNoteRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTransactionNoteArgsGetTransactionNoteFields : Request + { + + private GetTransactionNoteArgs argsField; + + private GetTransactionNoteFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTransactionNoteArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTransactionNoteFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTransactionNoteRequest : APISearchRequestOfGetTransactionNoteArgsGetTransactionNoteFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteReservationRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIDeleteRequestOfReservationBrick : Request + { + + private System.Guid[] brickIdsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public System.Guid[] BrickIds + { + get + { + return this.brickIdsField; + } + set + { + this.brickIdsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteReservationRequest : APIDeleteRequestOfReservationBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateReservationRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfReservationReservationBrick : Request + { + + private Reservation[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public Reservation[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateReservationRequest : APICreateRequestOfReservationReservationBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetReservationRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetReservationArgsGetReservationFields : Request + { + + private GetReservationArgs argsField; + + private GetReservationFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetReservationArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetReservationFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetReservationRequest : APISearchRequestOfGetReservationArgsGetReservationFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateTaskRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateTaskActivityLogItemBrickUpdateTaskFields : Request + { + + private UpdateTask[] entitiesField; + + private UpdateTaskFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateTask[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateTaskFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateTaskRequest : APIUpdateRequestOfUpdateTaskActivityLogItemBrickUpdateTaskFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateTasksRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfCreateTaskActivityLogItemBrick : Request + { + + private CreateTask[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateTask[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateTasksRequest : APICreateRequestOfCreateTaskActivityLogItemBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTasksRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTasksArgsGetTasksFields : Request + { + + private GetTasksArgs argsField; + + private GetTasksFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTasksArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTasksFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTasksRequest : APISearchRequestOfGetTasksArgsGetTasksFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateNoteRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateNoteActivityLogItemBrickUpdateNoteFields : Request + { + + private UpdateNote[] entitiesField; + + private UpdateNoteFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateNote[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateNoteFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateNoteRequest : APIUpdateRequestOfUpdateNoteActivityLogItemBrickUpdateNoteFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateNotesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfCreateNoteActivityLogItemBrick : Request + { + + private CreateNote[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateNote[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateNotesRequest : APICreateRequestOfCreateNoteActivityLogItemBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetNotesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetNotesArgsGetNotesFields : Request + { + + private GetNotesArgs argsField; + + private GetNotesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetNotesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetNotesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetNotesRequest : APISearchRequestOfGetNotesArgsGetNotesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateMessageRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateMessageActivityLogItemBrickUpdateMessageFields : Request + { + + private UpdateMessage[] entitiesField; + + private UpdateMessageFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateMessage[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateMessageFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateMessageRequest : APIUpdateRequestOfUpdateMessageActivityLogItemBrickUpdateMessageFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateMessagesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfCreateMessageActivityLogItemBrick : Request + { + + private CreateMessage[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateMessage[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateMessagesRequest : APICreateRequestOfCreateMessageActivityLogItemBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetMessagesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetMessagesArgsGetMessagesFields : Request + { + + private GetMessagesArgs argsField; + + private GetMessagesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetMessagesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetMessagesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetMessagesRequest : APISearchRequestOfGetMessagesArgsGetMessagesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetFailedWebhookRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetFailedWebhookArgsGetFailedWebhookFields : Request + { + + private GetFailedWebhookArgs argsField; + + private GetFailedWebhookFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetFailedWebhookArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetFailedWebhookFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetFailedWebhookRequest : APISearchRequestOfGetFailedWebhookArgsGetFailedWebhookFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteWebhookSubscriptionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfDeleteWebhookSubscriptionBetterActionBrick : Request + { + + private DeleteWebhookSubscription[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public DeleteWebhookSubscription[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class DeleteWebhookSubscriptionRequest : APICreateRequestOfDeleteWebhookSubscriptionBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateWebhookSubscriptionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfCreateWebhookSubscriptionBetterActionBrick : Request + { + + private CreateWebhookSubscription[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public CreateWebhookSubscription[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateWebhookSubscriptionRequest : APICreateRequestOfCreateWebhookSubscriptionBetterActionBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetAvailableWebhookEventRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetAvailableWebhookEventArgsGetAvailableWebhookEventFields : Request + { + + private GetAvailableWebhookEventArgs argsField; + + private GetAvailableWebhookEventFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetAvailableWebhookEventArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetAvailableWebhookEventFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetAvailableWebhookEventRequest : APISearchRequestOfGetAvailableWebhookEventArgsGetAvailableWebhookEventFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetWebhookSubscriptionRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetWebhookSubscriptionArgsGetWebhookSubscriptionFields : Request + { + + private GetWebhookSubscriptionArgs argsField; + + private GetWebhookSubscriptionFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetWebhookSubscriptionArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetWebhookSubscriptionFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetWebhookSubscriptionRequest : APISearchRequestOfGetWebhookSubscriptionArgsGetWebhookSubscriptionFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetHoldingsOverTimeRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetHoldingsOverTimeArgsGetHoldingsOverTimeResponseFields : Request + { + + private GetHoldingsOverTimeArgs argsField; + + private GetHoldingsOverTimeResponseFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetHoldingsOverTimeArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetHoldingsOverTimeResponseFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetHoldingsOverTimeRequest : APISearchRequestOfGetHoldingsOverTimeArgsGetHoldingsOverTimeResponseFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetTRSCountriesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetTRSCountriesArgsGetTRSCountriesFields : Request + { + + private GetTRSCountriesArgs argsField; + + private GetTRSCountriesFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetTRSCountriesArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetTRSCountriesFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetTRSCountriesRequest : APISearchRequestOfGetTRSCountriesArgsGetTRSCountriesFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsurancePoliciesRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateInsurancePolicyBetterActionBrickUpdateInsurancePolicyFields : Request + { + + private UpdateInsurancePolicy[] entitiesField; + + private UpdateInsurancePolicyFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInsurancePolicy[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateInsurancePolicyFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsurancePoliciesRequest : APIUpdateRequestOfUpdateInsurancePolicyBetterActionBrickUpdateInsurancePolicyFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsurancePolicyRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfInsurancePolicyInsurancePolicyBrick : Request + { + + private InsurancePolicy[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InsurancePolicy[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInsurancePolicyRequest : APICreateRequestOfInsurancePolicyInsurancePolicyBrick + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GetInsurancePolicyRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APISearchRequestOfGetInsurancePolicyArgsGetInsurancePolicyFields : Request + { + + private GetInsurancePolicyArgs argsField; + + private GetInsurancePolicyFields fieldsField; + + private string predefinedSearchNameField; + + private string[] typesField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public GetInsurancePolicyArgs Args + { + get + { + return this.argsField; + } + set + { + this.argsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public GetInsurancePolicyFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string PredefinedSearchName + { + get + { + return this.predefinedSearchNameField; + } + set + { + this.predefinedSearchNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + public string[] Types + { + get + { + return this.typesField; + } + set + { + this.typesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class GetInsurancePolicyRequest : APISearchRequestOfGetInsurancePolicyArgsGetInsurancePolicyFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateInsuranceProductsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APIUpdateRequestOfUpdateInsuranceProductBetterActionBrickUpdateInsuranceProductFields : Request + { + + private UpdateInsuranceProduct[] entitiesField; + + private UpdateInsuranceProductFields fieldsField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public UpdateInsuranceProduct[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public UpdateInsuranceProductFields Fields + { + get + { + return this.fieldsField; + } + set + { + this.fieldsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class UpdateInsuranceProductsRequest : APIUpdateRequestOfUpdateInsuranceProductBetterActionBrickUpdateInsuranceProductFields + { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateInsuranceProductsRequest))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public abstract partial class APICreateRequestOfInsuranceProductInsuranceProductBrick : Request + { + + private InsuranceProduct[] entitiesField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + public InsuranceProduct[] Entities + { + get + { + return this.entitiesField; + } + set + { + this.entitiesField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class CreateInsuranceProductsRequest : APICreateRequestOfInsuranceProductInsuranceProductBrick + { + } +} diff --git a/Bricknode.Rest.CompatSdk/Lookups/BfsAccountStatus.cs b/Bricknode.Rest.CompatSdk/Lookups/BfsAccountStatus.cs new file mode 100644 index 0000000..ae560f0 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Lookups/BfsAccountStatus.cs @@ -0,0 +1,13 @@ +namespace Bricknode.Soap.Sdk.Lookups +{ + public class BfsAccountStatus + { + public const int Open = 1; + public const int Closed = 2; + /// + /// This means that the account is hidden from users of the standard customer portal. + /// + public const int Hidden = 4; + } + +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Lookups/BfsAccountType.cs b/Bricknode.Rest.CompatSdk/Lookups/BfsAccountType.cs new file mode 100644 index 0000000..9f33661 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Lookups/BfsAccountType.cs @@ -0,0 +1,55 @@ +namespace Bricknode.Soap.Sdk.Lookups +{ + public class BfsAccounType + { + /// + /// This type is used for legal entities that are companies and that should act as counterparties to trades. + /// + public const string CounterpartyAccount = "CounterpartyAccount"; + + /// + /// This is the most standard of accounts and is a simple holding account that can hold any asset type in BFS + /// + public const string HoldingAccount = "HoldingAccount"; + + /// + /// This account type is usually used for accounting transactions done on behalf of the house. + /// + public const string HouseAccountingAccount = "HouseAccountingAccount"; + + /// + /// This is an account type that should only be owned by the house and mirrors an account keept outside of BFS and + /// works as a custody account. + /// + public const string HouseCustodyAccount = "HouseCustodyAccount"; + + /// + /// This account type should only be created for the house and works as a standard holding account in BFS but that is + /// owned by the house. + /// + public const string HouseSystemAccount = "HouseSystemAccount"; + + /// + /// This account type should be used for reflecting an account that has an insurance cover. + /// + public const string InsuranceAccount = "InsuranceAccount"; + + /// + /// This account type is used for the Swedish account type called Investerings Spar Konto. + /// + public const string ISKAccount = "ISKAccount"; + + /// + /// This account type is used for a legal entity that is a company and that is enabled to be an Issuer of financial + /// products. + /// + public const string IssuerAccount = "IssuerAccount"; + + /// + /// This account type is used when a customer has an account that is only used for execution only and once a trade is + /// executed the asset is transferred out of BFS to the financial institution that is used for settlement for the + /// customer. + /// + public const string ExecutionAccount = "Kas_Account"; + } +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Lookups/BfsInstrumentType.cs b/Bricknode.Rest.CompatSdk/Lookups/BfsInstrumentType.cs new file mode 100644 index 0000000..9719686 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Lookups/BfsInstrumentType.cs @@ -0,0 +1,18 @@ +namespace Bricknode.Soap.Sdk.Lookups +{ + public class BfsInstrumentType + { + public const int Equity = 1; + public const int MutualFund = 2; + public const int ETF = 3; + public const int Future = 4; + public const int Option = 5; + public const int Warrant = 6; + public const int Certificate = 7; + public const int Commodity = 8; + public const int Index = 9; + public const int Bond = 10; + public const int StructuredProduct = 12; + } + +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Lookups/BfsTransferReceiverTypeKey.cs b/Bricknode.Rest.CompatSdk/Lookups/BfsTransferReceiverTypeKey.cs new file mode 100644 index 0000000..0b31a51 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Lookups/BfsTransferReceiverTypeKey.cs @@ -0,0 +1,43 @@ +namespace Bricknode.Soap.Sdk.Lookups +{ + /// + /// This is the types of transfer receivers that are supported in BFS. + /// + public class BfsTransferReceiverTypeKey + { + /// + /// This transfer receiver type is used for AutoGiro payments in Sweden. + /// + public const string AutoGiro = "TransferReceiverTypeAutoGiro"; + /// + /// This transfer receiver type is used for BankGiro payments in Sweden. + /// + public const string BankGiro = "TransferReceiverTypeBankGiro"; + /// + /// This transfer receiver type is used for making direct bank payment within the country of where you are located. + /// + public const string DirectBankDomestic = "TransferReceiverTypeDirectBankDomestic"; + /// + /// This transfer receiver type is used for making direct bank payment outside the country of where you are located. + /// + public const string DirectBankForeign = "TransferReceiverTypeDirectBankForeign"; + /// + /// This transfer receiver type is used for PlusGiro payments in Sweden. + /// + public const string PlusGiro = "TransferReceiverTypePlusGiro"; + /// + /// This transfer receiver type is used for transferring financial securities. + /// + public const string Securities = "TransferReceiverTypeSecurities"; + /// + /// This transfer receiver type is used to represent an account with EuroClear or other clearing agency. + /// + public const string SecuritiesAccount = "TransferReceiverTypeSecuritiesAccount"; + /// + /// This transfer receiver type is used to represent an account with a settlement counterparty. For example, if a legal entity + /// has an account with a brokerage firm that can receive securities and the securities are to be sent to a clearing agency like EuroClear + /// the brokerage firm will have an account with EuroClear and that account is the SettlementCounterparty. + /// + public const string SettlementCounterparty = "TransferReceiverTypeSettlementCounterParty"; + } +} \ No newline at end of file diff --git a/Bricknode.Rest.CompatSdk/Mapping/BfsJsonMapper.cs b/Bricknode.Rest.CompatSdk/Mapping/BfsJsonMapper.cs new file mode 100644 index 0000000..8d16dfc --- /dev/null +++ b/Bricknode.Rest.CompatSdk/Mapping/BfsJsonMapper.cs @@ -0,0 +1,64 @@ +namespace Bricknode.Soap.Sdk.Mapping; + +using System; +using System.Globalization; +using System.Text.Json; +using System.Text.Json.Serialization; + +/// +/// Bridges the SOAP-shaped BfsApi.* DTOs and the NSwag-generated REST records. +/// Both sides share property names (the REST records carry [JsonPropertyName] values that +/// equal the SOAP property names), so a System.Text.Json round-trip maps them automatically. +/// Differences that JSON already absorbs: array <-> ICollection, class <-> record, +/// DateTime <-> DateTimeOffset, and casing (via case-insensitive matching). +/// +internal static class BfsJsonMapper +{ + private static readonly JsonSerializerOptions Options = new() + { + PropertyNameCaseInsensitive = true, + DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, + NumberHandling = JsonNumberHandling.AllowReadingFromString, + Converters = { new UtcDateTimeConverter() }, + }; + + /// + /// The SOAP side uses while the REST records use + /// . Without normalization a round-trip rebinds the value to the + /// machine's local offset (same instant, different /text). This + /// converter keeps values in UTC on both read and write so mappings are + /// lossless and deterministic across machines/time zones. + /// + private sealed class UtcDateTimeConverter : JsonConverter + { + public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TryGetDateTimeOffset(out var dto)) + return dto.UtcDateTime; + + var dateTime = reader.GetDateTime(); + return dateTime.Kind == DateTimeKind.Unspecified + ? DateTime.SpecifyKind(dateTime, DateTimeKind.Utc) + : dateTime.ToUniversalTime(); + } + + public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) + { + var utc = value.Kind == DateTimeKind.Unspecified + ? DateTime.SpecifyKind(value, DateTimeKind.Utc) + : value.ToUniversalTime(); + + writer.WriteStringValue(utc.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFFFK", CultureInfo.InvariantCulture)); + } + } + + /// Maps to via a JSON round-trip. + public static TTarget? Map(object? source) + { + if (source is null) + return default; + + var json = JsonSerializer.Serialize(source, source.GetType(), Options); + return JsonSerializer.Deserialize(json, Options); + } +} diff --git a/Bricknode.Rest.CompatSdk/RestClient.generated.cs b/Bricknode.Rest.CompatSdk/RestClient.generated.cs new file mode 100644 index 0000000..25350e4 --- /dev/null +++ b/Bricknode.Rest.CompatSdk/RestClient.generated.cs @@ -0,0 +1,64975 @@ +//---------------------- +// +// Generated using the NSwag toolchain v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) +// +//---------------------- + +#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended." +#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." +#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?' +#pragma warning disable 612 // Disable "CS0612 '...' is obsolete" +#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null" +#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ... +#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..." +#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'" +#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant" +#pragma warning disable 8600 // Disable "CS8600 Converting null literal or possible null value to non-nullable type" +#pragma warning disable 8602 // Disable "CS8602 Dereference of a possibly null reference" +#pragma warning disable 8603 // Disable "CS8603 Possible null reference return" +#pragma warning disable 8604 // Disable "CS8604 Possible null reference argument for parameter" +#pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type" +#pragma warning disable 8765 // Disable "CS8765 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes)." + +namespace Bricknode.Rest.CompatSdk +{ + using System = global::System; + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AccountsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AccountsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAccountsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAccountsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/accounts/search" + urlBuilder_.Append("api/accounts/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateAccountsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateAccountsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/accounts" + urlBuilder_.Append("api/accounts"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateAccountRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateAccountRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/accounts" + urlBuilder_.Append("api/accounts"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AccountTypesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AccountTypesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAccountTypeRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAccountTypeRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/accounttypes/search" + urlBuilder_.Append("api/accounttypes/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ActionsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public ActionsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SettleFundInstructionAsync(FundInstructions_SettleRequest request) + { + return SettleFundInstructionAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SettleFundInstructionAsync(FundInstructions_SettleRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/actions/fundinstructions/settle" + urlBuilder_.Append("api/actions/fundinstructions/settle"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AlgorithmsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AlgorithmsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAlgorithmRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAlgorithmRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/algorithms/search" + urlBuilder_.Append("api/algorithms/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AllocationOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AllocationOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateSwitchAsync(CreateSwitchOrdersRequest request) + { + return CreateSwitchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateSwitchAsync(CreateSwitchOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/allocation-orders/switch" + urlBuilder_.Append("api/allocation-orders/switch"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAllocationOrderRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAllocationOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/allocation-orders/search" + urlBuilder_.Append("api/allocation-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AllocationsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AllocationsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAllocationProfileRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAllocationProfileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/allocations/search" + urlBuilder_.Append("api/allocations/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateAllocationProfileRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateAllocationProfileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/allocations" + urlBuilder_.Append("api/allocations"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateAllocationProfileRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateAllocationProfileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/allocations" + urlBuilder_.Append("api/allocations"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeleteAllocationProfileRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeleteAllocationProfileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/allocations" + urlBuilder_.Append("api/allocations"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AssetAccountTypeLimitationsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AssetAccountTypeLimitationsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAssetAccountTypeLimitationRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAssetAccountTypeLimitationRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/asset-account-type-limitations/search" + urlBuilder_.Append("api/asset-account-type-limitations/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateAssetAccountTypeLimitationRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateAssetAccountTypeLimitationRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/asset-account-type-limitations" + urlBuilder_.Append("api/asset-account-type-limitations"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AuthenticationsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AuthenticationsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task BankIdAuthenticationAsync(BankIdAuthenticateRequest request) + { + return BankIdAuthenticationAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task BankIdAuthenticationAsync(BankIdAuthenticateRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/authentications/bankid" + urlBuilder_.Append("api/authentications/bankid"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UsernamePasswordAuthenticationAsync(UsernamePasswordAuthenticateRequest request) + { + return UsernamePasswordAuthenticationAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UsernamePasswordAuthenticationAsync(UsernamePasswordAuthenticateRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/authentications/username-password" + urlBuilder_.Append("api/authentications/username-password"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task ResetPasswordAsync(ResetPasswordRequest request) + { + return ResetPasswordAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task ResetPasswordAsync(ResetPasswordRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/authentications/reset-password" + urlBuilder_.Append("api/authentications/reset-password"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task BankIdSignAsync(BankIdSignRequest request) + { + return BankIdSignAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task BankIdSignAsync(BankIdSignRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/authentications/bankid/sign" + urlBuilder_.Append("api/authentications/bankid/sign"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetBankIdStatusAsync(GetBankIdStatusRequest request) + { + return GetBankIdStatusAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetBankIdStatusAsync(GetBankIdStatusRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/authentications/bankid/status" + urlBuilder_.Append("api/authentications/bankid/status"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AutoGiroDepositOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AutoGiroDepositOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateAutoGiroDepositOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateAutoGiroDepositOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/autogiro-deposit-orders/create" + urlBuilder_.Append("api/autogiro-deposit-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AutogiroOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AutogiroOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAutoGiroOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAutoGiroOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/autogiro-orders/search" + urlBuilder_.Append("api/autogiro-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CancelAsync(CancelAutoGiroOrderRequest request) + { + return CancelAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CancelAsync(CancelAutoGiroOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/autogiro-orders/cancel" + urlBuilder_.Append("api/autogiro-orders/cancel"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AutoGiroWithdrawalOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AutoGiroWithdrawalOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateAutoGiroWithdrawalOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateAutoGiroWithdrawalOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/autogiro-withdrawal-orders/create" + urlBuilder_.Append("api/autogiro-withdrawal-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class AvtalegiroOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public AvtalegiroOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetAvtaleGiroOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetAvtaleGiroOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/avtalegiro-orders/search" + urlBuilder_.Append("api/avtalegiro-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BackgroundJobClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public BackgroundJobClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetBackgroundJobsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetBackgroundJobsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/backgroundjobs/search" + urlBuilder_.Append("api/backgroundjobs/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BusinessEventsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public BusinessEventsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetBusinessEventRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetBusinessEventRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/businessevents/search" + urlBuilder_.Append("api/businessevents/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BusinessTransactionsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public BusinessTransactionsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetBusinessTransactionsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetBusinessTransactionsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/businesstransactions/search" + urlBuilder_.Append("api/businesstransactions/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateBusinessTransactionsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateBusinessTransactionsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/businesstransactions" + urlBuilder_.Append("api/businesstransactions"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateBusinessTransactionRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateBusinessTransactionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/businesstransactions" + urlBuilder_.Append("api/businesstransactions"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CorrectAsync(CorrectBusinessTransactionRequest request) + { + return CorrectAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CorrectAsync(CorrectBusinessTransactionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/businesstransactions/correct" + urlBuilder_.Append("api/businesstransactions/correct"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class BusinessTransactionTypesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public BusinessTransactionTypesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetBusinessTransactionTypeRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetBusinessTransactionTypeRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/businesstransactiontypes/search" + urlBuilder_.Append("api/businesstransactiontypes/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CashClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public CashClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetCashRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetCashRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/cash/search" + urlBuilder_.Append("api/cash/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CountriesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public CountriesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetCountryRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetCountryRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/countries/search" + urlBuilder_.Append("api/countries/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CurrenciesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public CurrenciesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetCurrencyRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetCurrencyRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/currencies/search" + urlBuilder_.Append("api/currencies/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchValuesAsync(GetCurrencyValueRequest request) + { + return SearchValuesAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchValuesAsync(GetCurrencyValueRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/currencies/values/search" + urlBuilder_.Append("api/currencies/values/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SetValuesAsync(SetCurrencyValuesRequest request) + { + return SetValuesAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SetValuesAsync(SetCurrencyValuesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/currencies/values" + urlBuilder_.Append("api/currencies/values"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CurrencyExchangeOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public CurrencyExchangeOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetCurrencyExchangeOrderRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetCurrencyExchangeOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/currency-exchange-orders/search" + urlBuilder_.Append("api/currency-exchange-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateCurrencyExchangeOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateCurrencyExchangeOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/currency-exchange-orders/create" + urlBuilder_.Append("api/currency-exchange-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CancelAsync(CurrencyExchangeOrder_CancelRequest request) + { + return CancelAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CancelAsync(CurrencyExchangeOrder_CancelRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/currency-exchange-orders/cancel" + urlBuilder_.Append("api/currency-exchange-orders/cancel"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class CustomFieldsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public CustomFieldsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateCustomFieldRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateCustomFieldRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/custom-fields/create" + urlBuilder_.Append("api/custom-fields/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateCustomFieldRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateCustomFieldRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/custom-fields/update" + urlBuilder_.Append("api/custom-fields/update"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeleteCustomFieldRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeleteCustomFieldRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/custom-fields/delete" + urlBuilder_.Append("api/custom-fields/delete"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DealsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public DealsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetDealsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetDealsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/deals/search" + urlBuilder_.Append("api/deals/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DecisionMakersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public DecisionMakersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetDecisionMakerRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetDecisionMakerRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/decisionmakers/search" + urlBuilder_.Append("api/decisionmakers/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DepositCashOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public DepositCashOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateDepositCashOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateDepositCashOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/deposit-cash-orders/create" + urlBuilder_.Append("api/deposit-cash-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DepositTransferOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public DepositTransferOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchBatchAsync(GetDepositBatchTransferOrdersRequest request) + { + return SearchBatchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchBatchAsync(GetDepositBatchTransferOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/deposit-transfer-orders/batch-search" + urlBuilder_.Append("api/deposit-transfer-orders/batch-search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetDepositTransferOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetDepositTransferOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/deposit-transfer-orders/search" + urlBuilder_.Append("api/deposit-transfer-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class DirectBankWithdrawalClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public DirectBankWithdrawalClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateDirectBankWithdrawalOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateDirectBankWithdrawalOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/direct-bank-withdrawal/create" + urlBuilder_.Append("api/direct-bank-withdrawal/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FeeRecordsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FeeRecordsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetFeeRecordRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetFeeRecordRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fee-records/search" + urlBuilder_.Append("api/fee-records/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateFeeRecordRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateFeeRecordRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fee-records/create" + urlBuilder_.Append("api/fee-records/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateFeeRecordRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateFeeRecordRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fee-records/update" + urlBuilder_.Append("api/fee-records/update"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeleteFeeRecordRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeleteFeeRecordRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fee-records/delete" + urlBuilder_.Append("api/fee-records/delete"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FeesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FeesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetFeeGroupRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetFeeGroupRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fees/search" + urlBuilder_.Append("api/fees/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FileHandlingClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FileHandlingClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetFileAsync(GetFileRequest request) + { + return GetFileAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetFileAsync(GetFileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/file-handling/get" + urlBuilder_.Append("api/file-handling/get"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateFileAsync(CreateFileRequest request) + { + return CreateFileAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateFileAsync(CreateFileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/file-handling" + urlBuilder_.Append("api/file-handling"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteFileAsync(DeleteFileRequest request) + { + return DeleteFileAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteFileAsync(DeleteFileRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/file-handling" + urlBuilder_.Append("api/file-handling"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetFileListAsync(GetFileListRequest request) + { + return GetFileListAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetFileListAsync(GetFileListRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/file-handling/list" + urlBuilder_.Append("api/file-handling/list"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteFilesAsync(DeleteFilesRequest request) + { + return DeleteFilesAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteFilesAsync(DeleteFilesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/file-handling/multiple" + urlBuilder_.Append("api/file-handling/multiple"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FundBatchOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FundBatchOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetFundBatchOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetFundBatchOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-batch-orders/search" + urlBuilder_.Append("api/fund-batch-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchExternalAsync(GetExternalFundBatchOrdersRequest request) + { + return SearchExternalAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchExternalAsync(GetExternalFundBatchOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-batch-orders/external-search" + urlBuilder_.Append("api/fund-batch-orders/external-search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SettleExternalAsync(ExternalFundBatchOrderSettleRequest request) + { + return SettleExternalAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SettleExternalAsync(ExternalFundBatchOrderSettleRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-batch-orders/external-settle" + urlBuilder_.Append("api/fund-batch-orders/external-settle"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateFundBatchOrdersRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateFundBatchOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-batch-orders/create" + urlBuilder_.Append("api/fund-batch-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FundCompaniesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FundCompaniesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetFundCompaniesRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetFundCompaniesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-companies/search" + urlBuilder_.Append("api/fund-companies/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateFundCompaniesRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateFundCompaniesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-companies" + urlBuilder_.Append("api/fund-companies"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateFundCompaniesRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateFundCompaniesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-companies" + urlBuilder_.Append("api/fund-companies"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FundEntitiesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FundEntitiesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetFundEntityRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetFundEntityRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-entities/search" + urlBuilder_.Append("api/fund-entities/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateFundEntitiesRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateFundEntitiesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-entities" + urlBuilder_.Append("api/fund-entities"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateFundEntityRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateFundEntityRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-entities" + urlBuilder_.Append("api/fund-entities"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class FundInstructionsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public FundInstructionsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetFundInstructionRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetFundInstructionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-instructions/search" + urlBuilder_.Append("api/fund-instructions/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetStatusLogsAsync(GetFundInstructionStatusLogRequest request) + { + return GetStatusLogsAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetStatusLogsAsync(GetFundInstructionStatusLogRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-instructions/status-logs" + urlBuilder_.Append("api/fund-instructions/status-logs"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetExecutionsAsync(GetFundInstructionExecutionRequest request) + { + return GetExecutionsAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetExecutionsAsync(GetFundInstructionExecutionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/fund-instructions/executions" + urlBuilder_.Append("api/fund-instructions/executions"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HistoricPricesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public HistoricPricesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SetAsync(SetHistoricPricesRequest request) + { + return SetAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SetAsync(SetHistoricPricesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/historic-prices" + urlBuilder_.Append("api/historic-prices"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HoldingsOverTimeClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public HoldingsOverTimeClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetHoldingsOverTimeRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetHoldingsOverTimeRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/holdings-over-time/search" + urlBuilder_.Append("api/holdings-over-time/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class HouseClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public HouseClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetHouseInformationRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetHouseInformationRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/house/search" + urlBuilder_.Append("api/house/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InstrumentsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InstrumentsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInstrumentsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInstrumentsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/instruments/search" + urlBuilder_.Append("api/instruments/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchByNameAsync(GetInstrumentsByNameRequest request) + { + return SearchByNameAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchByNameAsync(GetInstrumentsByNameRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/instruments/search-by-name" + urlBuilder_.Append("api/instruments/search-by-name"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateInstrumentsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateInstrumentsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/instruments" + urlBuilder_.Append("api/instruments"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateInstrumentRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateInstrumentRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/instruments" + urlBuilder_.Append("api/instruments"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateManualExecutionInterfaceAsync(CreateManualExecutionInterfaceRequest request) + { + return CreateManualExecutionInterfaceAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateManualExecutionInterfaceAsync(CreateManualExecutionInterfaceRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/instruments/manual-execution-interface" + urlBuilder_.Append("api/instruments/manual-execution-interface"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InsuranceClaimsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InsuranceClaimsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInsuranceClaimsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInsuranceClaimsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-claims/search" + urlBuilder_.Append("api/insurance-claims/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateInsuranceClaimsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateInsuranceClaimsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-claims" + urlBuilder_.Append("api/insurance-claims"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateInsuranceClaimsRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateInsuranceClaimsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-claims" + urlBuilder_.Append("api/insurance-claims"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InsuranceCoversClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InsuranceCoversClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInsuranceCoversRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInsuranceCoversRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-covers/search" + urlBuilder_.Append("api/insurance-covers/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InsurancePolicyClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InsurancePolicyClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInsurancePolicyRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInsurancePolicyRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-policy/search" + urlBuilder_.Append("api/insurance-policy/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateInsurancePolicyRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateInsurancePolicyRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-policy/create" + urlBuilder_.Append("api/insurance-policy/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateInsurancePoliciesRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateInsurancePoliciesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-policy" + urlBuilder_.Append("api/insurance-policy"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InsuranceProductsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InsuranceProductsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInsuranceProductsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInsuranceProductsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-products/search" + urlBuilder_.Append("api/insurance-products/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateInsuranceProductsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateInsuranceProductsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-products" + urlBuilder_.Append("api/insurance-products"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateInsuranceProductsRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateInsuranceProductsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/insurance-products" + urlBuilder_.Append("api/insurance-products"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternalCashTransferOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InternalCashTransferOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInternalCashTransferOrderRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInternalCashTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/internal-cash-transfer-orders/search" + urlBuilder_.Append("api/internal-cash-transfer-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateInternalCashTransferOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateInternalCashTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/internal-cash-transfer-orders/create" + urlBuilder_.Append("api/internal-cash-transfer-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternalInstrumentTransferOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InternalInstrumentTransferOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetInternalInstrumentTransferOrderRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetInternalInstrumentTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/internal-instrument-transfer-orders/search" + urlBuilder_.Append("api/internal-instrument-transfer-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateInternalInstrumentTransferOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateInternalInstrumentTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/internal-instrument-transfer-orders/create" + urlBuilder_.Append("api/internal-instrument-transfer-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class InternalTransferOrdersCommonClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public InternalTransferOrdersCommonClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task ExecuteAsync(ExecuteInternalTransferOrderRequest request) + { + return ExecuteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task ExecuteAsync(ExecuteInternalTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/internal-transfer-orders-common/execute" + urlBuilder_.Append("api/internal-transfer-orders-common/execute"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeleteInternalTransferOrderRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeleteInternalTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/internal-transfer-orders-common/delete" + urlBuilder_.Append("api/internal-transfer-orders-common/delete"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class MessageClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public MessageClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetMessagesRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetMessagesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/messages/search" + urlBuilder_.Append("api/messages/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateMessageRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateMessageRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/messages" + urlBuilder_.Append("api/messages"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateMessagesRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateMessagesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/messages" + urlBuilder_.Append("api/messages"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class NoteClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public NoteClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetNotesRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetNotesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/notes/search" + urlBuilder_.Append("api/notes/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateNoteRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateNoteRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/notes" + urlBuilder_.Append("api/notes"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateNotesRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateNotesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/notes" + urlBuilder_.Append("api/notes"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class OrderTypesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public OrderTypesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetOrderTypeRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetOrderTypeRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/ordertypes/search" + urlBuilder_.Append("api/ordertypes/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PersonsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public PersonsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetPersonRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetPersonRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/persons/search" + urlBuilder_.Append("api/persons/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdatePersonsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdatePersonsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/persons" + urlBuilder_.Append("api/persons"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreatePersonRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreatePersonRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/persons" + urlBuilder_.Append("api/persons"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task InactivateAsync(InactivatePersonsRequest request) + { + return InactivateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task InactivateAsync(InactivatePersonsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/persons/inactivate" + urlBuilder_.Append("api/persons/inactivate"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class POAClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public POAClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetPOARequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetPOARequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/poa/search" + urlBuilder_.Append("api/poa/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreatePOARequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreatePOARequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/poa" + urlBuilder_.Append("api/poa"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeletePoaRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeletePoaRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/poa" + urlBuilder_.Append("api/poa"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class POATypesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public POATypesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetPOATypeRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetPOATypeRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/poatypes/search" + urlBuilder_.Append("api/poatypes/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PositionsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public PositionsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetPositionRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetPositionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/positions/search" + urlBuilder_.Append("api/positions/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchHistoricAsync(GetHistoricPositionRequest request) + { + return SearchHistoricAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchHistoricAsync(GetHistoricPositionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/positions/historic/search" + urlBuilder_.Append("api/positions/historic/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class PricesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public PricesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetHistoricAsync(GetHistoricPricesRequest request) + { + return GetHistoricAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetHistoricAsync(GetHistoricPricesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/prices/historic" + urlBuilder_.Append("api/prices/historic"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RecurringOrderTemplatesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public RecurringOrderTemplatesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAutoGiroAsync(CreateRecurringOrderTemplateAutoGiroRequest request) + { + return CreateAutoGiroAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAutoGiroAsync(CreateRecurringOrderTemplateAutoGiroRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/recurring-order-templates/autogiro/create" + urlBuilder_.Append("api/recurring-order-templates/autogiro/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAutoGiroAsync(UpdateRecurringOrderTemplateAutoGiroRequest request) + { + return UpdateAutoGiroAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAutoGiroAsync(UpdateRecurringOrderTemplateAutoGiroRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/recurring-order-templates/autogiro" + urlBuilder_.Append("api/recurring-order-templates/autogiro"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAvtaleGiroAsync(CreateRecurringOrderTemplateAvtaleGiroRequest request) + { + return CreateAvtaleGiroAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAvtaleGiroAsync(CreateRecurringOrderTemplateAvtaleGiroRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/recurring-order-templates/avtalegiro/create" + urlBuilder_.Append("api/recurring-order-templates/avtalegiro/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAvtaleGiroAsync(UpdateRecurringOrderTemplatesAvtaleGiroRequest request) + { + return UpdateAvtaleGiroAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAvtaleGiroAsync(UpdateRecurringOrderTemplatesAvtaleGiroRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/recurring-order-templates/avtalegiro" + urlBuilder_.Append("api/recurring-order-templates/avtalegiro"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetRecurringOrderTemplatesRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetRecurringOrderTemplatesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/recurring-order-templates/search" + urlBuilder_.Append("api/recurring-order-templates/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class RelatedFifoLotsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public RelatedFifoLotsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetRelatedFifoLotsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetRelatedFifoLotsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/related-fifo-lots/search" + urlBuilder_.Append("api/related-fifo-lots/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class ReservationClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public ReservationClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetReservationRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetReservationRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/reservations/search" + urlBuilder_.Append("api/reservations/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateReservationRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateReservationRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/reservations" + urlBuilder_.Append("api/reservations"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeleteReservationRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeleteReservationRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/reservations" + urlBuilder_.Append("api/reservations"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SubscriptionOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public SubscriptionOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetSubscriptionOrderRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetSubscriptionOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/subscription-orders/search" + urlBuilder_.Append("api/subscription-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateSubscriptionOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateSubscriptionOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/subscription-orders/create" + urlBuilder_.Append("api/subscription-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateSubscriptionOrderRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateSubscriptionOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/subscription-orders/update" + urlBuilder_.Append("api/subscription-orders/update"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CancelAsync(SubscriptionOrder_CancelRequest request) + { + return CancelAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CancelAsync(SubscriptionOrder_CancelRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/subscription-orders/cancel" + urlBuilder_.Append("api/subscription-orders/cancel"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task ProcessAsync(SubscriptionOrder_ProcessRequest request) + { + return ProcessAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task ProcessAsync(SubscriptionOrder_ProcessRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/subscription-orders/process" + urlBuilder_.Append("api/subscription-orders/process"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class SuperTransactionsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public SuperTransactionsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetSuperTransactionsRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetSuperTransactionsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/supertransactions/search" + urlBuilder_.Append("api/supertransactions/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateSuperTransactionsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateSuperTransactionsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/supertransactions" + urlBuilder_.Append("api/supertransactions"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TaskClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TaskClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTasksRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTasksRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/tasks/search" + urlBuilder_.Append("api/tasks/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateTaskRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateTaskRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/tasks" + urlBuilder_.Append("api/tasks"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateTasksRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateTasksRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/tasks" + urlBuilder_.Append("api/tasks"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TaxWithholdingAgreementClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TaxWithholdingAgreementClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTaxWithholdingAgreementRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTaxWithholdingAgreementRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/taxwithholding/search" + urlBuilder_.Append("api/taxwithholding/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateTaxWithholdingAgreementsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateTaxWithholdingAgreementsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/taxwithholding" + urlBuilder_.Append("api/taxwithholding"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateTaxWithholdingAgreementsRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateTaxWithholdingAgreementsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/taxwithholding" + urlBuilder_.Append("api/taxwithholding"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TradeOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TradeOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTradeOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTradeOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trade-orders/search" + urlBuilder_.Append("api/trade-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateTradeOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateTradeOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trade-orders/create" + urlBuilder_.Append("api/trade-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task ExecuteAsync(ExecuteOrderRequest request) + { + return ExecuteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task ExecuteAsync(ExecuteOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trade-orders/execute" + urlBuilder_.Append("api/trade-orders/execute"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SettleAsync(SettleOrderRequest request) + { + return SettleAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SettleAsync(SettleOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trade-orders/settle" + urlBuilder_.Append("api/trade-orders/settle"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CancelAsync(CancelTradeOrderRequest request) + { + return CancelAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CancelAsync(CancelTradeOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trade-orders/cancel" + urlBuilder_.Append("api/trade-orders/cancel"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TradeOrdersFromDepositsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TradeOrdersFromDepositsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateFromAutogiroAsync(CreateTradeBuyOrdersFromAutogiroRequest request) + { + return CreateFromAutogiroAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateFromAutogiroAsync(CreateTradeBuyOrdersFromAutogiroRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trade-orders-from-deposits/create-from-autogiro" + urlBuilder_.Append("api/trade-orders-from-deposits/create-from-autogiro"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TradingVenuesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TradingVenuesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTradingVenueRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTradingVenueRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/tradingvenues/search" + urlBuilder_.Append("api/tradingvenues/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateTradingVenuesRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateTradingVenuesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/tradingvenues" + urlBuilder_.Append("api/tradingvenues"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TransactionNoteClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TransactionNoteClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTransactionNoteRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTransactionNoteRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transaction-notes/search" + urlBuilder_.Append("api/transaction-notes/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TransferOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TransferOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTransferOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTransferOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transfer-orders/search" + urlBuilder_.Append("api/transfer-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateStatesAsync(UpdateTransferOrderStatesRequest request) + { + return UpdateStatesAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateStatesAsync(UpdateTransferOrderStatesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transfer-orders/update-states" + urlBuilder_.Append("api/transfer-orders/update-states"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TransferReceiversClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TransferReceiversClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTransferReceiversRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTransferReceiversRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transfer-receivers/search" + urlBuilder_.Append("api/transfer-receivers/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateTransferReceiversRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateTransferReceiversRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transfer-receivers" + urlBuilder_.Append("api/transfer-receivers"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateTransferReceiversRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateTransferReceiversRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transfer-receivers" + urlBuilder_.Append("api/transfer-receivers"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateStatesAsync(UpdateTransferReceiverStatesRequest request) + { + return UpdateStatesAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateStatesAsync(UpdateTransferReceiverStatesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/transfer-receivers/states" + urlBuilder_.Append("api/transfer-receivers/states"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class TRSCountriesClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public TRSCountriesClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetTRSCountriesRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetTRSCountriesRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/trs-countries/search" + urlBuilder_.Append("api/trs-countries/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class WebhookSubscriptionsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public WebhookSubscriptionsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetWebhookSubscriptionRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetWebhookSubscriptionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/webhook-subscriptions/search" + urlBuilder_.Append("api/webhook-subscriptions/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetEventsAsync(GetAvailableWebhookEventRequest request) + { + return GetEventsAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetEventsAsync(GetAvailableWebhookEventRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/webhook-subscriptions/events" + urlBuilder_.Append("api/webhook-subscriptions/events"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateWebhookSubscriptionRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateWebhookSubscriptionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/webhook-subscriptions" + urlBuilder_.Append("api/webhook-subscriptions"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task DeleteAsync(DeleteWebhookSubscriptionRequest request) + { + return DeleteAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteAsync(DeleteWebhookSubscriptionRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/webhook-subscriptions" + urlBuilder_.Append("api/webhook-subscriptions"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task GetFailedAsync(GetFailedWebhookRequest request) + { + return GetFailedAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetFailedAsync(GetFailedWebhookRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/webhook-subscriptions/failed" + urlBuilder_.Append("api/webhook-subscriptions/failed"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class WhiteLabelsClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public WhiteLabelsClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetWhiteLabelRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetWhiteLabelRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/white-labels/search" + urlBuilder_.Append("api/white-labels/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateWhiteLabelsRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateWhiteLabelsRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/white-labels" + urlBuilder_.Append("api/white-labels"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateWhiteLabelRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateWhiteLabelRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/white-labels" + urlBuilder_.Append("api/white-labels"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class WithdrawalCashOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public WithdrawalCashOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task CreateAsync(CreateWithdrawalCashOrderRequest request) + { + return CreateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task CreateAsync(CreateWithdrawalCashOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/withdrawal-cash-orders/create" + urlBuilder_.Append("api/withdrawal-cash-orders/create"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task BatchFillAsync(WithdrawalCashBatchOrder_FillRequest request) + { + return BatchFillAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task BatchFillAsync(WithdrawalCashBatchOrder_FillRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/withdrawal-cash-orders/batch-fill" + urlBuilder_.Append("api/withdrawal-cash-orders/batch-fill"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class WithdrawalTransferOrdersClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public WithdrawalTransferOrdersClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchBatchAsync(GetWithdrawalBatchTransferOrdersRequest request) + { + return SearchBatchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchBatchAsync(GetWithdrawalBatchTransferOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/withdrawal-transfer-orders/batch-search" + urlBuilder_.Append("api/withdrawal-transfer-orders/batch-search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SearchAsync(GetWithdrawalTransferOrdersRequest request) + { + return SearchAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SearchAsync(GetWithdrawalTransferOrdersRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/withdrawal-transfer-orders/search" + urlBuilder_.Append("api/withdrawal-transfer-orders/search"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task SettleAsync(SettleWithdrawalTransferOrderRequest request) + { + return SettleAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task SettleAsync(SettleWithdrawalTransferOrderRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/withdrawal-transfer-orders/settle" + urlBuilder_.Append("api/withdrawal-transfer-orders/settle"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NSwag", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial class WorkflowInstanceClient + { + #pragma warning disable 8618 + private string _baseUrl; + #pragma warning restore 8618 + + private System.Net.Http.HttpClient _httpClient; + private static System.Lazy _settings = new System.Lazy(CreateSerializerSettings, true); + private System.Text.Json.JsonSerializerOptions _instanceSettings; + + #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + public WorkflowInstanceClient(System.Net.Http.HttpClient httpClient) + #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. + { + BaseUrl = "http://localhost:54108"; + _httpClient = httpClient; + Initialize(); + } + + private static System.Text.Json.JsonSerializerOptions CreateSerializerSettings() + { + var settings = new System.Text.Json.JsonSerializerOptions(); + UpdateJsonSerializerSettings(settings); + return settings; + } + + public string BaseUrl + { + get { return _baseUrl; } + set + { + _baseUrl = value; + if (!string.IsNullOrEmpty(_baseUrl) && !_baseUrl.EndsWith("/")) + _baseUrl += '/'; + } + } + + protected System.Text.Json.JsonSerializerOptions JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } } + + static partial void UpdateJsonSerializerSettings(System.Text.Json.JsonSerializerOptions settings); + + partial void Initialize(); + + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url); + partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder); + partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response); + + /// OK + /// A server side error occurred. + public virtual System.Threading.Tasks.Task UpdateAsync(UpdateWorkflowInstanceRequest request) + { + return UpdateAsync(request, System.Threading.CancellationToken.None); + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// OK + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateAsync(UpdateWorkflowInstanceRequest request, System.Threading.CancellationToken cancellationToken) + { + if (request == null) + throw new System.ArgumentNullException("request"); + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(request, JsonSerializerSettings); + var content_ = new System.Net.Http.ByteArrayContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + var urlBuilder_ = new System.Text.StringBuilder(); + if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl); + // Operation Path: "api/workflow-instance" + urlBuilder_.Append("api/workflow-instance"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = new System.Collections.Generic.Dictionary>(); + foreach (var item_ in response_.Headers) + headers_[item_.Key] = item_.Value; + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (status_ == 200) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await ReadAsStringAsync(response_.Content, cancellationToken).ConfigureAwait(false); + throw new ApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + protected struct ObjectResponseResult + { + public ObjectResponseResult(T responseObject, string responseText) + { + this.Object = responseObject; + this.Text = responseText; + } + + public T Object { get; } + + public string Text { get; } + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStringAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStringAsync(cancellationToken); + #else + return content.ReadAsStringAsync(); + #endif + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static System.Threading.Tasks.Task ReadAsStreamAsync(System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken) + { + #if NET5_0_OR_GREATER + return content.ReadAsStreamAsync(cancellationToken); + #else + return content.ReadAsStreamAsync(); + #endif + } + + public bool ReadResponseAsString { get; set; } + + protected virtual async System.Threading.Tasks.Task> ReadObjectResponseAsync(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary> headers, System.Threading.CancellationToken cancellationToken) + { + if (response == null || response.Content == null) + { + return new ObjectResponseResult(default(T), string.Empty); + } + + if (ReadResponseAsString) + { + var responseText = await ReadAsStringAsync(response.Content, cancellationToken).ConfigureAwait(false); + try + { + var typedBody = System.Text.Json.JsonSerializer.Deserialize(responseText, JsonSerializerSettings); + return new ObjectResponseResult(typedBody, responseText); + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body string as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception); + } + } + else + { + try + { + using (var responseStream = await ReadAsStreamAsync(response.Content, cancellationToken).ConfigureAwait(false)) + { + var typedBody = await System.Text.Json.JsonSerializer.DeserializeAsync(responseStream, JsonSerializerSettings, cancellationToken).ConfigureAwait(false); + return new ObjectResponseResult(typedBody, string.Empty); + } + } + catch (System.Text.Json.JsonException exception) + { + var message = "Could not deserialize the response body stream as " + typeof(T).FullName + "."; + throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception); + } + } + } + + private string ConvertToString(object value, System.Globalization.CultureInfo cultureInfo) + { + if (value == null) + { + return ""; + } + + if (value is System.Enum) + { + var name = System.Enum.GetName(value.GetType(), value); + if (name != null) + { + var field_ = System.Reflection.IntrospectionExtensions.GetTypeInfo(value.GetType()).GetDeclaredField(name); + if (field_ != null) + { + var attribute = System.Reflection.CustomAttributeExtensions.GetCustomAttribute(field_, typeof(System.Runtime.Serialization.EnumMemberAttribute)) + as System.Runtime.Serialization.EnumMemberAttribute; + if (attribute != null) + { + return attribute.Value != null ? attribute.Value : name; + } + } + + var converted = System.Convert.ToString(System.Convert.ChangeType(value, System.Enum.GetUnderlyingType(value.GetType()), cultureInfo)); + return converted == null ? string.Empty : converted; + } + } + else if (value is bool) + { + return System.Convert.ToString((bool)value, cultureInfo).ToLowerInvariant(); + } + else if (value is byte[]) + { + return System.Convert.ToBase64String((byte[]) value); + } + else if (value is string[]) + { + return string.Join(",", (string[])value); + } + else if (value.GetType().IsArray) + { + var valueArray = (System.Array)value; + var valueTextArray = new string[valueArray.Length]; + for (var i = 0; i < valueArray.Length; i++) + { + valueTextArray[i] = ConvertToString(valueArray.GetValue(i), cultureInfo); + } + return string.Join(",", valueTextArray); + } + + var result = System.Convert.ToString(value, cultureInfo); + return result == null ? "" : result; + } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("EnablePagination")] + public bool? EnablePagination { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageIndex")] + public int? PageIndex { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageSize")] + public int? PageSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAccountsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAccountFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owners")] + public System.Collections.Generic.ICollection Owners { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfile")] + public System.Guid? AllocationProfile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNos")] + public System.Collections.Generic.ICollection AccountNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OwnerAccountLabels")] + public System.Collections.Generic.ICollection OwnerAccountLabels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountStatus")] + public int? AccountStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKeys")] + public System.Collections.Generic.ICollection AccountTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountWorlds")] + public System.Collections.Generic.ICollection AccountWorlds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Resellers")] + public System.Collections.Generic.ICollection Resellers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNos")] + public System.Collections.Generic.ICollection ResellerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountComments")] + public System.Collections.Generic.ICollection AccountComments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceOwners")] + public System.Collections.Generic.ICollection InsuranceOwners { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Insureds")] + public System.Collections.Generic.ICollection Insureds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePayers")] + public System.Collections.Generic.ICollection InsurancePayers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContactLegalEntities")] + public System.Collections.Generic.ICollection ContactLegalEntities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IBANs")] + public System.Collections.Generic.ICollection IBANs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockedStatusKeys")] + public System.Collections.Generic.ICollection LockedStatusKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentAge")] + public int? FirstPaymentAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentIntervalKey")] + public string PaymentIntervalKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentLength")] + public int? PaymentLength { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Payouts")] + public int? Payouts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayoutsLeft")] + public int? PayoutsLeft { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDateFrom")] + public System.DateTimeOffset? FirstPaymentDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDateTo")] + public System.DateTimeOffset? FirstPaymentDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakers")] + public System.Collections.Generic.ICollection DecisionMakers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToContinuousInvestmentAdvice")] + public bool? IsSubjectToContinuousInvestmentAdvice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodianBrickIds")] + public System.Collections.Generic.ICollection CustodianBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterpartyAccountTypes")] + public System.Collections.Generic.ICollection CounterpartyAccountTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DiscountGroupIds")] + public System.Collections.Generic.ICollection DiscountGroupIds { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public bool? AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseCurrencyCode")] + public bool? BaseCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OwnerAccountLabel")] + public bool? OwnerAccountLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public bool? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + public bool? AccountTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountWorld")] + public bool? AccountWorld { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountStatus")] + public bool? AccountStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reseller")] + public bool? Reseller { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfile")] + public bool? AllocationProfile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public bool? ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountComment")] + public bool? AccountComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceOwner")] + public bool? InsuranceOwner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Insured")] + public bool? Insured { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePayer")] + public bool? InsurancePayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContactLegalEntity")] + public bool? ContactLegalEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IBAN")] + public bool? IBAN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentAge")] + public bool? FirstPaymentAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentIntervalKey")] + public bool? PaymentIntervalKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentLength")] + public bool? PaymentLength { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Payouts")] + public bool? Payouts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayoutsLeft")] + public bool? PayoutsLeft { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDate")] + public bool? FirstPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HighWaterMark")] + public bool? HighWaterMark { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMaker")] + public bool? DecisionMaker { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockedStatusKey")] + public bool? LockedStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToContinuousInvestmentAdvice")] + public bool? IsSubjectToContinuousInvestmentAdvice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodianBrickId")] + public bool? CustodianBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterpartyAccountType")] + public bool? CounterpartyAccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DiscountGroupId")] + public bool? DiscountGroupId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseDate")] + public bool? CloseDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseComment")] + public bool? CloseComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record Credentials + { + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Password")] + public string Password { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAccountFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAccountsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public string AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseCurrencyCode")] + public string BaseCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OwnerAccountLabel")] + public string OwnerAccountLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + public string AccountTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountWorld")] + public string AccountWorld { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountStatus")] + public int? AccountStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfile")] + public System.Guid? AllocationProfile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reseller")] + public System.Guid? Reseller { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountComment")] + public string AccountComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceOwner")] + public System.Guid? InsuranceOwner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Insured")] + public System.Guid? Insured { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePayer")] + public System.Guid? InsurancePayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContactLegalEntity")] + public System.Guid? ContactLegalEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IBAN")] + public string IBAN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentAge")] + public int? FirstPaymentAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentIntervalKey")] + public string PaymentIntervalKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentLength")] + public int? PaymentLength { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Payouts")] + public int? Payouts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayoutsLeft")] + public int? PayoutsLeft { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDate")] + public System.DateTimeOffset? FirstPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HighWaterMark")] + public double? HighWaterMark { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMaker")] + public System.Guid? DecisionMaker { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockedStatusKey")] + public string LockedStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToContinuousInvestmentAdvice")] + public bool? IsSubjectToContinuousInvestmentAdvice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodianBrickId")] + public System.Guid? CustodianBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterpartyAccountType")] + public GetAccountResponseRowCounterpartyAccountType? CounterpartyAccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DiscountGroupId")] + public System.Guid? DiscountGroupId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseDate")] + public System.DateTimeOffset? CloseDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseComment")] + public string CloseComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CustomField + { + + [System.Text.Json.Serialization.JsonPropertyName("FieldName")] + public string FieldName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public string Value { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HiddenFromGui")] + public bool? HiddenFromGui { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAccountRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record Account + { + + [System.Text.Json.Serialization.JsonPropertyName("OwnerAccountLabel")] + public string OwnerAccountLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string AccountTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseCurrencyCode")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string BaseCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountStatus")] + public int AccountStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfile")] + public System.Guid? AllocationProfile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountComment")] + public string AccountComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public string AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueCalculationMethod")] + public string AcquisitionValueCalculationMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IBAN")] + public string IBAN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceOwner")] + public System.Guid? InsuranceOwner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Insured")] + public System.Guid? Insured { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePayer")] + public System.Guid? InsurancePayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContactLegalEntity")] + public System.Guid? ContactLegalEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentAge")] + public int? FirstPaymentAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentIntervalKey")] + public string PaymentIntervalKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentLength")] + public int? PaymentLength { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Payouts")] + public int? Payouts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayoutsLeft")] + public int? PayoutsLeft { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDate")] + public System.DateTimeOffset? FirstPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HighWaterMark")] + public double? HighWaterMark { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMaker")] + public System.Guid? DecisionMaker { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockedStatusKey")] + public string LockedStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToContinuousInvestmentAdvice")] + public bool? IsSubjectToContinuousInvestmentAdvice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodianBrickId")] + public System.Guid? CustodianBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterpartyAccountType")] + public AccountCounterpartyAccountType? CounterpartyAccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DiscountGroupId")] + public System.Guid? DiscountGroupId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseDate")] + public System.DateTimeOffset? CloseDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseComment")] + public string CloseComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAccountResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateAccountResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAccountsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateAccountFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAccount + { + + [System.Text.Json.Serialization.JsonPropertyName("OwnerAccountLabel")] + public string OwnerAccountLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountStatus")] + public int? AccountStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseDate")] + public System.DateTimeOffset? CloseDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseComment")] + public string CloseComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfile")] + public System.Guid? AllocationProfile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountComment")] + public string AccountComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceOwner")] + public System.Guid? InsuranceOwner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Insured")] + public System.Guid? Insured { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePayer")] + public System.Guid? InsurancePayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContactLegalEntity")] + public System.Guid? ContactLegalEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IBAN")] + public string IBAN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentAge")] + public int? FirstPaymentAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentIntervalKey")] + public string PaymentIntervalKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentLength")] + public int? PaymentLength { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Payouts")] + public int? Payouts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayoutsLeft")] + public int? PayoutsLeft { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDate")] + public System.DateTimeOffset? FirstPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HighWaterMark")] + public double? HighWaterMark { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMaker")] + public System.Guid? DecisionMaker { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockedStatusKey")] + public string LockedStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToContinuousInvestmentAdvice")] + public bool? IsSubjectToContinuousInvestmentAdvice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterpartyAccountType")] + public UpdateAccountCounterpartyAccountType? CounterpartyAccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodianBrickId")] + public System.Guid? CustodianBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DiscountGroupId")] + public System.Guid? DiscountGroupId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAccountFields + { + + [System.Text.Json.Serialization.JsonPropertyName("OwnerAccountLabel")] + public bool? OwnerAccountLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountStatus")] + public bool? AccountStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseDate")] + public bool? CloseDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CloseComment")] + public bool? CloseComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfile")] + public bool? AllocationProfile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountComment")] + public bool? AccountComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceOwner")] + public bool? InsuranceOwner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Insured")] + public bool? Insured { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePayer")] + public bool? InsurancePayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContactLegalEntity")] + public bool? ContactLegalEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IBAN")] + public bool? IBAN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentAge")] + public bool? FirstPaymentAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentIntervalKey")] + public bool? PaymentIntervalKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentLength")] + public bool? PaymentLength { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Payouts")] + public bool? Payouts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayoutsLeft")] + public bool? PayoutsLeft { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstPaymentDate")] + public bool? FirstPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HighWaterMark")] + public bool? HighWaterMark { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public bool? ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMaker")] + public bool? DecisionMaker { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockedStatusKey")] + public bool? LockedStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToContinuousInvestmentAdvice")] + public bool? IsSubjectToContinuousInvestmentAdvice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterpartyAccountType")] + public bool? CounterpartyAccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodianBrickId")] + public bool? CustodianBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DiscountGroupId")] + public bool? DiscountGroupId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAccountsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateAccountsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountTypeRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAccountTypeArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAccountTypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountTypeArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNoSeriesKey")] + public string AccountNoSeriesKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeRuleType")] + public System.Guid? AccountTypeRuleType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeStatus")] + public int? AccountTypeStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountPositionLogic")] + public string AccountPositionLogic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InterestRateInstrumentKey")] + public string InterestRateInstrumentKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MustCover")] + public bool? MustCover { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToIncomeTax")] + public bool? IsSubjectToIncomeTax { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceAccount")] + public bool? IsInsuranceAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalHouse")] + public string ExternalHouse { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationTypes")] + public System.Collections.Generic.ICollection ReconciliationTypes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountTypeFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public bool? Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNoSeriesKey")] + public bool? AccountNoSeriesKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeRuleType")] + public bool? AccountTypeRuleType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeStatus")] + public bool? AccountTypeStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountPositionLogic")] + public bool? AccountPositionLogic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InterestRateInstrumentKey")] + public bool? InterestRateInstrumentKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MustCover")] + public bool? MustCover { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToIncomeTax")] + public bool? IsSubjectToIncomeTax { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceAccount")] + public bool? IsInsuranceAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalHouse")] + public bool? ExternalHouse { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationType")] + public bool? ReconciliationType { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountTypeResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAccountTypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAccountTypeResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAccountTypeResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public string Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNoSeriesKey")] + public string AccountNoSeriesKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeRuleType")] + public System.Guid? AccountTypeRuleType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeStatus")] + public int? AccountTypeStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountPositionLogic")] + public string AccountPositionLogic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InterestRateInstrumentKey")] + public string InterestRateInstrumentKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MustCover")] + public bool? MustCover { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsSubjectToIncomeTax")] + public bool? IsSubjectToIncomeTax { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceAccount")] + public bool? IsInsuranceAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalHouse")] + public string ExternalHouse { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationType")] + public GetAccountTypeResponseRowReconciliationType? ReconciliationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FundInstructions_SettleRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("ActionTriggerDataEntity")] + public FundInstructions_Settle ActionTriggerDataEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FundInstructions_Settle + { + + [System.Text.Json.Serialization.JsonPropertyName("SettledAmount")] + public double? SettledAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public System.DateTimeOffset? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Action")] + public string Action { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FundInstructions_SettleResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public FundInstructions_SettleResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAlgorithmRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAlgorithmArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAlgorithmFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAlgorithmArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAlgorithmFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAlgorithmResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAlgorithmFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAlgorithmResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAlgorithmResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateSwitchOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SwitchOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reseller")] + public System.Guid? Reseller { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public System.Guid? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakers")] + public System.Collections.Generic.ICollection DecisionMakers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExchangeAlgorithm")] + public SwitchOrderExchangeAlgorithm? ExchangeAlgorithm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellOrders")] + public System.Collections.Generic.ICollection SellOrders { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public System.Collections.Generic.ICollection AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SellOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("SellPercentage")] + public double? SellPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record AllocationItem + { + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationPercentage")] + [System.ComponentModel.DataAnnotations.Range(0D, 1D)] + public double? AllocationPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateSwitchOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateSwitchOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAllocationOrderArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAllocationOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationOrderArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReBalanceInstance")] + public System.Guid? ReBalanceInstance { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedById")] + public System.Guid? CreatedById { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReBalanceInstance")] + public bool? ReBalanceInstance { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public bool? AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedById")] + public bool? CreatedById { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAllocationOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAllocationOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationOrderResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReBalanceInstance")] + public System.Guid? ReBalanceInstance { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedById")] + public System.Guid? CreatedById { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public System.Collections.Generic.ICollection AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservationItems")] + public System.Collections.Generic.ICollection ReservationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ReservationItem + { + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAsset")] + public System.Guid? ReservedAsset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmount")] + public double? ReservedAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationProfileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAllocationProfileArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAllocationProfileFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationProfileArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public string AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakersWithinFirm")] + public System.Collections.Generic.ICollection DecisionMakersWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owners")] + public System.Collections.Generic.ICollection Owners { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNos")] + public System.Collections.Generic.ICollection AccountNos { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationProfileFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public bool? AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public bool? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderAlgorithmKey")] + public bool? OrderAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExchangeAlgorithmKey")] + public bool? ExchangeAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinOrderAmount")] + public bool? MinOrderAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public bool? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationProfileResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAllocationProfileFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAllocationProfileResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAllocationProfileResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public System.Collections.Generic.ICollection AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderAlgorithmKey")] + public string OrderAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExchangeAlgorithmKey")] + public string ExchangeAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinOrderAmount")] + public double? MinOrderAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public System.Guid? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAllocationProfileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record AllocationProfile + { + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public System.Collections.Generic.ICollection AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderAlgorithmKey")] + public string OrderAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExchangeAlgorithmKey")] + public string ExchangeAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinOrderAmount")] + public double? MinOrderAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public System.Guid? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAllocationProfileResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateAllocationProfileResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAllocationProfileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateAllocationProfileFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAllocationProfileFields + { + + [System.Text.Json.Serialization.JsonPropertyName("AllocationItems")] + public bool? AllocationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderAlgorithmKey")] + public bool? OrderAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExchangeAlgorithmKey")] + public bool? ExchangeAlgorithmKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinOrderAmount")] + public bool? MinOrderAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public bool? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateAllocationProfileResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateAllocationProfileResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteAllocationProfileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record APIDeleteResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public APIDeleteResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAssetAccountTypeLimitationRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAssetAccountTypeLimitationArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAssetAccountTypeLimitationFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAssetAccountTypeLimitationArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Assets")] + public System.Collections.Generic.ICollection Assets { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypes")] + public System.Collections.Generic.ICollection AccountTypes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAssetAccountTypeLimitationFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public bool? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountType")] + public bool? AccountType { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAssetAccountTypeLimitationResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAssetAccountTypeLimitationFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAssetAccountTypeLimitationResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAssetAccountTypeLimitationResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountType")] + public System.Guid? AccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAssetAccountTypeLimitationRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record AssetAccountTypeLimitation + { + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountType")] + public System.Guid? AccountType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAssetAccountTypeLimitationResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateAssetAccountTypeLimitationResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record BankIdAuthenticateRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("BankIdType")] + public BankIdAuthenticateRequestBankIdType? BankIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AuthenticatePerson")] + public bool? AuthenticatePerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public BankIdAuthenticateRequestDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record BankIdAuthenticateResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("BankIdType")] + public BankIdAuthenticateResponseBankIdType? BankIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderReference")] + public string OrderReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AuthToken")] + public string AuthToken { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QRCodes")] + public System.Collections.Generic.ICollection QRCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartTime")] + public System.DateTimeOffset? StartTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public BankIdAuthenticateResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record QRCode + { + + [System.Text.Json.Serialization.JsonPropertyName("Code")] + public string Code { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Time")] + public int? Time { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UsernamePasswordAuthenticateRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Username")] + public string Username { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Password")] + public string Password { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public UsernamePasswordAuthenticateRequestDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UsernamePasswordAuthenticateResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("IsAuthenticated")] + public bool? IsAuthenticated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public System.Guid? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccessLevel")] + public int? AccessLevel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UsernamePasswordAuthenticateResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ResetPasswordRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public System.Guid? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NewPassword")] + public string NewPassword { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogeneratePassword")] + public bool? AutogeneratePassword { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendEmail")] + public bool? SendEmail { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordChangeOnFirstLogIn")] + public bool? ForcePasswordChangeOnFirstLogIn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ResetPasswordResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public ResetPasswordResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record BankIdSignRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("SigningText")] + public string SigningText { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BankIdType")] + public BankIdSignRequestBankIdType? BankIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AuthenticatePerson")] + public bool? AuthenticatePerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public BankIdSignRequestDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record BankIdSignResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("BankIdType")] + public BankIdSignResponseBankIdType? BankIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderReference")] + public string OrderReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AuthToken")] + public string AuthToken { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QRCodes")] + public System.Collections.Generic.ICollection QRCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartTime")] + public System.DateTimeOffset? StartTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public BankIdSignResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBankIdStatusRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("BankIdType")] + public GetBankIdStatusRequestBankIdType? BankIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderReference")] + public string OrderReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AuthenticatePerson")] + public bool? AuthenticatePerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public GetBankIdStatusRequestDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBankIdStatusResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public string PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BankIdType")] + public GetBankIdStatusResponseBankIdType? BankIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public string Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Signature")] + public string Signature { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignText")] + public string SignText { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompletionData")] + public CompletionData CompletionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QRCodes")] + public System.Collections.Generic.ICollection QRCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetBankIdStatusResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CompletionData + { + + [System.Text.Json.Serialization.JsonPropertyName("user")] + public ResponseUser User { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("device")] + public ResponseDevice Device { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("cert")] + public ResponseCert Cert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("signature")] + public string Signature { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ocspResponse")] + public string OcspResponse { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ResponseUser + { + + [System.Text.Json.Serialization.JsonPropertyName("personalNumber")] + public string PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("givenName")] + public string GivenName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("surname")] + public string Surname { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ResponseDevice + { + + [System.Text.Json.Serialization.JsonPropertyName("ipAddress")] + public string IpAddress { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ResponseCert + { + + [System.Text.Json.Serialization.JsonPropertyName("notBefore")] + public long? NotBefore { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("notAfter")] + public long? NotAfter { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAutoGiroDepositOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record AutoGiroDepositOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAutoGiroDepositOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateAutoGiroDepositOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAutoGiroOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAutoGiroOrdersArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAutoGiroOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAutoGiroOrdersArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderTypeKeys")] + public System.Collections.Generic.ICollection TransferOrderTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogiroOrderStatuses")] + public System.Collections.Generic.ICollection AutogiroOrderStatuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public System.Collections.Generic.ICollection ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverIds")] + public System.Collections.Generic.ICollection TransferReceiverIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountsIds")] + public System.Collections.Generic.ICollection AccountsIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCodes")] + public System.Collections.Generic.ICollection CurrencyCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderIds")] + public System.Collections.Generic.ICollection BatchOrderIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogiroOrderNumbers")] + public System.Collections.Generic.ICollection AutogiroOrderNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutoGiroResponseCodes")] + public System.Collections.Generic.ICollection AutoGiroResponseCodes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAutoGiroOrdersFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderTypeKey")] + public bool? TransferOrderTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogiroOrderStatus")] + public bool? AutogiroOrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogiroOrderNumber")] + public bool? AutogiroOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderNumber")] + public bool? BatchOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public bool? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutoGiroResponseCode")] + public bool? AutoGiroResponseCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RecurringOrderTemplateIds")] + public bool? RecurringOrderTemplateIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAutoGiroOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAutoGiroOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAutoGiroOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAutoGiroOrdersResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderTypeKey")] + public string TransferOrderTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogiroOrderStatus")] + public string AutogiroOrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutogiroOrderNumber")] + public string AutogiroOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderNumber")] + public string BatchOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public System.Guid? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutoGiroResponseCode")] + public string AutoGiroResponseCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RecurringOrderTemplateIds")] + public System.Collections.Generic.ICollection RecurringOrderTemplateIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CancelAutoGiroOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CancelAutoGiroOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("CancelComment")] + public string CancelComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderId")] + public System.Guid? OrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CancelAutoGiroOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CancelAutoGiroOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAutoGiroWithdrawalOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record AutoGiroWithdrawalOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateAutoGiroWithdrawalOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Orders")] + public System.Collections.Generic.ICollection Orders { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateAutoGiroWithdrawalOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record AutoGiroWithdrawal_CashOrderOut + { + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderId")] + public System.Guid? OrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAvtaleGiroOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetAvtaleGiroOrdersArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAvtaleGiroOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAvtaleGiroOrdersArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCodes")] + public System.Collections.Generic.ICollection CurrencyCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderIds")] + public System.Collections.Generic.ICollection BatchOrderIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountsIds")] + public System.Collections.Generic.ICollection AccountsIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroOrderStatuses")] + public System.Collections.Generic.ICollection AvtaleGiroOrderStatuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverIds")] + public System.Collections.Generic.ICollection TransferReceiverIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderTypeKeys")] + public System.Collections.Generic.ICollection TransferOrderTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroOrderNumbers")] + public System.Collections.Generic.ICollection AvtaleGiroOrderNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroResponseCodes")] + public System.Collections.Generic.ICollection AvtaleGiroResponseCodes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAvtaleGiroOrdersFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroOrderStatus")] + public bool? AvtaleGiroOrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroOrderNumber")] + public bool? AvtaleGiroOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderNumber")] + public bool? BatchOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderTypeKey")] + public bool? TransferOrderTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public bool? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroResponseCode")] + public bool? AvtaleGiroResponseCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RecurringOrderTemplateIds")] + public bool? RecurringOrderTemplateIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAvtaleGiroOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetAvtaleGiroOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetAvtaleGiroOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetAvtaleGiroOrdersResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderTypeKey")] + public string TransferOrderTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroOrderStatus")] + public string AvtaleGiroOrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroOrderNumber")] + public string AvtaleGiroOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderNumber")] + public string BatchOrderNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public System.Guid? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvtaleGiroResponseCode")] + public string AvtaleGiroResponseCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RecurringOrderTemplateIds")] + public System.Collections.Generic.ICollection RecurringOrderTemplateIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBackgroundJobsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetBackgroundJobsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBackgroundJobsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBackgroundJobsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StateKeys")] + public System.Collections.Generic.ICollection StateKeys { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBackgroundJobsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StateKey")] + public bool? StateKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResultCode")] + public bool? ResultCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public bool? Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Progress")] + public bool? Progress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartRunTime")] + public bool? StartRunTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndRunTime")] + public bool? EndRunTime { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBackgroundJobsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBackgroundJobsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetBackgroundJobsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBackgroundJobsResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StateKey")] + public string StateKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResultCode")] + public int? ResultCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public string Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Progress")] + public int? Progress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartRunTime")] + public System.DateTimeOffset? StartRunTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndRunTime")] + public System.DateTimeOffset? EndRunTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessEventRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetBusinessEventArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBusinessEventFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessEventArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Descriptions")] + public System.Collections.Generic.ICollection Descriptions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceSettingKeys")] + public System.Collections.Generic.ICollection ExecutionInterfaceSettingKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessEventNos")] + public System.Collections.Generic.ICollection BusinessEventNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessEventFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Description")] + public bool? Description { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceSettingKey")] + public bool? ExecutionInterfaceSettingKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cash")] + public bool? Cash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public bool? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessEventNo")] + public bool? BusinessEventNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessEventResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBusinessEventFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetBusinessEventResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessEventResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Description")] + public string Description { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceSettingKey")] + public string ExecutionInterfaceSettingKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cash")] + public System.Guid? Cash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public System.Guid? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessEventNo")] + public string BusinessEventNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("EnablePagination")] + public bool? EnablePagination { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageIndex")] + public int? PageIndex { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageSize")] + public int? PageSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetBusinessTransactionArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBusinessTransactionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnCalculationTypes")] + public System.Collections.Generic.ICollection ReturnCalculationTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionTypeKeys")] + public System.Collections.Generic.ICollection BusinessTransactionTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionTypeIds")] + public System.Collections.Generic.ICollection BusinessTransactionTypeIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Assets")] + public System.Collections.Generic.ICollection Assets { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKeys")] + public System.Collections.Generic.ICollection AccountDimensionKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKeys")] + public System.Collections.Generic.ICollection AccountTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionReferences")] + public System.Collections.Generic.ICollection TransactionReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateFrom")] + public System.DateTimeOffset? TradeDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateTo")] + public System.DateTimeOffset? TradeDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SequenceNoFrom")] + public int? SequenceNoFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SequenceNoTo")] + public int? SequenceNoTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1From")] + public double? AmountAsset1From { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1To")] + public double? AmountAsset1To { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2From")] + public double? AmountAsset2From { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2To")] + public double? AmountAsset2To { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CorrectionDateFrom")] + public System.DateTimeOffset? CorrectionDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CorrectionDateTo")] + public System.DateTimeOffset? CorrectionDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchIds")] + public System.Collections.Generic.ICollection BatchIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderIds")] + public System.Collections.Generic.ICollection OrderIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReportingTypes")] + public System.Collections.Generic.ICollection ReportingTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionIds")] + public System.Collections.Generic.ICollection SuperTransactionIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionBusinessEventIds")] + public System.Collections.Generic.ICollection SuperTransactionBusinessEventIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationStatuses")] + public System.Collections.Generic.ICollection ReconciliationStatuses { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnCalculationType")] + public bool? ReturnCalculationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SequenceNo")] + public bool? SequenceNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Leg1Dimensions")] + public bool? Leg1Dimensions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Leg2Dimensions")] + public bool? Leg2Dimensions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NameAsset1")] + public bool? NameAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NameAsset2")] + public bool? NameAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1CurrencyCode")] + public bool? Asset1CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2CurrencyCode")] + public bool? Asset2CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1")] + public bool? Asset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2")] + public bool? Asset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1TypeKey")] + public bool? Asset1TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2TypeKey")] + public bool? Asset2TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionTypeKey")] + public bool? BusinessTransactionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionType")] + public bool? BusinessTransactionType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1")] + public bool? AmountAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2")] + public bool? AmountAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentName")] + public bool? InstrumentName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public bool? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountingDate")] + public bool? AccountingDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FifoTradeDate")] + public bool? FifoTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCorrected")] + public bool? IsCorrected { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CorrectionDate")] + public bool? CorrectionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CorrectionComment")] + public bool? CorrectionComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public bool? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public bool? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionReference")] + public bool? TransactionReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionId")] + public bool? SuperTransactionId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicy")] + public bool? InsurancePolicy { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceClaim")] + public bool? InsuranceClaim { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchId")] + public bool? BatchId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + public bool? AccountTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderId")] + public bool? OrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReportingType")] + public bool? ReportingType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionBusinessEventId")] + public bool? SuperTransactionBusinessEventId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionCustomFields")] + public bool? SuperTransactionCustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationStatus")] + public bool? ReconciliationStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBusinessTransactionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetBusinessTransactionsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("SequenceNo")] + public int? SequenceNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnCalculationType")] + public string ReturnCalculationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Leg1Dimensions")] + public System.Collections.Generic.ICollection Leg1Dimensions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Leg2Dimensions")] + public System.Collections.Generic.ICollection Leg2Dimensions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NameAsset1")] + public string NameAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NameAsset2")] + public string NameAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1CurrencyCode")] + public string Asset1CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2CurrencyCode")] + public string Asset2CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1")] + public System.Guid? Asset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2")] + public System.Guid? Asset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1TypeKey")] + public string Asset1TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2TypeKey")] + public string Asset2TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionTypeKey")] + public string BusinessTransactionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionType")] + public System.Guid? BusinessTransactionType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1")] + public double? AmountAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2")] + public double? AmountAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentName")] + public string InstrumentName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public System.DateTimeOffset? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountingDate")] + public System.DateTimeOffset? AccountingDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FifoTradeDate")] + public System.DateTimeOffset? FifoTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCorrected")] + public bool? IsCorrected { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CorrectionDate")] + public System.DateTimeOffset? CorrectionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CorrectionComment")] + public string CorrectionComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public double? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public double? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionReference")] + public string TransactionReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionId")] + public System.Guid? SuperTransactionId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicy")] + public System.Guid? InsurancePolicy { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceClaim")] + public System.Guid? InsuranceClaim { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchId")] + public System.Guid? BatchId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + public string AccountTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderId")] + public System.Guid? OrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReportingType")] + public string ReportingType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionBusinessEventId")] + public System.Guid? SuperTransactionBusinessEventId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionCustomFields")] + public System.Collections.Generic.ICollection SuperTransactionCustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationStatus")] + public GetBusinessTransactionResponseRowReconciliationStatus? ReconciliationStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateBusinessTransactionRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SuperTransaction + { + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactions")] + public System.Collections.Generic.ICollection BusinessTransactions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicy")] + public System.Guid? InsurancePolicy { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceClaim")] + public System.Guid? InsuranceClaim { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Batch")] + public System.Guid? Batch { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessEventId")] + public System.Guid? BusinessEventId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderId")] + public System.Guid? OrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NoteId")] + public System.Guid? NoteId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record BusinessTransaction + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionType")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string BusinessTransactionType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionReference")] + public string TransactionReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1")] + public System.Guid? Asset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2")] + public System.Guid? Asset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1")] + public double? AmountAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2")] + public double? AmountAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccountAsset1")] + public System.Guid? CustodyAccountAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccountAsset2")] + public System.Guid? CustodyAccountAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public System.DateTimeOffset? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public double? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public double? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementType")] + public string SettlementType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationStatus")] + public BusinessTransactionReconciliationStatus? ReconciliationStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateBusinessTransactionResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateBusinessTransactionResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateBusinessTransactionsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateBusinessTransactionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateBusinessTransaction + { + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationStatus")] + public UpdateBusinessTransactionReconciliationStatus? ReconciliationStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionCustomFields")] + public System.Collections.Generic.ICollection SuperTransactionCustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateBusinessTransactionFields + { + + [System.Text.Json.Serialization.JsonPropertyName("ReconciliationStatus")] + public bool? ReconciliationStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SuperTransactionCustomFields")] + public bool? SuperTransactionCustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateBusinessTransactionsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateBusinessTransactionsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CorrectBusinessTransactionRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public CorrectionBusinessTransactionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CorrectionBusinessTransaction + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CorrectionBusinessTransactionFields + { + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CorrectBusinessTransactionsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CorrectBusinessTransactionsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionTypeRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetBusinessTransactionTypeArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBusinessTransactionTypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionTypeArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManualTicket")] + public bool? ManualTicket { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReportingTypeKeys")] + public System.Collections.Generic.ICollection ReportingTypeKeys { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionTypeFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public bool? Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManualTicket")] + public bool? ManualTicket { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SortOrder")] + public bool? SortOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionReferenceIncluded")] + public bool? TransactionReferenceIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemAccountIncluded")] + public bool? SystemAccountIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountReportGroups")] + public bool? AccountReportGroups { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1Included")] + public bool? Asset1Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1Key")] + public bool? Asset1Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1TypeKey")] + public bool? Asset1TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2Included")] + public bool? Asset2Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2Key")] + public bool? Asset2Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2TypeKey")] + public bool? Asset2TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1Included")] + public bool? AmountAsset1Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1Key")] + public bool? AmountAsset1Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2Included")] + public bool? AmountAsset2Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2Key")] + public bool? AmountAsset2Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccountAsset1Included")] + public bool? CustodyAccountAsset1Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccountAsset2Included")] + public bool? CustodyAccountAsset2Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceIncluded")] + public bool? PriceIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDateIncluded")] + public bool? ValueDateIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateIncluded")] + public bool? SettlementDateIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnCalculationType")] + public bool? ReturnCalculationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxTypeKey")] + public bool? TaxTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateIncluded")] + public bool? TradeDateIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Tx_AcquisitionValueIncluded")] + public bool? Tx_AcquisitionValueIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Tx_AcquisitionValueAccountCurrencyIncluded")] + public bool? Tx_AcquisitionValueAccountCurrencyIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReportingTypeKey")] + public bool? ReportingTypeKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionTypeResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetBusinessTransactionTypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetBusinessTransactionTypeResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetBusinessTransactionTypeResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public string Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManualTicket")] + public bool? ManualTicket { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SortOrder")] + public int? SortOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionReferenceIncluded")] + public bool? TransactionReferenceIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemAccountIncluded")] + public bool? SystemAccountIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountReportGroups")] + public string AccountReportGroups { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1Included")] + public bool? Asset1Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1Key")] + public string Asset1Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1TypeKey")] + public string Asset1TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2Included")] + public bool? Asset2Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2Key")] + public string Asset2Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2TypeKey")] + public string Asset2TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1Included")] + public bool? AmountAsset1Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1Key")] + public string AmountAsset1Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2Included")] + public bool? AmountAsset2Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2Key")] + public string AmountAsset2Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccountAsset1Included")] + public bool? CustodyAccountAsset1Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccountAsset2Included")] + public bool? CustodyAccountAsset2Included { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceIncluded")] + public bool? PriceIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDateIncluded")] + public bool? ValueDateIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateIncluded")] + public bool? SettlementDateIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnCalculationType")] + public string ReturnCalculationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxTypeKey")] + public string TaxTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateIncluded")] + public bool? TradeDateIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Tx_AcquisitionValueIncluded")] + public bool? Tx_AcquisitionValueIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Tx_AcquisitionValueAccountCurrencyIncluded")] + public bool? Tx_AcquisitionValueAccountCurrencyIncluded { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReportingTypeKey")] + public string ReportingTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCashRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetCashArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCashFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCashArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public System.Guid? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecimalPlaces")] + public int? DecimalPlaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatuses")] + public System.Collections.Generic.ICollection InstrumentStatuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDecimals")] + public int? PriceDecimals { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCashFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public bool? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCustodyAccount")] + public bool? DefaultCustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecimalPlaces")] + public bool? DecimalPlaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public bool? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDecimals")] + public bool? PriceDecimals { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCashResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCashFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetCashResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCashResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public System.Guid? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCustodyAccount")] + public System.Guid? DefaultCustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecimalPlaces")] + public int? DecimalPlaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public int? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDecimals")] + public int? PriceDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCountryRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetCountryArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCountryFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCountryArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsoCodes")] + public System.Collections.Generic.ICollection IsoCodes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCountryFields + { + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCountryResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCountryFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetCountryResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCountryResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("IsoCode")] + public string IsoCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FullNameSwedish")] + public string FullNameSwedish { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FullNameEnglish")] + public string FullNameEnglish { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetCurrencyArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCurrencyFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Codes")] + public System.Collections.Generic.ICollection Codes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKeys")] + public System.Collections.Generic.ICollection StatusKeys { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Code")] + public bool? Code { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public bool? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCurrencyFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetCurrencyResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Code")] + public string Code { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyValueRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetCurrencyValuesArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCurrencyValuesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyValuesArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("SourceCurrencyCode")] + public string SourceCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedCurrencyCode")] + public string RequestedCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromDate")] + public System.DateTimeOffset? FromDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToDate")] + public System.DateTimeOffset? ToDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyValuesFields + { + + [System.Text.Json.Serialization.JsonPropertyName("SourceCurrencyCode")] + public bool? SourceCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedCurrencyCode")] + public bool? RequestedCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public bool? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public bool? Value { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyValueResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCurrencyValuesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetCurrencyValueResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyValueResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("SourceCurrencyCode")] + public string SourceCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedCurrencyCode")] + public string RequestedCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public double? Value { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SetCurrencyValuesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyValueEntries")] + public System.Collections.Generic.ICollection CurrencyValueEntries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CurrencyValueEntry + { + + [System.Text.Json.Serialization.JsonPropertyName("CurrCode1")] + public string CurrCode1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrCode2")] + public string CurrCode2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DataSeries")] + public string DataSeries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public double? Value { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SetCurrencyValuesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public SetCurrencyValuesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyExchangeOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetCurrencyExchangeOrderArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCurrencyExchangeOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyExchangeOrderArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountOwners")] + public System.Collections.Generic.ICollection AccountOwners { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromBuyAmount")] + [System.ComponentModel.DataAnnotations.Range(-2147483648D, 2147483647D)] + public double? FromBuyAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToBuyAmount")] + [System.ComponentModel.DataAnnotations.Range(-2147483648D, 2147483647D)] + public double? ToBuyAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromSellAmount")] + [System.ComponentModel.DataAnnotations.Range(-2147483648D, 2147483647D)] + public double? FromSellAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToSellAmount")] + [System.ComponentModel.DataAnnotations.Range(-2147483648D, 2147483647D)] + public double? ToSellAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCashAssetBrickIds")] + public System.Collections.Generic.ICollection BuyCashAssetBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCashAssetBrickIds")] + public System.Collections.Generic.ICollection SellCashAssetBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderDirectionKey")] + public string OrderDirectionKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyExchangeOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public bool? ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalEntityId")] + public bool? LegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyAmount")] + public bool? BuyAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellAmount")] + public bool? SellAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderDirectionKey")] + public bool? OrderDirectionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCashAssetBrickId")] + public bool? SellCashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCashAssetBrickId")] + public bool? BuyCashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyExchangeBatchOrder")] + public bool? CurrencyExchangeBatchOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationOrder")] + public bool? AllocationOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyExchangeOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetCurrencyExchangeOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetCurrencyExchangeOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetCurrencyExchangeOrderResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public System.Guid? ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalEntityId")] + public System.Guid? LegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyAmount")] + public double? BuyAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellAmount")] + public double? SellAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderDirectionKey")] + public string OrderDirectionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCashAssetBrickId")] + public System.Guid? SellCashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCashAssetBrickId")] + public System.Guid? BuyCashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyExchangeBatchOrder")] + public System.Guid? CurrencyExchangeBatchOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationOrder")] + public System.Guid? AllocationOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateCurrencyExchangeOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CurrencyExchangeOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCashAssetBrickId")] + public System.Guid? SellCashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCashAssetBrickId")] + public System.Guid? BuyCashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Batch")] + public System.Guid? Batch { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationOrder")] + public System.Guid? AllocationOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateCurrencyExchangeOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateCurrencyExchangeOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CurrencyExchangeOrder_CancelRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("WorkflowTriggerDataEntity")] + public CurrencyExchangeOrder_Cancel WorkflowTriggerDataEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CurrencyExchangeOrder_Cancel + { + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CurrencyExchangeOrder_CancelResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CurrencyExchangeOrder_CancelResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateCustomFieldRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateCustomFieldDto + { + + [System.Text.Json.Serialization.JsonPropertyName("BfsEntityBrickId")] + public System.Guid? BfsEntityBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ErrorMessages")] + public System.Collections.Generic.ICollection ErrorMessages { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateCustomFieldResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateCustomFieldRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateCustomFieldDto + { + + [System.Text.Json.Serialization.JsonPropertyName("BfsEntityBrickId")] + public System.Guid? BfsEntityBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ErrorMessages")] + public System.Collections.Generic.ICollection ErrorMessages { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateCustomFieldResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteCustomFieldRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteCustomFieldDto + { + + [System.Text.Json.Serialization.JsonPropertyName("BfsEntityBrickId")] + public System.Guid? BfsEntityBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFieldBrickId")] + public System.Guid? CustomFieldBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ErrorMessages")] + public System.Collections.Generic.ICollection ErrorMessages { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteCustomFieldResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDealsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetDealsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDealsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDealsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1")] + public System.Guid? Asset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2")] + public System.Guid? Asset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaces")] + public System.Collections.Generic.ICollection ExecutionInterfaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyPartyAccounts")] + public System.Collections.Generic.ICollection BuyPartyAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellPartyAccounts")] + public System.Collections.Generic.ICollection SellPartyAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealNos")] + public System.Collections.Generic.ICollection DealNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyOrders")] + public System.Collections.Generic.ICollection BuyOrders { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellOrders")] + public System.Collections.Generic.ICollection SellOrders { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyPartyNotes")] + public System.Collections.Generic.ICollection BuyPartyNotes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellPartyNotes")] + public System.Collections.Generic.ICollection SellPartyNotes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTRSReporting")] + public bool? IsTRSReporting { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeTimeFrom")] + public System.DateTimeOffset? TradeTimeFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeTimeTo")] + public System.DateTimeOffset? TradeTimeTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateFrom")] + public System.DateTimeOffset? TradeDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateTo")] + public System.DateTimeOffset? TradeDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKeys")] + public System.Collections.Generic.ICollection StatusKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenues")] + public System.Collections.Generic.ICollection TradingVenues { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTransactionIds")] + public System.Collections.Generic.ICollection TradingVenueTransactionIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTimeStampDateFrom")] + public System.DateTimeOffset? TradingVenueTimeStampDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTimeStampDateTo")] + public System.DateTimeOffset? TradingVenueTimeStampDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDateFrom")] + public System.DateTimeOffset? CancellationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDateTo")] + public System.DateTimeOffset? CancellationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirmType")] + public string ExecutionWithinFirmType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirm_ALGO")] + public System.Collections.Generic.ICollection ExecutionWithinFirm_ALGO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirm_USER")] + public System.Collections.Generic.ICollection ExecutionWithinFirm_USER { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingCapacity")] + public string TradingCapacity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSVenueTypeValue")] + public string TRSVenueTypeValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("INTC")] + public bool? INTC { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDealsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1")] + public bool? AmountAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2")] + public bool? AmountAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1")] + public bool? Asset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2")] + public bool? Asset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public bool? ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyPartyAccount")] + public bool? BuyPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellPartyAccount")] + public bool? SellPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealNo")] + public bool? DealNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyOrder")] + public bool? BuyOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellOrder")] + public bool? SellOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyPartyNote")] + public bool? BuyPartyNote { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellPartyNote")] + public bool? SellPartyNote { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTRSReporting")] + public bool? IsTRSReporting { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeTime")] + public bool? TradeTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDate")] + public bool? CancellationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenue")] + public bool? TradingVenue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTransactionId")] + public bool? TradingVenueTransactionId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTimeStampDate")] + public bool? TradingVenueTimeStampDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirmType")] + public bool? ExecutionWithinFirmType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirm_ALGO")] + public bool? ExecutionWithinFirm_ALGO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirm_USER")] + public bool? ExecutionWithinFirm_USER { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingCapacity")] + public bool? TradingCapacity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_BENC")] + public bool? OTCPostTradeIndicator_BENC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_ACTX")] + public bool? OTCPostTradeIndicator_ACTX { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_ILQD")] + public bool? OTCPostTradeIndicator_ILQD { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_SIZE")] + public bool? OTCPostTradeIndicator_SIZE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_CANC")] + public bool? OTCPostTradeIndicator_CANC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_AMND")] + public bool? OTCPostTradeIndicator_AMND { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_SDIV")] + public bool? OTCPostTradeIndicator_SDIV { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_RPRI")] + public bool? OTCPostTradeIndicator_RPRI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_DUPL")] + public bool? OTCPostTradeIndicator_DUPL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_LRGS")] + public bool? OTCPostTradeIndicator_LRGS { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_TNCP")] + public bool? OTCPostTradeIndicator_TNCP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_TPAC")] + public bool? OTCPostTradeIndicator_TPAC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_XFPH")] + public bool? OTCPostTradeIndicator_XFPH { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_OILQ")] + public bool? WaiverIndicator_OILQ { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_NLIQ")] + public bool? WaiverIndicator_NLIQ { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_PRIC")] + public bool? WaiverIndicator_PRIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_ILQD")] + public bool? WaiverIndicator_ILQD { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_RFPT")] + public bool? WaiverIndicator_RFPT { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_SIZE")] + public bool? WaiverIndicator_SIZE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSVenueTypeValue")] + public bool? TRSVenueTypeValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("INTC")] + public bool? INTC { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDealsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDealsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetDealsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDealsResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset1")] + public double? AmountAsset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AmountAsset2")] + public double? AmountAsset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset1")] + public System.Guid? Asset1 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset2")] + public System.Guid? Asset2 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public string ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyPartyAccount")] + public System.Guid? BuyPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellPartyAccount")] + public System.Guid? SellPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealNo")] + public string DealNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyOrder")] + public System.Guid? BuyOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellOrder")] + public System.Guid? SellOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyPartyNote")] + public string BuyPartyNote { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellPartyNote")] + public string SellPartyNote { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTRSReporting")] + public bool? IsTRSReporting { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeTime")] + public System.DateTimeOffset? TradeTime { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDate")] + public System.DateTimeOffset? CancellationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenue")] + public System.Guid? TradingVenue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTransactionId")] + public string TradingVenueTransactionId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingVenueTimeStampDate")] + public System.DateTimeOffset? TradingVenueTimeStampDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirmType")] + public string ExecutionWithinFirmType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirm_ALGO")] + public System.Guid? ExecutionWithinFirm_ALGO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionWithinFirm_USER")] + public System.Guid? ExecutionWithinFirm_USER { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingCapacity")] + public string TradingCapacity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_BENC")] + public bool? OTCPostTradeIndicator_BENC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_ACTX")] + public bool? OTCPostTradeIndicator_ACTX { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_ILQD")] + public bool? OTCPostTradeIndicator_ILQD { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_SIZE")] + public bool? OTCPostTradeIndicator_SIZE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_CANC")] + public bool? OTCPostTradeIndicator_CANC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_AMND")] + public bool? OTCPostTradeIndicator_AMND { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_SDIV")] + public bool? OTCPostTradeIndicator_SDIV { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_RPRI")] + public bool? OTCPostTradeIndicator_RPRI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_DUPL")] + public bool? OTCPostTradeIndicator_DUPL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_LRGS")] + public bool? OTCPostTradeIndicator_LRGS { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_TNCP")] + public bool? OTCPostTradeIndicator_TNCP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_TPAC")] + public bool? OTCPostTradeIndicator_TPAC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OTCPostTradeIndicator_XFPH")] + public bool? OTCPostTradeIndicator_XFPH { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_OILQ")] + public bool? WaiverIndicator_OILQ { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_NLIQ")] + public bool? WaiverIndicator_NLIQ { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_PRIC")] + public bool? WaiverIndicator_PRIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_ILQD")] + public bool? WaiverIndicator_ILQD { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_RFPT")] + public bool? WaiverIndicator_RFPT { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WaiverIndicator_SIZE")] + public bool? WaiverIndicator_SIZE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSVenueTypeValue")] + public string TRSVenueTypeValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("INTC")] + public bool? INTC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDecisionMakerRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetDecisionMakerArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDecisionMakerFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDecisionMakerArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Persons")] + public System.Collections.Generic.ICollection Persons { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Orders")] + public System.Collections.Generic.ICollection Orders { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHouse")] + public bool? IsHouse { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDecisionMakerFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Person")] + public bool? Person { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Order")] + public bool? Order { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHouse")] + public bool? IsHouse { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDecisionMakerResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDecisionMakerFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetDecisionMakerResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDecisionMakerResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Person")] + public System.Guid? Person { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Order")] + public System.Guid? Order { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHouse")] + public bool? IsHouse { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateDepositCashOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DepositCashOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public System.Guid? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentPeriod")] + public int? PaymentPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public System.Guid? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfileId")] + public System.Guid? AllocationProfileId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentServiceType")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string PaymentServiceType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderId")] + public System.Guid? TransferOrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateDepositCashOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateDepositCashOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositBatchTransferOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetDepositBatchTransferOrdersArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDepositBatchTransferOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositBatchTransferOrdersArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderType")] + public string BatchOrderType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCodes")] + public System.Collections.Generic.ICollection CurrencyCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositBatchTransferOrdersFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderType")] + public bool? BatchOrderType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositBatchTransferOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDepositBatchTransferOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetDepositBatchTransferOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositBatchTransferOrdersResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderType")] + public string BatchOrderType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositTransferOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetDepositTransferOrdersArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDepositTransferOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositTransferOrdersArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderType")] + public string TransferOrderType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public System.Collections.Generic.ICollection ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Collections.Generic.ICollection TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCodes")] + public System.Collections.Generic.ICollection CurrencyCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrders")] + public System.Collections.Generic.ICollection BatchOrders { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositTransferOrdersFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderType")] + public bool? TransferOrderType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderNo")] + public bool? BatchOrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public bool? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositTransferOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetDepositTransferOrdersFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetDepositTransferOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetDepositTransferOrdersResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("TransferOrderType")] + public string TransferOrderType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BatchOrderNo")] + public string BatchOrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateDirectBankWithdrawalOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DirectBankWithdrawalOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashCurrencyCode")] + public string CashCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateDirectBankWithdrawalOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateDirectBankWithdrawalOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeRecordRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFeeRecordArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFeeRecordFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeRecordArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountBrickIds")] + public System.Collections.Generic.ICollection AccountBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCodes")] + public System.Collections.Generic.ICollection CurrencyCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeRecordStatuses")] + public System.Collections.Generic.ICollection FeeRecordStatuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeTypes")] + public System.Collections.Generic.ICollection FeeTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellToCoverMethods")] + public System.Collections.Generic.ICollection SellToCoverMethods { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeRecordFields + { + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeRecordResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FeeRecordDto + { + + [System.Text.Json.Serialization.JsonPropertyName("Id")] + public System.Guid? Id { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountBrickId")] + public System.Guid? AccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeRecordStatus")] + public FeeRecordDtoFeeRecordStatus? FeeRecordStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellToCoverMethod")] + public FeeRecordDtoSellToCoverMethod? SellToCoverMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PayerAccountTransactionDetails")] + public PayerAccountTransactionDetails PayerAccountTransactionDetails { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeReceivers")] + public System.Collections.Generic.ICollection FeeReceivers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FrequencyDetails")] + public FrequencyDetails FrequencyDetails { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ErrorMessages")] + public System.Collections.Generic.ICollection ErrorMessages { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record PayerAccountTransactionDetails + { + + [System.Text.Json.Serialization.JsonPropertyName("TradeTransactionTypeKey")] + public string TradeTransactionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettleTransactionTypeKey")] + public string SettleTransactionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionComment")] + public string TransactionComment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountBrickId")] + public System.Guid? AccountBrickId { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FeeReceiver + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountBrickId")] + public System.Guid? AccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeReceiverType")] + public FeeReceiverType? FeeReceiverType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FixedAmount")] + public double? FixedAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PercentageAmount")] + public double? PercentageAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeTransactionTypeKey")] + public string TradeTransactionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettleTransactionTypeKey")] + public string SettleTransactionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionComment")] + public string TransactionComment { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FrequencyDetails + { + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFeeRecordRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFeeRecordResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFeeRecordRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFeeRecordResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFeeRecordRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("DeleteFeeRecordArgs")] + public DeleteFeeRecordArgs DeleteFeeRecordArgs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFeeRecordArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountBrickIds")] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection AccountBrickIds { get; set; } = new System.Collections.ObjectModel.Collection(); + + [System.Text.Json.Serialization.JsonPropertyName("FeeRecordIds")] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection FeeRecordIds { get; set; } = new System.Collections.ObjectModel.Collection(); + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFeeRecordResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsError")] + public bool? IsError { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeGroupRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFeeGroupArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFeeGroupFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeGroupArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ActionTypeKey")] + public string ActionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeGroupFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ActionTypeKey")] + public bool? ActionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeGroupResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFeeGroupFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFeeGroupResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFeeGroupResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ActionTypeKey")] + public string ActionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("FileInfoGet")] + public FileInfoGeneral FileInfoGet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FileInfoGeneral + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("FileBytes")] + public byte[] FileBytes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileName")] + public string FileName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContentType")] + public string FileContentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContext")] + public System.Guid? FileContext { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFileResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("FileInfoUpload")] + public FileInfoUpload FileInfoUpload { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FileInfoUpload + { + + [System.Text.Json.Serialization.JsonPropertyName("Owner")] + public System.Guid? Owner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileName")] + public string FileName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContentType")] + public string ContentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Permission")] + public FileInfoUploadPermission? Permission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("fileBytes")] + public byte[] FileBytes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFileResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("FileId")] + public System.Guid? FileId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateFileResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFileRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("FileInfoDelete")] + public FileInfoGeneral FileInfoDelete { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFileResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public DeleteFileResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileListRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFileInfoArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFileInfoFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileInfoArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContext")] + public System.Collections.Generic.ICollection FileContext { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedBy")] + public System.Collections.Generic.ICollection CreatedBy { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Permission")] + public System.Collections.Generic.ICollection Permission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ContentTypes")] + public System.Collections.Generic.ICollection ContentTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileInfoFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FilePermission")] + public bool? FilePermission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContentType")] + public bool? FileContentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileSize")] + public bool? FileSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContext")] + public bool? FileContext { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileListResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFileInfoFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFileListResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFileInfoResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FilePermission")] + public int? FilePermission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContentType")] + public string FileContentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileContext")] + public System.Guid? FileContext { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FileSize")] + public int? FileSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFilesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("FileInfoDeletes")] + public System.Collections.Generic.ICollection FileInfoDeletes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteFilesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public DeleteFilesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundBatchOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFundBatchOrdersArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundBatchOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundBatchOrdersArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instruments")] + public System.Collections.Generic.ICollection Instruments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public System.Collections.Generic.ICollection ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public string ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePayed")] + public bool? IsPrePayed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentConfirmationDateFrom")] + public System.DateTimeOffset? PaymentConfirmationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentConfirmationDateTo")] + public System.DateTimeOffset? PaymentConfirmationDateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundBatchOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public bool? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderDirectionKey")] + public bool? TradeOrderDirectionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public bool? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cash")] + public bool? Cash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public bool? ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public bool? ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePayed")] + public bool? IsPrePayed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SentDate")] + public bool? SentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettledAmount")] + public bool? SettledAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentConfirmationDate")] + public bool? PaymentConfirmationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundBatchOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundBatchOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFundBatchOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundBatchOrdersResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public double? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderDirectionKey")] + public string TradeOrderDirectionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public System.Guid? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cash")] + public System.Guid? Cash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public System.Guid? ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public string ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePayed")] + public bool? IsPrePayed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SentDate")] + public System.DateTimeOffset? SentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettledAmount")] + public double? SettledAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentConfirmationDate")] + public System.DateTimeOffset? PaymentConfirmationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetExternalFundBatchOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetExternalFundBatchOrdersArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetExternalFundBatchOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetExternalFundBatchOrdersArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instruments")] + public System.Collections.Generic.ICollection Instruments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public System.Collections.Generic.ICollection ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public string ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePayed")] + public bool? IsPrePayed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetExternalFundBatchOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public bool? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderDirectionKey")] + public bool? TradeOrderDirectionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public bool? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cash")] + public bool? Cash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public bool? ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public bool? ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePayed")] + public bool? IsPrePayed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SentDate")] + public bool? SentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettledAmount")] + public bool? SettledAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetExternalFundBatchOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetExternalFundBatchOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetExternalFundBatchOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetExternalFundBatchOrdersResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public double? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderDirectionKey")] + public string TradeOrderDirectionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public System.Guid? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cash")] + public System.Guid? Cash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterface")] + public System.Guid? ExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public string ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePayed")] + public bool? IsPrePayed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SentDate")] + public System.DateTimeOffset? SentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettledAmount")] + public double? SettledAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ExternalFundBatchOrderSettleRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("WorkflowTriggerDataEntity")] + public Old_ExternalFundBatchOrderSettle WorkflowTriggerDataEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record Old_ExternalFundBatchOrderSettle + { + + [System.Text.Json.Serialization.JsonPropertyName("SettledAmount")] + public double SettledAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ExternalFundBatchOrderSettleResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public ExternalFundBatchOrderSettleResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundBatchOrdersRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entity")] + public CreateFundBatchOrdersBase Entity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundBatchOrdersBase + { + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundBatchOrdersResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateFundBatchOrdersResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundBatchOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentBrickId")] + public System.Guid? InstrumentBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAssetBrickId")] + public System.Guid? CashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderDirection")] + public string OrderDirection { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPrePaid")] + public bool? IsPrePaid { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderIds")] + public System.Collections.Generic.ICollection TradeOrderIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundCompaniesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFundCompaniesArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundCompaniesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundCompaniesArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumbers")] + public System.Collections.Generic.ICollection CompanyNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyNames")] + public System.Collections.Generic.ICollection FundCompanyNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("isFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNos")] + public System.Collections.Generic.ICollection CustomerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserNames")] + public System.Collections.Generic.ICollection UserNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumbers")] + public System.Collections.Generic.ICollection PersonalNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDateFrom")] + public System.DateTimeOffset? BirthDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDateTo")] + public System.DateTimeOffset? BirthDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Emails")] + public System.Collections.Generic.ICollection Emails { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddresses")] + public System.Collections.Generic.ICollection StreetAddresses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCodes")] + public System.Collections.Generic.ICollection PostalCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cities")] + public System.Collections.Generic.ICollection Cities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Countries")] + public System.Collections.Generic.ICollection Countries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountries")] + public System.Collections.Generic.ICollection TaxCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNos")] + public System.Collections.Generic.ICollection ResellerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDateFrom")] + public System.DateTimeOffset? LastLoginDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDateTo")] + public System.DateTimeOffset? LastLoginDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomains")] + public System.Collections.Generic.ICollection UserDomains { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public System.Collections.Generic.ICollection LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public System.Collections.Generic.ICollection TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountries")] + public System.Collections.Generic.ICollection TRSCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public System.Collections.Generic.ICollection TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountries")] + public System.Collections.Generic.ICollection BranchCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Collections.Generic.ICollection DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttentions")] + public System.Collections.Generic.ICollection AddressAttentions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabels")] + public System.Collections.Generic.ICollection WhiteLabels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccounts")] + public System.Collections.Generic.ICollection CustomerCashAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanys")] + public System.Collections.Generic.ICollection FundCompanys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDateFrom")] + public System.DateTimeOffset? KycDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDateDateTo")] + public System.DateTimeOffset? KycDateDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIINS")] + public System.Collections.Generic.ICollection GIINS { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccounts")] + public System.Collections.Generic.ICollection ResellerAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValueFrom")] + public double? RiskValueFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValueTo")] + public double? RiskValueTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdictions")] + public System.Collections.Generic.ICollection LegalJurisdictions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Collections.Generic.ICollection ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateFrom")] + public System.DateTimeOffset? LastUpdatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateTo")] + public System.DateTimeOffset? LastUpdatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRateFrom")] + public double? TaxRateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRateTo")] + public double? TaxRateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundCompaniesFields + { + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public bool? CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyName")] + public bool? FundCompanyName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public bool? FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public bool? LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public bool? MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDate")] + public bool? LastLoginDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public bool? UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public bool? Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public bool? PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public bool? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public bool? ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public bool? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public bool? AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public bool? AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public bool? AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public bool? AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public bool? Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public bool? PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public bool? PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public bool? PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public bool? PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public bool? PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public bool? BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public bool? PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public bool? PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public bool? PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public bool? PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceCompany")] + public bool? IsInsuranceCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceProductSupplier")] + public bool? IsInsuranceProductSupplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public bool? SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public bool? GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public bool? ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public bool? RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypesString")] + public bool? InstrumentTypesString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public bool? LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public bool? TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public bool? TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public bool? TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public bool? BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public bool? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public bool? PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public bool? CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomain")] + public bool? UserDomain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccessLevel")] + public bool? AccessLevel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttention")] + public bool? AddressAttention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public bool? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public bool? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public bool? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public bool? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public bool? GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public bool? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public bool? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public bool? LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public bool? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public bool? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public bool? TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public bool? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundCompaniesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundCompaniesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFundCompaniesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundCompaniesResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyName")] + public string FundCompanyName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public string CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public string FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public string LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public string MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public string PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public System.DateTimeOffset? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public System.Guid? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDate")] + public System.DateTimeOffset? LastLoginDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public string AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public string AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public string AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public string AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public string Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public string PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public string PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public string PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public string PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public string PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public string BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public string PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public string PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public string PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public string PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceCompany")] + public bool? IsInsuranceCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceProductSupplier")] + public bool? IsInsuranceProductSupplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public string SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public string GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public string ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public string RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypesString")] + public string InstrumentTypesString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public string LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public string TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public string TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public string TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public string BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Guid? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public string PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public string CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomain")] + public string UserDomain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccessLevel")] + public int? AccessLevel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttention")] + public string AddressAttention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public System.Guid? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public System.DateTimeOffset? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public string GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public System.Guid? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public double? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public string LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Guid? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public System.DateTimeOffset? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public System.Collections.Generic.ICollection TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public double? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record TIN + { + + [System.Text.Json.Serialization.JsonPropertyName("TinNumber")] + public string TinNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TinCountryCode")] + public string TinCountryCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundCompaniesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FundCompany + { + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyName")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string FundCompanyName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Password")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Password { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public string CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public string StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public string PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public string City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public string Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public FundCompanyDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public string CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundCompaniesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateFundCompaniesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundCompaniesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateFundCompanyFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundCompany + { + + [System.Text.Json.Serialization.JsonPropertyName("Active")] + public bool? Active { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public string CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyName")] + public string FundCompanyName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public string StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public string PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public string City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public string Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundCompanyFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Active")] + public bool? Active { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyName")] + public bool? FundCompanyName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public bool? CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public bool? Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public bool? StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public bool? PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public bool? City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public bool? Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundCompaniesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateFundCompaniesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundEntityRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFundEntityArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundEntityFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundEntityArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyIds")] + public System.Collections.Generic.ICollection FundCompanyIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumbers")] + public System.Collections.Generic.ICollection CompanyNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundNames")] + public System.Collections.Generic.ICollection FundNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNos")] + public System.Collections.Generic.ICollection CustomerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserNames")] + public System.Collections.Generic.ICollection UserNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumbers")] + public System.Collections.Generic.ICollection PersonalNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDateFrom")] + public System.DateTimeOffset? BirthDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDateTo")] + public System.DateTimeOffset? BirthDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Emails")] + public System.Collections.Generic.ICollection Emails { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddresses")] + public System.Collections.Generic.ICollection StreetAddresses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCodes")] + public System.Collections.Generic.ICollection PostalCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cities")] + public System.Collections.Generic.ICollection Cities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Countries")] + public System.Collections.Generic.ICollection Countries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountries")] + public System.Collections.Generic.ICollection TaxCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNos")] + public System.Collections.Generic.ICollection ResellerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDateFrom")] + public System.DateTimeOffset? LastLoginDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDateTo")] + public System.DateTimeOffset? LastLoginDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomains")] + public System.Collections.Generic.ICollection UserDomains { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public System.Collections.Generic.ICollection LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public System.Collections.Generic.ICollection TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountries")] + public System.Collections.Generic.ICollection TRSCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public System.Collections.Generic.ICollection TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountries")] + public System.Collections.Generic.ICollection BranchCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Collections.Generic.ICollection DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttentions")] + public System.Collections.Generic.ICollection AddressAttentions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabels")] + public System.Collections.Generic.ICollection WhiteLabels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccounts")] + public System.Collections.Generic.ICollection CustomerCashAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanys")] + public System.Collections.Generic.ICollection FundCompanys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDateFrom")] + public System.DateTimeOffset? KycDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDateDateTo")] + public System.DateTimeOffset? KycDateDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIINS")] + public System.Collections.Generic.ICollection GIINS { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccounts")] + public System.Collections.Generic.ICollection ResellerAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValueFrom")] + public double? RiskValueFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValueTo")] + public double? RiskValueTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdictions")] + public System.Collections.Generic.ICollection LegalJurisdictions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Collections.Generic.ICollection ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateFrom")] + public System.DateTimeOffset? LastUpdatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateTo")] + public System.DateTimeOffset? LastUpdatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRateFrom")] + public double? TaxRateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRateTo")] + public double? TaxRateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundEntityFields + { + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyId")] + public bool? FundCompanyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public bool? CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundName")] + public bool? FundName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public bool? FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public bool? LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public bool? MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDate")] + public bool? LastLoginDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public bool? UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public bool? Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public bool? PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public bool? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public bool? ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public bool? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public bool? AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public bool? AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public bool? AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public bool? AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public bool? Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public bool? PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public bool? PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public bool? PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public bool? PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public bool? PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public bool? BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public bool? PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public bool? PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public bool? PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public bool? PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceCompany")] + public bool? IsInsuranceCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceProductSupplier")] + public bool? IsInsuranceProductSupplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public bool? SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public bool? GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public bool? ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public bool? RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypesString")] + public bool? InstrumentTypesString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public bool? LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public bool? TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public bool? TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public bool? TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public bool? BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public bool? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public bool? PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public bool? CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomain")] + public bool? UserDomain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccessLevel")] + public bool? AccessLevel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttention")] + public bool? AddressAttention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public bool? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public bool? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public bool? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public bool? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public bool? GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public bool? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public bool? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public bool? LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public bool? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public bool? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public bool? TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public bool? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundEntityResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundEntityFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFundEntityResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundEntityResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public string CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public string CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundName")] + public string FundName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanyId")] + public System.Guid? FundCompanyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public string StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public string PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public string City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Guid? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public string Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundEntityRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FundEntity + { + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public string CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundName")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string FundName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Password")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Password { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public string StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public string PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public string City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public string Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public FundEntityDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public string CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateFundEntityResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateFundEntityResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundEntitiesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateFundEntityFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundEntity + { + + [System.Text.Json.Serialization.JsonPropertyName("Active")] + public bool? Active { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public string CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundName")] + public string FundName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public string StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public string PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public string City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeAccount")] + public string FeeAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public string Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundEntityFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Active")] + public bool? Active { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundName")] + public bool? FundName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompanyNumber")] + public bool? CompanyNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public bool? Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddress")] + public bool? StreetAddress { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCode")] + public bool? PostalCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("City")] + public bool? City { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Jurisdiction")] + public bool? Jurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateFundEntitiesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateFundEntitiesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFundInstructionArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundInstructionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public System.Collections.Generic.ICollection ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhysicalDeliveryIndicator")] + public bool? PhysicalDeliveryIndicator { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionNos")] + public System.Collections.Generic.ICollection FundInstructionNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKeys")] + public System.Collections.Generic.ICollection StatusKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalFundBatchOrderIds")] + public System.Collections.Generic.ICollection ExternalFundBatchOrderIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentIds")] + public System.Collections.Generic.ICollection InstrumentIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedNAVCurrencyIds")] + public System.Collections.Generic.ICollection RequestedNAVCurrencyIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedSettlementCurrencyIds")] + public System.Collections.Generic.ICollection RequestedSettlementCurrencyIds { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public bool? ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhysicalDeliveryIndicator")] + public bool? PhysicalDeliveryIndicator { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionNo")] + public bool? FundInstructionNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalFundBatchOrderId")] + public bool? ExternalFundBatchOrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public bool? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstructionTypeKey")] + public bool? InstructionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedNAVCurrencyId")] + public bool? RequestedNAVCurrencyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedSettlementCurrencyId")] + public bool? RequestedSettlementCurrencyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundInstructionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFundInstructionResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public System.Guid? ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhysicalDeliveryIndicator")] + public bool? PhysicalDeliveryIndicator { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionNo")] + public string FundInstructionNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalFundBatchOrderId")] + public System.Guid? ExternalFundBatchOrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public System.Guid? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstructionTypeKey")] + public string InstructionTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedNAVCurrencyId")] + public System.Guid? RequestedNAVCurrencyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestedSettlementCurrencyId")] + public System.Guid? RequestedSettlementCurrencyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionStatusLogRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFundInstructionStatusLogArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundInstructionStatusLogFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionStatusLogArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructions")] + public System.Collections.Generic.ICollection FundInstructions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketPlaceOrderNos")] + public System.Collections.Generic.ICollection MarketPlaceOrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionNos")] + public System.Collections.Generic.ICollection FundInstructionNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKeys")] + public System.Collections.Generic.ICollection StatusKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceivedStatusTexts")] + public System.Collections.Generic.ICollection ReceivedStatusTexts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDateFrom")] + public System.DateTimeOffset? ReceiveDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDateTo")] + public System.DateTimeOffset? ReceiveDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionStatusLogFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstruction")] + public bool? FundInstruction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketPlaceOrderNo")] + public bool? MarketPlaceOrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionNo")] + public bool? FundInstructionNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceivedStatusText")] + public bool? ReceivedStatusText { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public bool? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionStatusLogResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundInstructionStatusLogFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFundInstructionStatusLogResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionStatusLogResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FundInstruction")] + public System.Guid? FundInstruction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketPlaceOrderNo")] + public string MarketPlaceOrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionNo")] + public string FundInstructionNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceivedStatusText")] + public string ReceivedStatusText { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public System.DateTimeOffset? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionExecutionRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetFundInstructionExecutionArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundInstructionExecutionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionExecutionArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructions")] + public System.Collections.Generic.ICollection FundInstructions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketplaceOrderNos")] + public System.Collections.Generic.ICollection MarketplaceOrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentCurrencys")] + public System.Collections.Generic.ICollection PaymentCurrencys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currencys")] + public System.Collections.Generic.ICollection Currencys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceivedStatusTexts")] + public System.Collections.Generic.ICollection ReceivedStatusTexts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateFrom")] + public System.DateTimeOffset? SettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDateTo")] + public System.DateTimeOffset? SettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateFrom")] + public System.DateTimeOffset? TradeDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDateTo")] + public System.DateTimeOffset? TradeDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionExecutionFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstruction")] + public bool? FundInstruction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionEventSource")] + public bool? FundInstructionEventSource { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketplaceOrderNo")] + public bool? MarketplaceOrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionNAV")] + public bool? ExecutionNAV { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentCurrency")] + public bool? PaymentCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public bool? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fee")] + public bool? Fee { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FxRate")] + public bool? FxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public bool? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionExecutionResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetFundInstructionExecutionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetFundInstructionExecutionResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundInstructionExecutionResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FundInstruction")] + public System.Guid? FundInstruction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundInstructionEventSource")] + public string FundInstructionEventSource { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketplaceOrderNo")] + public string MarketplaceOrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionNAV")] + public double? ExecutionNAV { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentCurrency")] + public System.Guid? PaymentCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public System.Guid? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fee")] + public double? Fee { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FxRate")] + public double? FxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public double? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SetHistoricPricesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("PriceDateEntries")] + public System.Collections.Generic.ICollection PriceDateEntries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClearAllPreviousData")] + public bool? ClearAllPreviousData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UpdateCurrentPriceFromLastPrice")] + public bool? UpdateCurrentPriceFromLastPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClearAllsubsequentData")] + public bool? ClearAllsubsequentData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClearPreviousDataByRange")] + public bool? ClearPreviousDataByRange { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record PriceDateEntry + { + + [System.Text.Json.Serialization.JsonPropertyName("AssetId")] + public System.Guid? AssetId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record SetHistoricPricesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public SetHistoricPricesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHoldingsOverTimeRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetHoldingsOverTimeArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHoldingsOverTimeResponseFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHoldingsOverTimeArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("Start")] + public System.DateTimeOffset? Start { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("End")] + public System.DateTimeOffset? End { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public string DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Assets")] + public System.Collections.Generic.ICollection Assets { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PercentageReturn")] + public bool? PercentageReturn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AbsoluteReturn")] + public bool? AbsoluteReturn { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHoldingsOverTimeResponseFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Date")] + public bool? Date { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public bool? Value { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHoldingsOverTimeResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHoldingsOverTimeResponseFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetHoldingsOverTimeResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHoldingsOverTimeResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Date")] + public System.DateTimeOffset? Date { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public double? Value { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHouseInformationRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetHouseInformationArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHouseInformationFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHouseInformationArgs + { + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHouseInformationFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrganizationNo")] + public bool? OrganizationNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public bool? LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseCurrencyCode")] + public bool? BaseCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public bool? BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public bool? GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHouseInformationResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHouseInformationFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetHouseInformationResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHouseInformationResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("OrganizationNo")] + public string OrganizationNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public string LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseCurrencyCode")] + public string BaseCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public string BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public string GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("EnablePagination")] + public bool? EnablePagination { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageIndex")] + public int? PageIndex { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageSize")] + public int? PageSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInstrumentsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInstrumentsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public int? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISINs")] + public System.Collections.Generic.ICollection ISINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDateFrom")] + public System.DateTimeOffset? LastSubscriptionDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDateTo")] + public System.DateTimeOffset? LastSubscriptionDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDateFrom")] + public System.DateTimeOffset? ExpirationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDateTo")] + public System.DateTimeOffset? ExpirationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MICs")] + public System.Collections.Generic.ICollection MICs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Names")] + public System.Collections.Generic.ICollection Names { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public System.Collections.Generic.ICollection DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Symbols")] + public System.Collections.Generic.ICollection Symbols { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public System.Collections.Generic.ICollection DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatuses")] + public System.Collections.Generic.ICollection InstrumentStatuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public System.Collections.Generic.ICollection VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterfaceKeys")] + public System.Collections.Generic.ICollection DefaultExecutionInterfaceKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuers")] + public System.Collections.Generic.ICollection Issuers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public System.Collections.Generic.ICollection DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountries")] + public System.Collections.Generic.ICollection TaxCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabels")] + public System.Collections.Generic.ICollection WhiteLabels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroups")] + public System.Collections.Generic.ICollection KnowledgeGroups { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public string ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public System.Collections.Generic.ICollection FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Collections.Generic.ICollection FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroups")] + public System.Collections.Generic.ICollection FeeGroups { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateFrom")] + public System.DateTimeOffset? LastUpdatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateTo")] + public System.DateTimeOffset? LastUpdatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public string FundClass { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public bool? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISIN")] + public bool? ISIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDate")] + public bool? LastSubscriptionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public bool? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public bool? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinAmount")] + public bool? MinAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxAmount")] + public bool? MaxAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentCategorization")] + public bool? InstrumentCategorization { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public bool? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MIC")] + public bool? MIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public bool? DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Symbol")] + public bool? Symbol { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public bool? DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public bool? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public bool? VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuer")] + public bool? Issuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterfaceKey")] + public bool? DefaultExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public bool? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Organizer")] + public bool? Organizer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public bool? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeCategoryKey")] + public bool? FeeCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCommissionPercentage")] + public bool? BuyCommissionPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCommissionPercentage")] + public bool? SellCommissionPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EarlySellFeePercentage")] + public bool? EarlySellFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCompensationPercentage")] + public bool? ProductCompensationPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstTradeDate")] + public bool? FirstTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastTradeDate")] + public bool? LastTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DatasheetURL")] + public bool? DatasheetURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockInPeriodDays")] + public bool? LockInPeriodDays { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsLimitedToAccountTypes")] + public bool? IsLimitedToAccountTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousClosePrice")] + public bool? PreviousClosePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public bool? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroup")] + public bool? KnowledgeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public bool? ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManagementFeePercentage")] + public bool? ManagementFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public bool? FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public bool? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroup")] + public bool? FeeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaces")] + public bool? ExecutionInterfaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public bool? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public bool? FundClass { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundStockProportions")] + public bool? FundStockProportions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInstrumentsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInstrumentsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public int? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISIN")] + public string ISIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDate")] + public System.DateTimeOffset? LastSubscriptionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public System.DateTimeOffset? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public int? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinAmount")] + public double? MinAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxAmount")] + public double? MaxAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public double? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public int? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousClosePrice")] + public double? PreviousClosePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentCategorization")] + public InstrumentCategorizationArray InstrumentCategorization { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public System.Guid? DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MIC")] + public string MIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Symbol")] + public string Symbol { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public int? DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public double? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public string VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuer")] + public System.Guid? Issuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterfaceKey")] + public string DefaultExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Organizer")] + public System.Guid? Organizer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeCategoryKey")] + public string FeeCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCommissionPercentage")] + public double? BuyCommissionPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCommissionPercentage")] + public double? SellCommissionPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EarlySellFeePercentage")] + public double? EarlySellFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCompensationPercentage")] + public double? ProductCompensationPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstTradeDate")] + public System.DateTimeOffset? FirstTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastTradeDate")] + public System.DateTimeOffset? LastTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DatasheetURL")] + public string DatasheetURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockInPeriodDays")] + public int? LockInPeriodDays { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsLimitedToAccountTypes")] + public bool? IsLimitedToAccountTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroup")] + public string KnowledgeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public string ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManagementFeePercentage")] + public double? ManagementFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public System.Guid? FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroup")] + public string FeeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaces")] + public System.Collections.Generic.ICollection ExecutionInterfaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public System.DateTimeOffset? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public string FundClass { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundStockProportions")] + public System.Collections.Generic.ICollection FundStockProportions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InstrumentCategorizationArray + { + + [System.Text.Json.Serialization.JsonPropertyName("Array")] + public System.Collections.Generic.ICollection Array { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ExecutionInterface + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCustodyAccount")] + public System.Guid? DefaultCustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterPartyAccount")] + public System.Guid? CounterPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterParty")] + public System.Guid? CounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyAmountAllowed")] + public bool? BuyAmountAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyUnitAllowed")] + public bool? BuyUnitAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellAmountAllowed")] + public bool? SellAmountAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellUnitAllowed")] + public bool? SellUnitAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNominalValueOrderEntry")] + public bool? IsNominalValueOrderEntry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public int? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinimumLotSize")] + [System.ComponentModel.DataAnnotations.Range(0D, double.MaxValue)] + public double? MinimumLotSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Enabled")] + public bool? Enabled { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetFundStockProportion + { + + [System.Text.Json.Serialization.JsonPropertyName("StockProportionCategorization")] + public string StockProportionCategorization { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StockPercentage")] + [System.ComponentModel.DataAnnotations.Range(0D, 100D)] + public double StockPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StockPercentageDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset StockPercentageDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InstrumentCategorizationItem + { + + [System.Text.Json.Serialization.JsonPropertyName("GroupKey")] + public string GroupKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Weight")] + public double? Weight { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsByNameRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInstrumentsByNameArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInstrumentsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsByNameArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("Names")] + public System.Collections.Generic.ICollection Names { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public int? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISINs")] + public System.Collections.Generic.ICollection ISINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDateFrom")] + public System.DateTimeOffset? LastSubscriptionDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDateTo")] + public System.DateTimeOffset? LastSubscriptionDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDateFrom")] + public System.DateTimeOffset? ExpirationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDateTo")] + public System.DateTimeOffset? ExpirationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MICs")] + public System.Collections.Generic.ICollection MICs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public System.Collections.Generic.ICollection DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Symbols")] + public System.Collections.Generic.ICollection Symbols { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public System.Collections.Generic.ICollection DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatuses")] + public System.Collections.Generic.ICollection InstrumentStatuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public System.Collections.Generic.ICollection VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterfaceKeys")] + public System.Collections.Generic.ICollection DefaultExecutionInterfaceKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuers")] + public System.Collections.Generic.ICollection Issuers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public System.Collections.Generic.ICollection DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountries")] + public System.Collections.Generic.ICollection TaxCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabels")] + public System.Collections.Generic.ICollection WhiteLabels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroups")] + public System.Collections.Generic.ICollection KnowledgeGroups { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public string ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public System.Collections.Generic.ICollection FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Collections.Generic.ICollection FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroups")] + public System.Collections.Generic.ICollection FeeGroups { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateFrom")] + public System.DateTimeOffset? LastUpdatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateTo")] + public System.DateTimeOffset? LastUpdatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public string FundClass { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInstrumentsByNameResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInstrumentsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInstrumentsByNameResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInstrumentRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record Instrument + { + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public int? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISIN")] + public string ISIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDate")] + public System.DateTimeOffset? LastSubscriptionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public System.DateTimeOffset? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public int? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public int? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradingCalendar")] + public string TradingCalendar { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementCalendar")] + public string SettlementCalendar { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public double? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public double? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public string VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentCategorization")] + public InstrumentCategorizationArray InstrumentCategorization { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public int DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Symbol")] + public string Symbol { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public System.Guid? DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuer")] + public System.Guid? Issuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Organizer")] + public System.Guid? Organizer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeCategoryKey")] + public string FeeCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyCommissionPercentage")] + public double? BuyCommissionPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellCommissionPercentage")] + public double? SellCommissionPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EarlySellFeePercentage")] + public double? EarlySellFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCompensationPercentage")] + public double? ProductCompensationPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstTradeDate")] + public System.DateTimeOffset? FirstTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastTradeDate")] + public System.DateTimeOffset? LastTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DatasheetURL")] + public string DatasheetURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LockInPeriodDays")] + public int? LockInPeriodDays { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsLimitedToAccountTypes")] + public bool? IsLimitedToAccountTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousClosePrice")] + public double? PreviousClosePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroup")] + public string KnowledgeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public string ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManagementFeePercentage")] + public double? ManagementFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public System.Guid? FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroup")] + public string FeeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaces")] + public System.Collections.Generic.ICollection ExecutionInterfaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundStockProportions")] + public System.Collections.Generic.ICollection FundStockProportions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterface")] + public string DefaultExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public string FundClass { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record FundStockProportion + { + + [System.Text.Json.Serialization.JsonPropertyName("StockPercentage")] + [System.ComponentModel.DataAnnotations.Range(0D, 100D)] + public double StockPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StockPercentageDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset StockPercentageDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInstrumentResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateInstrumentResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInstrumentsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateInstrumentFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInstrument + { + + [System.Text.Json.Serialization.JsonPropertyName("Symbol")] + public string Symbol { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DataSeries")] + public string DataSeries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public double? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public int? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISIN")] + public string ISIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDate")] + public System.DateTimeOffset? LastSubscriptionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public System.DateTimeOffset? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public int? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public int? DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public double? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public int? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentCategorization")] + public InstrumentCategorizationArray InstrumentCategorization { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public string VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public System.Guid? DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementCalender")] + public string SettlementCalender { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuer")] + public System.Guid? Issuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousClosePrice")] + public double? PreviousClosePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroup")] + public string KnowledgeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public string ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManagementFeePercentage")] + public double? ManagementFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public System.Guid? FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroup")] + public string FeeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DatasheetURL")] + public string DatasheetURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaces")] + public System.Collections.Generic.ICollection ExecutionInterfaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterface")] + public string DefaultExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public string FundClass { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundStockProportions")] + public System.Collections.Generic.ICollection FundStockProportions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInstrumentFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Symbol")] + public bool? Symbol { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public bool? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DataSeries")] + public bool? DataSeries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Value")] + public bool? Value { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public bool? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DebtInstrument")] + public bool? DebtInstrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentType")] + public bool? InstrumentType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ISIN")] + public bool? ISIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastSubscriptionDate")] + public bool? LastSubscriptionDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public bool? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public bool? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayDecimalsPrice")] + public bool? DisplayDecimalsPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public bool? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentStatus")] + public bool? InstrumentStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentCategorization")] + public bool? InstrumentCategorization { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("VisibleStatusKey")] + public bool? VisibleStatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultMarketPlace")] + public bool? DefaultMarketPlace { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementCalender")] + public bool? SettlementCalender { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Issuer")] + public bool? Issuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousClosePrice")] + public bool? PreviousClosePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public bool? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasMifidIIData")] + public bool? HasMifidIIData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KnowledgeGroup")] + public bool? KnowledgeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExPostCalcMethod")] + public bool? ExPostCalcMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ManagementFeePercentage")] + public bool? ManagementFeePercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundEntity")] + public bool? FundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public bool? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeGroup")] + public bool? FeeGroup { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DatasheetURL")] + public bool? DatasheetURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EnableMifidIITenPercentAlert")] + public bool? EnableMifidIITenPercentAlert { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaces")] + public bool? ExecutionInterfaces { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterface")] + public bool? DefaultExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExcludeFromFeeRelatedSelling")] + public bool? ExcludeFromFeeRelatedSelling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundClass")] + public bool? FundClass { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundStockProportions")] + public bool? FundStockProportions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateExecutionInterface + { + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccount")] + public System.Guid? CustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterParty")] + public System.Guid? CounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterPartyAccount")] + public System.Guid? CounterPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyAmountAllowed")] + public bool? BuyAmountAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyUnitAllowed")] + public bool? BuyUnitAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellAmountAllowed")] + public bool? SellAmountAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellUnitAllowed")] + public bool? SellUnitAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNominalValueOrderEntry")] + public bool? IsNominalValueOrderEntry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinimumLotSize")] + [System.ComponentModel.DataAnnotations.Range(0D, double.MaxValue)] + public double? MinimumLotSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public int? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Enabled")] + public bool? Enabled { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInstrumentResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateInstrumentResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateManualExecutionInterfaceRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ManualExecutionInterfaceOld + { + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public System.Guid? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultExecutionInterface")] + public bool? DefaultExecutionInterface { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustodyAccount")] + public System.Guid? CustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeCategory")] + public string FeeCategory { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCustodyAccount")] + public System.Guid? DefaultCustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterPartyAccount")] + public System.Guid? CounterPartyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CounterParty")] + public System.Guid? CounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyAmountAllowed")] + public bool? BuyAmountAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BuyUnitAllowed")] + public bool? BuyUnitAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellAmountAllowed")] + public bool? SellAmountAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SellUnitAllowed")] + public bool? SellUnitAllowed { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNominalValueOrderEntry")] + public bool? IsNominalValueOrderEntry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QuantityDecimals")] + public int? QuantityDecimals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinimumLotSize")] + [System.ComponentModel.DataAnnotations.Range(0D, double.MaxValue)] + public double? MinimumLotSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Enabled")] + public bool? Enabled { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateManualExecutionInterfaceResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateManualExecutionInterfaceResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceClaimsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInsuranceClaimsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsuranceClaimsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceClaimsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicyIds")] + public System.Collections.Generic.ICollection InsurancePolicyIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCoverIds")] + public System.Collections.Generic.ICollection InsuranceCoverIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductIds")] + public System.Collections.Generic.ICollection InsuranceProductIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductNames")] + public System.Collections.Generic.ICollection InsuranceProductNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BenefitGrants")] + public System.Collections.Generic.ICollection BenefitGrants { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonIds")] + public System.Collections.Generic.ICollection PersonIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDateFrom")] + public System.DateTimeOffset? SystemDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDateTo")] + public System.DateTimeOffset? SystemDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDateFrom")] + public System.DateTimeOffset? ReceiveDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDateTo")] + public System.DateTimeOffset? ReceiveDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDateFrom")] + public System.DateTimeOffset? ClaimDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDateTo")] + public System.DateTimeOffset? ClaimDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimNos")] + public System.Collections.Generic.ICollection ClaimNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Statuses")] + public System.Collections.Generic.ICollection Statuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priorities")] + public System.Collections.Generic.ICollection Priorities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RejectReasons")] + public System.Collections.Generic.ICollection RejectReasons { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public string Comments { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceClaimsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicyId")] + public bool? InsurancePolicyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductId")] + public bool? InsuranceProductId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductName")] + public bool? InsuranceProductName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCoverId")] + public bool? InsuranceCoverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BenefitGrant")] + public bool? BenefitGrant { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public bool? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDate")] + public bool? SystemDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public bool? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDate")] + public bool? ClaimDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimNo")] + public bool? ClaimNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public bool? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public bool? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RejectReason")] + public bool? RejectReason { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormFillOut")] + public bool? XmlFormFillOut { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceClaimsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsuranceClaimsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInsuranceClaimsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceClaimsResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicyId")] + public System.Guid? InsurancePolicyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCoverId")] + public System.Guid? InsuranceCoverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductId")] + public System.Guid? InsuranceProductId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductName")] + public string InsuranceProductName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BenefitGrant")] + public double? BenefitGrant { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public System.Guid? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDate")] + public System.DateTimeOffset? SystemDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public System.DateTimeOffset? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDate")] + public System.DateTimeOffset? ClaimDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimNo")] + public string ClaimNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public int? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public int? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RejectReason")] + public int? RejectReason { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormFillOut")] + public string XmlFormFillOut { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInsuranceClaimsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InsuranceClaim + { + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicyId")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.Guid InsurancePolicyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCoverId")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.Guid InsuranceCoverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductId")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.Guid InsuranceProductId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BenefitGrant")] + public double? BenefitGrant { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public System.Guid? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDate")] + public System.DateTimeOffset? SystemDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public System.DateTimeOffset? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDate")] + public System.DateTimeOffset? ClaimDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimNo")] + public string ClaimNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public int? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public int? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RejectReason")] + public int? RejectReason { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormFillOut")] + public string XmlFormFillOut { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInsuranceClaimsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateInsuranceClaimsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceClaimsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateInsuranceClaimsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceClaim + { + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicyId")] + public System.Guid? InsurancePolicyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCoverId")] + public System.Guid? InsuranceCoverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BenefitGrant")] + public double? BenefitGrant { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public System.Guid? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDate")] + public System.DateTimeOffset? SystemDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public System.DateTimeOffset? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDate")] + public System.DateTimeOffset? ClaimDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimNo")] + public string ClaimNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public int? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public int? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RejectReason")] + public int? RejectReason { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormFillOut")] + public string XmlFormFillOut { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceClaimsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurancePolicyId")] + public bool? InsurancePolicyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCoverId")] + public bool? InsuranceCoverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BenefitGrant")] + public bool? BenefitGrant { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonId")] + public bool? PersonId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SystemDate")] + public bool? SystemDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReceiveDate")] + public bool? ReceiveDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimDate")] + public bool? ClaimDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public bool? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public bool? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RejectReason")] + public bool? RejectReason { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormFillOut")] + public bool? XmlFormFillOut { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceClaimsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateInsuranceClaimsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceCoversRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInsuranceCoversArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsuranceCoversFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceCoversArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Labels")] + public System.Collections.Generic.ICollection Labels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Names")] + public System.Collections.Generic.ICollection Names { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionStrings")] + public System.Collections.Generic.ICollection DescriptionStrings { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Statuses")] + public System.Collections.Generic.ICollection Statuses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QualificationPeriods")] + public System.Collections.Generic.ICollection QualificationPeriods { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReQualificationPeriods")] + public System.Collections.Generic.ICollection ReQualificationPeriods { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QualifyingPeriods")] + public System.Collections.Generic.ICollection QualifyingPeriods { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompensationTypes")] + public System.Collections.Generic.ICollection CompensationTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxCompensations")] + public System.Collections.Generic.ICollection MaxCompensations { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinSubscriptionAges")] + public System.Collections.Generic.ICollection MinSubscriptionAges { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxSubscriptionAges")] + public System.Collections.Generic.ICollection MaxSubscriptionAges { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxAges")] + public System.Collections.Generic.ICollection MaxAges { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Deductibles")] + public System.Collections.Generic.ICollection Deductibles { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceCoversFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public bool? Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public bool? DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public bool? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QualificationPeriod")] + public bool? QualificationPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReQualificationPeriod")] + public bool? ReQualificationPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QualifyingPeriod")] + public bool? QualifyingPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompensationType")] + public bool? CompensationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxCompensation")] + public bool? MaxCompensation { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinSubscriptionAge")] + public bool? MinSubscriptionAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxSubscriptionAge")] + public bool? MaxSubscriptionAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxAge")] + public bool? MaxAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Deductible")] + public bool? Deductible { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormTemplate")] + public bool? XmlFormTemplate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceCoversResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsuranceCoversFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInsuranceCoversResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceCoversResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public string Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public string DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public int? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QualificationPeriod")] + public string QualificationPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReQualificationPeriod")] + public string ReQualificationPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("QualifyingPeriod")] + public string QualifyingPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CompensationType")] + public string CompensationType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxCompensation")] + public double? MaxCompensation { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinSubscriptionAge")] + public int? MinSubscriptionAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxSubscriptionAge")] + public int? MaxSubscriptionAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxAge")] + public int? MaxAge { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Deductible")] + public double? Deductible { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("XmlFormTemplate")] + public string XmlFormTemplate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsurancePolicyRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInsurancePolicyArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsurancePolicyFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsurancePolicyArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDateFrom")] + public System.DateTimeOffset? InitialActivationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDateTo")] + public System.DateTimeOffset? InitialActivationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyNos")] + public System.Collections.Generic.ICollection PolicyNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SecondInsuredLegalEntityIds")] + public System.Collections.Generic.ICollection SecondInsuredLegalEntityIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDateFrom")] + public System.DateTimeOffset? ExpirationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDateTo")] + public System.DateTimeOffset? ExpirationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Premiums")] + public System.Collections.Generic.ICollection Premiums { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumFrequencies")] + public System.Collections.Generic.ICollection PremiumFrequencies { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public System.Collections.Generic.ICollection Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDateFrom")] + public System.DateTimeOffset? SignDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDateTo")] + public System.DateTimeOffset? SignDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TerminationDateFrom")] + public System.DateTimeOffset? TerminationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TerminationDateTo")] + public System.DateTimeOffset? TerminationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDateFrom")] + public System.DateTimeOffset? CancellationDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDateTo")] + public System.DateTimeOffset? CancellationDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OwnerIds")] + public System.Collections.Generic.ICollection OwnerIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountIds")] + public System.Collections.Generic.ICollection AccountIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramIds")] + public System.Collections.Generic.ICollection InsuranceProgramIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramNames")] + public System.Collections.Generic.ICollection InsuranceProgramNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyPeriods")] + public System.Collections.Generic.ICollection PolicyPeriods { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodStartDate")] + public System.DateTimeOffset? PeriodStartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodEndDate")] + public System.DateTimeOffset? PeriodEndDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsurancePolicyFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OwnerId")] + public bool? OwnerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyNo")] + public bool? PolicyNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SecondInsuredLegalEntityId")] + public bool? SecondInsuredLegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public bool? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Premium")] + public bool? Premium { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumFrequency")] + public bool? PremiumFrequency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public bool? Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDate")] + public bool? SignDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDate")] + public bool? InitialActivationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TerminationDate")] + public bool? TerminationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDate")] + public bool? CancellationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramId")] + public bool? InsuranceProgramId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramName")] + public bool? InsuranceProgramName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyPeriod")] + public bool? PolicyPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodStartDate")] + public bool? PeriodStartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodEndDate")] + public bool? PeriodEndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsurancePolicyResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsurancePolicyFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInsurancePolicyResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsurancePolicyResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("OwnerId")] + public System.Guid? OwnerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyNo")] + public string PolicyNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SecondInsuredLegalEntityId")] + public System.Guid? SecondInsuredLegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public System.DateTimeOffset? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Premium")] + public double? Premium { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumFrequency")] + public int? PremiumFrequency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public string Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDate")] + public System.DateTimeOffset? SignDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TerminationDate")] + public System.DateTimeOffset? TerminationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDate")] + public System.DateTimeOffset? CancellationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramId")] + public System.Guid? InsuranceProgramId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramName")] + public string InsuranceProgramName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyPeriod")] + public int? PolicyPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodStartDate")] + public System.DateTimeOffset? PeriodStartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodEndDate")] + public System.DateTimeOffset? PeriodEndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDate")] + public System.DateTimeOffset? InitialActivationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInsurancePolicyRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InsurancePolicy + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OwnerId")] + public System.Guid? OwnerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public System.Guid? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public System.DateTimeOffset? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProgramId")] + public System.Guid? InsuranceProgramId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public string Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyPeriod")] + [System.ComponentModel.DataAnnotations.Range(0, 2147483647)] + public int PolicyPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Premium")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? Premium { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumFrequency")] + [System.ComponentModel.DataAnnotations.Range(0, 2147483647)] + public int? PremiumFrequency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SecondInsuredLegalEntityId")] + public System.Guid? SecondInsuredLegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDate")] + public System.DateTimeOffset? SignDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDate")] + public System.DateTimeOffset? InitialActivationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyNo")] + public string PolicyNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodStartDate")] + public System.DateTimeOffset? PeriodStartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodEndDate")] + public System.DateTimeOffset? PeriodEndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInsurancePolicyResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateInsurancePolicyResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsurancePoliciesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateInsurancePolicyFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsurancePolicy + { + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public System.DateTimeOffset? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public string Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyPeriod")] + public int? PolicyPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Premium")] + public double? Premium { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumFrequency")] + public int? PremiumFrequency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SecondInsuredLegalEntityId")] + public System.Guid? SecondInsuredLegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDate")] + public System.DateTimeOffset? SignDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDate")] + public System.DateTimeOffset? InitialActivationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodStartDate")] + public System.DateTimeOffset? PeriodStartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodEndDate")] + public System.DateTimeOffset? PeriodEndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastPartnetInvoiceDate")] + public System.DateTimeOffset? LastPartnetInvoiceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDate")] + public System.DateTimeOffset? CancellationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TerminationDate")] + public System.DateTimeOffset? TerminationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsurancePolicyFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpirationDate")] + public bool? ExpirationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public bool? Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PolicyPeriod")] + public bool? PolicyPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Premium")] + public bool? Premium { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumFrequency")] + public bool? PremiumFrequency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SecondInsuredLegalEntityId")] + public bool? SecondInsuredLegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SignDate")] + public bool? SignDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InitialActivationDate")] + public bool? InitialActivationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodStartDate")] + public bool? PeriodStartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodEndDate")] + public bool? PeriodEndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastPartnerInvoiceDate")] + public bool? LastPartnerInvoiceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CancellationDate")] + public bool? CancellationDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TerminationDate")] + public bool? TerminationDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsurancePoliciesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateInsurancePoliciesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceProductsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInsuranceProductsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsuranceProductsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceProductsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductSupplierIds")] + public System.Collections.Generic.ICollection InsuranceProductSupplierIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerIds")] + public System.Collections.Generic.ICollection ResellerIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrokerIds")] + public System.Collections.Generic.ICollection BrokerIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AdminsitratorIds")] + public System.Collections.Generic.ICollection AdminsitratorIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountManagerIds")] + public System.Collections.Generic.ICollection AccountManagerIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimsAdjusterIds")] + public System.Collections.Generic.ICollection ClaimsAdjusterIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductTypeKeys")] + public System.Collections.Generic.ICollection InsuranceProductTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCategoryKeys")] + public System.Collections.Generic.ICollection InsuranceCategoryKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Names")] + public System.Collections.Generic.ICollection Names { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionStrings")] + public System.Collections.Generic.ICollection DescriptionStrings { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCodes")] + public System.Collections.Generic.ICollection ProductCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKeys")] + public System.Collections.Generic.ICollection StatusKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Countries")] + public System.Collections.Generic.ICollection Countries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf12s")] + public System.Collections.Generic.ICollection RuleOf12s { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf45s")] + public System.Collections.Generic.ICollection RuleOf45s { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf72s")] + public System.Collections.Generic.ICollection RuleOf72s { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currencies")] + public System.Collections.Generic.ICollection Currencies { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCommissions")] + public System.Collections.Generic.ICollection InsuranceCommissions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Retentions")] + public System.Collections.Generic.ICollection Retentions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProfitShares")] + public System.Collections.Generic.ICollection ProfitShares { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsNo")] + public System.Collections.Generic.ICollection TermsNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsUrls")] + public System.Collections.Generic.ICollection TermsUrls { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductVersions")] + public System.Collections.Generic.ICollection ProductVersions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDateFrom")] + public System.DateTimeOffset? StartDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDateTo")] + public System.DateTimeOffset? StartDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDateFrom")] + public System.DateTimeOffset? EndDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDateTo")] + public System.DateTimeOffset? EndDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxTerms")] + public System.Collections.Generic.ICollection MaxTerms { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurableInterests")] + public System.Collections.Generic.ICollection InsurableInterests { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GrossPrices")] + public System.Collections.Generic.ICollection GrossPrices { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumBasedOns")] + public System.Collections.Generic.ICollection PremiumBasedOns { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NetPrices")] + public System.Collections.Generic.ICollection NetPrices { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ChargeIntervals")] + public System.Collections.Generic.ICollection ChargeIntervals { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SaleMethods")] + public System.Collections.Generic.ICollection SaleMethods { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public System.Collections.Generic.ICollection Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealTypeKeys")] + public System.Collections.Generic.ICollection DealTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodOfNotices")] + public System.Collections.Generic.ICollection PeriodOfNotices { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDateFrom")] + public System.DateTimeOffset? RAFApprovedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDateTo")] + public System.DateTimeOffset? RAFApprovedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceTaxes")] + public System.Collections.Generic.ICollection InsuranceTaxes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceProductsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductSupplierId")] + public bool? InsuranceProductSupplierId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public bool? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrokerId")] + public bool? BrokerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AdministratorId")] + public bool? AdministratorId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountManagerId")] + public bool? AccountManagerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimsAdjusterId")] + public bool? ClaimsAdjusterId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductTypeKey")] + public bool? InsuranceProductTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCategoryKey")] + public bool? InsuranceCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public bool? DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCode")] + public bool? ProductCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf12")] + public bool? RuleOf12 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf45")] + public bool? RuleOf45 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf78")] + public bool? RuleOf78 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public bool? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCommission")] + public bool? InsuranceCommission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Retention")] + public bool? Retention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProfitShare")] + public bool? ProfitShare { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsNo")] + public bool? TermsNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsURL")] + public bool? TermsURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductVersion")] + public bool? ProductVersion { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDate")] + public bool? StartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDate")] + public bool? EndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxTerm")] + public bool? MaxTerm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurableInterest")] + public bool? InsurableInterest { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GrossPrice")] + public bool? GrossPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumBasedOn")] + public bool? PremiumBasedOn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NetPrice")] + public bool? NetPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ChargeInterval")] + public bool? ChargeInterval { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SaleMethod")] + public bool? SaleMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public bool? Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealTypeKey")] + public bool? DealTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodOfNotice")] + public bool? PeriodOfNotice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDate")] + public bool? RAFApprovedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceTax")] + public bool? InsuranceTax { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceProductsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInsuranceProductsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInsuranceProductsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInsuranceProductsResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductSupplierId")] + public System.Guid? InsuranceProductSupplierId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public System.Guid? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrokerId")] + public System.Guid? BrokerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AdministratorId")] + public System.Guid? AdministratorId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountManagerId")] + public System.Guid? AccountManagerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimsAdjusterId")] + public System.Guid? ClaimsAdjusterId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductTypeKey")] + public string InsuranceProductTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCategoryKey")] + public string InsuranceCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public string DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCode")] + public string ProductCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf12")] + public double? RuleOf12 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf45")] + public double? RuleOf45 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf78")] + public double? RuleOf78 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyId")] + public System.Guid? CurrencyId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCommission")] + public double? InsuranceCommission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Retention")] + public double? Retention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProfitShare")] + public double? ProfitShare { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsNo")] + public string TermsNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsURL")] + public string TermsURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductVersion")] + public string ProductVersion { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDate")] + public System.DateTimeOffset? StartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDate")] + public System.DateTimeOffset? EndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxTerm")] + public string MaxTerm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurableInterest")] + public string InsurableInterest { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GrossPrice")] + public double? GrossPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumBasedOn")] + public string PremiumBasedOn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NetPrice")] + public double? NetPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ChargeInterval")] + public int? ChargeInterval { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SaleMethod")] + public string SaleMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public string Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealTypeKey")] + public string DealTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodOfNotice")] + public int? PeriodOfNotice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDate")] + public System.DateTimeOffset? RAFApprovedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceTax")] + public double? InsuranceTax { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInsuranceProductsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InsuranceProduct + { + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductSupplierId")] + public System.Guid? InsuranceProductSupplierId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public System.Guid? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrookerId")] + public System.Guid? BrookerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AdministratorId")] + public System.Guid? AdministratorId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountManagerId")] + public System.Guid? AccountManagerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimsAdjusterId")] + public System.Guid? ClaimsAdjusterId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductTypeKey")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string InsuranceProductTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCategoryKey")] + public string InsuranceCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public string DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCode")] + public string ProductCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf12")] + public double? RuleOf12 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf45")] + public double? RuleOf45 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf78")] + public double? RuleOf78 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCommission")] + public double? InsuranceCommission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Retention")] + public double? Retention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProfitShare")] + public double? ProfitShare { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsNo")] + public string TermsNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsURL")] + public string TermsURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductVersion")] + public string ProductVersion { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDate")] + public System.DateTimeOffset? StartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDate")] + public System.DateTimeOffset? EndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxTerm")] + public string MaxTerm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurableInterest")] + public string InsurableInterest { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GrossPrice")] + public double? GrossPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumBasedOn")] + public string PremiumBasedOn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NetPrice")] + public double? NetPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ChargeInterval")] + public int? ChargeInterval { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SaleMethod")] + public string SaleMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public string Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealTypeKey")] + public string DealTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodOfNotice")] + public int? PeriodOfNotice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDate")] + public System.DateTimeOffset? RAFApprovedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceTax")] + public double? InsuranceTax { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInsuranceProductsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateInsuranceProductsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceProductsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateInsuranceProductFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceProduct + { + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductSupplierId")] + public System.Guid? InsuranceProductSupplierId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public System.Guid? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrokerId")] + public System.Guid? BrokerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AdministratorId")] + public System.Guid? AdministratorId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountManagerId")] + public System.Guid? AccountManagerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimsAdjusterId")] + public System.Guid? ClaimsAdjusterId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductTypeKey")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string InsuranceProductTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCategoryKey")] + public string InsuranceCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public string DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCode")] + public string ProductCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf12")] + public double? RuleOf12 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf45")] + public double? RuleOf45 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf78")] + public double? RuleOf78 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public System.Guid? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCommission")] + public double? InsuranceCommission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Retention")] + public double? Retention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProfitShare")] + public double? ProfitShare { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsNo")] + public string TermsNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsURL")] + public string TermsURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductVersion")] + public string ProductVersion { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDate")] + public System.DateTimeOffset? StartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDate")] + public System.DateTimeOffset? EndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxTerm")] + public string MaxTerm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurableInterest")] + public string InsurableInterest { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GrossPrice")] + public double? GrossPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumBasedOn")] + public string PremiumBasedOn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NetPrice")] + public double? NetPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ChargeInterval")] + public int? ChargeInterval { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SaleMethod")] + public string SaleMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public string Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealTypeKey")] + public string DealTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodOfNotice")] + public int? PeriodOfNotice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDate")] + public System.DateTimeOffset? RAFApprovedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceTax")] + public double? InsuranceTax { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceProductFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductSupplierId")] + public bool? InsuranceProductSupplierId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public bool? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrookerId")] + public bool? BrookerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AdministratorId")] + public bool? AdministratorId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountManagerId")] + public bool? AccountManagerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ClaimsAdjusterId")] + public bool? ClaimsAdjusterId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceProductTypeId")] + public bool? InsuranceProductTypeId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCategoryKey")] + public bool? InsuranceCategoryKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Name")] + public bool? Name { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DescriptionString")] + public bool? DescriptionString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductCode")] + public bool? ProductCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf12")] + public bool? RuleOf12 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf45")] + public bool? RuleOf45 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RuleOf78")] + public bool? RuleOf78 { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Currency")] + public bool? Currency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceCommission")] + public bool? InsuranceCommission { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Retention")] + public bool? Retention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProfitShare")] + public bool? ProfitShare { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsNo")] + public bool? TermsNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TermsURL")] + public bool? TermsURL { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ProductVersion")] + public bool? ProductVersion { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StartDate")] + public bool? StartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDate")] + public bool? EndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MaxTerm")] + public bool? MaxTerm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsurableInterest")] + public bool? InsurableInterest { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GrossPrice")] + public bool? GrossPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PremiumBasedOn")] + public bool? PremiumBasedOn { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("NetPrice")] + public bool? NetPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ChargeInterval")] + public bool? ChargeInterval { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SaleMethod")] + public bool? SaleMethod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Parameters")] + public bool? Parameters { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DealTypeKey")] + public bool? DealTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodOfNotice")] + public bool? PeriodOfNotice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RAFApprovedDate")] + public bool? RAFApprovedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InsuranceTax")] + public bool? InsuranceTax { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateInsuranceProductsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateInsuranceProductsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalCashTransferOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInternalCashTransferOrderArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInternalCashTransferOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalCashTransferOrderArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumbers")] + public System.Collections.Generic.ICollection FromAccountNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickIds")] + public System.Collections.Generic.ICollection FromAccountBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumbers")] + public System.Collections.Generic.ICollection ToAccountNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickIds")] + public System.Collections.Generic.ICollection ToAccountBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAmount")] + public double? FromAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAmount")] + public double? ToAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromTradeDate")] + public System.DateTimeOffset? FromTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToTradeDate")] + public System.DateTimeOffset? ToTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromSettlementDate")] + public System.DateTimeOffset? FromSettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToSettlementDate")] + public System.DateTimeOffset? ToSettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromValueDate")] + public System.DateTimeOffset? FromValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToValueDate")] + public System.DateTimeOffset? ToValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCodes")] + public System.Collections.Generic.ICollection CurrencyCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAssetBrickIds")] + public System.Collections.Generic.ICollection CashAssetBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderStatus")] + public System.Collections.Generic.ICollection OrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalCashTransferOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumber")] + public bool? FromAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickId")] + public bool? FromAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumber")] + public bool? ToAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickId")] + public bool? ToAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public bool? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public bool? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAssetBrickId")] + public bool? CashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderStatus")] + public bool? OrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalCashTransferOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInternalCashTransferOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInternalCashTransferOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalCashTransferOrderResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumber")] + public string FromAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumber")] + public string ToAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickId")] + public System.Guid? FromAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickId")] + public System.Guid? ToAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public System.DateTimeOffset? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAssetBrickId")] + public System.Guid? CashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderStatus")] + public string OrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInternalCashTransferOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InternalCashTransferOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAssetBrickId")] + public System.Guid? CashAssetBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumber")] + public string FromAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumber")] + public string ToAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickId")] + public System.Guid? FromAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickId")] + public System.Guid? ToAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInternalCashTransferOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateInternalCashTransferOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalInstrumentTransferOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetInternalInstrumentTransferOrderArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInternalInstrumentTransferOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalInstrumentTransferOrderArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumbers")] + public System.Collections.Generic.ICollection FromAccountNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickIds")] + public System.Collections.Generic.ICollection FromAccountBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumbers")] + public System.Collections.Generic.ICollection ToAccountNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickIds")] + public System.Collections.Generic.ICollection ToAccountBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromUnits")] + public double? FromUnits { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToUnits")] + public double? ToUnits { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromTradeDate")] + public System.DateTimeOffset? FromTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToTradeDate")] + public System.DateTimeOffset? ToTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromSettlementDate")] + public System.DateTimeOffset? FromSettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToSettlementDate")] + public System.DateTimeOffset? ToSettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromValueDate")] + public System.DateTimeOffset? FromValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToValueDate")] + public System.DateTimeOffset? ToValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentBrickIds")] + public System.Collections.Generic.ICollection InstrumentBrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAcquisitionValue")] + public double? FromAcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAcquisitionValue")] + public double? ToAcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAcquisitionPrice")] + public double? FromAcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAcquisitionPrice")] + public double? ToAcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAcquisitionValueAccountCurrency")] + public double? FromAcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAcquisitionValueAccountCurrency")] + public double? ToAcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAcquisitionPriceAccountCurrency")] + public double? FromAcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAcquisitionPriceAccountCurrency")] + public double? ToAcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideOwnershipChangeValidation")] + public bool? OverrideOwnershipChangeValidation { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Isin")] + public System.Collections.Generic.ICollection Isin { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderStatus")] + public System.Collections.Generic.ICollection OrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalInstrumentTransferOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumber")] + public bool? FromAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickId")] + public bool? FromAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumber")] + public bool? ToAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickId")] + public bool? ToAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Units")] + public bool? Units { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public bool? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public bool? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public bool? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentBrickId")] + public bool? InstrumentBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public bool? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPrice")] + public bool? AcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public bool? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceAccountCurrency")] + public bool? AcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideOwnershipChangeValidation")] + public bool? OverrideOwnershipChangeValidation { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Isin")] + public bool? Isin { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderStatus")] + public bool? OrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalInstrumentTransferOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetInternalInstrumentTransferOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetInternalInstrumentTransferOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetInternalInstrumentTransferOrderResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumber")] + public string FromAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumber")] + public string ToAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickId")] + public System.Guid? FromAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickId")] + public System.Guid? ToAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Units")] + public double? Units { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + public System.DateTimeOffset? TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + public System.DateTimeOffset? SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + public System.DateTimeOffset? ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentBrickId")] + public System.Guid? InstrumentBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public double? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPrice")] + public double? AcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public double? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceAccountCurrency")] + public double? AcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideOwnershipChangeValidation")] + public bool? OverrideOwnershipChangeValidation { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Isin")] + public string Isin { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderStatus")] + public string OrderStatus { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInternalInstrumentTransferOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InternalInstrumentTransferOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("Units")] + public double? Units { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentBrickId")] + public System.Guid? InstrumentBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public double? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPrice")] + public double? AcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public double? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceAccountCurrency")] + public double? AcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideOwnershipChangeValidation")] + public bool? OverrideOwnershipChangeValidation { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountNumber")] + public string FromAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountNumber")] + public string ToAccountNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromAccountBrickId")] + public System.Guid? FromAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToAccountBrickId")] + public System.Guid? ToAccountBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset TradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SettlementDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset SettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueDate")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset ValueDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateInternalInstrumentTransferOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateInternalInstrumentTransferOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ExecuteInternalTransferOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ExecuteInternalTransferOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("InternalTransferOrderBrickId")] + public System.Guid? InternalTransferOrderBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record ExecuteInternalTransferOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public ExecuteInternalTransferOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteInternalTransferOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteInternalTransferOrder + { + + [System.Text.Json.Serialization.JsonPropertyName("InternalTransferOrderBrickId")] + public System.Guid? InternalTransferOrderBrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteInternalTransferOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public DeleteInternalTransferOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetMessagesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetMessagesArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetMessagesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetMessagesArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Receivers")] + public System.Collections.Generic.ICollection Receivers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Subjects")] + public System.Collections.Generic.ICollection Subjects { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Bodies")] + public System.Collections.Generic.ICollection Bodies { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDateFrom")] + public System.DateTimeOffset? EventDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDateTo")] + public System.DateTimeOffset? EventDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRead")] + public bool? IsRead { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPublic")] + public bool? IsPublic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPromoted")] + public bool? IsPromoted { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public System.Collections.Generic.ICollection Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public System.Collections.Generic.ICollection Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TypeKey")] + public string TypeKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetMessagesFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Receiver")] + public bool? Receiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Subject")] + public bool? Subject { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Body")] + public bool? Body { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRead")] + public bool? IsRead { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPublic")] + public bool? IsPublic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPromoted")] + public bool? IsPromoted { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public bool? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public bool? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public bool? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetMessagesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetMessagesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetMessagesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetMessagesResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Receiver")] + public System.Guid? Receiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Subject")] + public string Subject { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Body")] + public string Body { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRead")] + public bool? IsRead { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPublic")] + public bool? IsPublic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPromoted")] + public bool? IsPromoted { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public System.DateTimeOffset? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public string Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public string Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateMessagesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateMessage + { + + [System.Text.Json.Serialization.JsonPropertyName("Receiver")] + public System.Guid? Receiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Subject")] + public string Subject { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Body")] + public string Body { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRead")] + public bool? IsRead { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPublic")] + public bool? IsPublic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPromoted")] + public bool? IsPromoted { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public System.DateTimeOffset? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public string Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public string Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendMail")] + public bool? SendMail { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendMailNotification")] + public bool? SendMailNotification { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateMessagesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateMessagesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateMessageRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateMessageFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateMessage + { + + [System.Text.Json.Serialization.JsonPropertyName("Receiver")] + public System.Guid? Receiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Subject")] + public string Subject { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Body")] + public string Body { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRead")] + public bool? IsRead { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPublic")] + public bool? IsPublic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPromoted")] + public bool? IsPromoted { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public System.DateTimeOffset? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public string Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public string Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateMessageFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Receiver")] + public bool? Receiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Subject")] + public bool? Subject { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Body")] + public bool? Body { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRead")] + public bool? IsRead { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPublic")] + public bool? IsPublic { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPromoted")] + public bool? IsPromoted { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public bool? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Priority")] + public bool? Priority { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Status")] + public bool? Status { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateMessageResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateMessageResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetNotesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetNotesArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetNotesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetNotesArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Users")] + public System.Collections.Generic.ICollection Users { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Headings")] + public System.Collections.Generic.ICollection Headings { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Texts")] + public System.Collections.Generic.ICollection Texts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDateFrom")] + public System.DateTimeOffset? EventDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDateTo")] + public System.DateTimeOffset? EventDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TypeKey")] + public string TypeKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetNotesFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("User")] + public bool? User { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Heading")] + public bool? Heading { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Text")] + public bool? Text { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public bool? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetNotesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetNotesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetNotesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetNotesResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("User")] + public System.Guid? User { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Heading")] + public string Heading { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Text")] + public string Text { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public System.DateTimeOffset? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateNotesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateNote + { + + [System.Text.Json.Serialization.JsonPropertyName("User")] + public System.Guid? User { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Heading")] + public string Heading { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Text")] + public string Text { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public System.DateTimeOffset? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateNotesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateNotesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateNoteRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateNoteFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateNote + { + + [System.Text.Json.Serialization.JsonPropertyName("User")] + public System.Guid? User { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Heading")] + public string Heading { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Text")] + public string Text { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public System.DateTimeOffset? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateNoteFields + { + + [System.Text.Json.Serialization.JsonPropertyName("User")] + public bool? User { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Heading")] + public bool? Heading { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Text")] + public bool? Text { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EventDate")] + public bool? EventDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsHTML")] + public bool? IsHTML { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateNoteResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateNoteResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetOrderTypeRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetOrderTypeArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetOrderTypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetOrderTypeArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionCoveringSequence")] + public string TransactionCoveringSequence { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UseFreeCash")] + public bool? UseFreeCash { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetOrderTypeFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public bool? Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionType")] + public bool? BusinessTransactionType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionCoveringSequence")] + public bool? TransactionCoveringSequence { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UseFreeCash")] + public bool? UseFreeCash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetOrderTypeResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetOrderTypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetOrderTypeResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetOrderTypeResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public string Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessTransactionType")] + public System.Guid? BusinessTransactionType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransactionCoveringSequence")] + public System.Collections.Generic.ICollection TransactionCoveringSequence { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UseFreeCash")] + public bool? UseFreeCash { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPersonRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("EnablePagination")] + public bool? EnablePagination { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageIndex")] + public int? PageIndex { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageSize")] + public int? PageSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetPersonArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPersonFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPersonArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNos")] + public System.Collections.Generic.ICollection CustomerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserNames")] + public System.Collections.Generic.ICollection UserNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumbers")] + public System.Collections.Generic.ICollection PersonalNumbers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDateFrom")] + public System.DateTimeOffset? BirthDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDateTo")] + public System.DateTimeOffset? BirthDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Emails")] + public System.Collections.Generic.ICollection Emails { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StreetAddresses")] + public System.Collections.Generic.ICollection StreetAddresses { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostalCodes")] + public System.Collections.Generic.ICollection PostalCodes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Cities")] + public System.Collections.Generic.ICollection Cities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Countries")] + public System.Collections.Generic.ICollection Countries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountries")] + public System.Collections.Generic.ICollection TaxCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNos")] + public System.Collections.Generic.ICollection ResellerNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReferences")] + public System.Collections.Generic.ICollection ExternalReferences { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDateFrom")] + public System.DateTimeOffset? LastLoginDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDateTo")] + public System.DateTimeOffset? LastLoginDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomains")] + public System.Collections.Generic.ICollection UserDomains { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public System.Collections.Generic.ICollection LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public System.Collections.Generic.ICollection TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountries")] + public System.Collections.Generic.ICollection TRSCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public System.Collections.Generic.ICollection TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountries")] + public System.Collections.Generic.ICollection BranchCountries { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Collections.Generic.ICollection DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttentions")] + public System.Collections.Generic.ICollection AddressAttentions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabels")] + public System.Collections.Generic.ICollection WhiteLabels { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccounts")] + public System.Collections.Generic.ICollection CustomerCashAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompanys")] + public System.Collections.Generic.ICollection FundCompanys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDateFrom")] + public System.DateTimeOffset? KycDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDateDateTo")] + public System.DateTimeOffset? KycDateDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIINS")] + public System.Collections.Generic.ICollection GIINS { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccounts")] + public System.Collections.Generic.ICollection ResellerAccounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValueFrom")] + public double? RiskValueFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValueTo")] + public double? RiskValueTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdictions")] + public System.Collections.Generic.ICollection LegalJurisdictions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Collections.Generic.ICollection ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateFrom")] + public System.DateTimeOffset? LastUpdatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDateTo")] + public System.DateTimeOffset? LastUpdatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRateFrom")] + public double? TaxRateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRateTo")] + public double? TaxRateTo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPersonFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public bool? FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public bool? LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public bool? MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDate")] + public bool? LastLoginDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public bool? UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public bool? Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public bool? PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public bool? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public bool? ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public bool? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public bool? AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public bool? AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public bool? AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public bool? AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public bool? Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public bool? PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public bool? PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public bool? PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public bool? PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public bool? PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public bool? BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public bool? PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public bool? PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public bool? PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public bool? PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceCompany")] + public bool? IsInsuranceCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceProductSupplier")] + public bool? IsInsuranceProductSupplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public bool? SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public bool? GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public bool? ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public bool? RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypesString")] + public bool? InstrumentTypesString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public bool? LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public bool? TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public bool? TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public bool? TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public bool? BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public bool? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public bool? PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public bool? CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomain")] + public bool? UserDomain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccessLevel")] + public bool? AccessLevel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttention")] + public bool? AddressAttention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public bool? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public bool? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public bool? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public bool? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public bool? GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public bool? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public bool? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public bool? LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public bool? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public bool? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public bool? TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public bool? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPersonResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPersonFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetPersonResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPersonResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public string FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public string LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public string MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public string PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public System.DateTimeOffset? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerId")] + public System.Guid? ResellerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastLoginDate")] + public System.DateTimeOffset? LastLoginDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public string AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public string AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public string AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public string AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public string Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public string PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public string PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public string PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public string PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public string PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public string BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public string PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public string PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public string PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public string PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceCompany")] + public bool? IsInsuranceCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceProductSupplier")] + public bool? IsInsuranceProductSupplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public string SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public string GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public string ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public string RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypesString")] + public string InstrumentTypesString { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public string LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public string TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public string TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public string TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public string BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Guid? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public string PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public string CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserDomain")] + public string UserDomain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccessLevel")] + public int? AccessLevel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressAttention")] + public string AddressAttention { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public System.Guid? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public System.DateTimeOffset? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public string GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public System.Guid? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public double? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public string LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Guid? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastUpdatedDate")] + public System.DateTimeOffset? LastUpdatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public System.Collections.Generic.ICollection TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public double? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreatePersonRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record Person + { + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public string LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public string MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Password")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Password { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public string PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public System.DateTimeOffset? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public string AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public string AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public string AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public string AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public string Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public string PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public string PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public string PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public string PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public string PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BIC")] + public string BIC { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public string PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public string PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public string PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public string PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceCompany")] + public bool? IsInsuranceCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsInsuranceProductSupplier")] + public bool? IsInsuranceProductSupplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public string SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public string GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public string ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public string RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypes")] + public System.Collections.Generic.ICollection InstrumentTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public string LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public string TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public string TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public string TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public string BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Guid? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public string PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Domain")] + public PersonDomain? Domain { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerNo")] + public string CustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public System.Guid? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public System.DateTimeOffset? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public string GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendWelcomeMail")] + public bool? SendWelcomeMail { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public System.Guid? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public double? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public string LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Guid? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public System.Collections.Generic.ICollection TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public double? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreatePersonResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreatePersonResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdatePersonsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdatePersonFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdatePerson + { + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public string FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public string LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public string MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public System.DateTimeOffset? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public string AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public string AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public string AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public string AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public string Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public string Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public string TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public string PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public string PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public string PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public string PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public string PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public string PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public string UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public string Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public string PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public string PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public string PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public string PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public string SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public string GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public string ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public string RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypes")] + public System.Collections.Generic.ICollection InstrumentTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public string LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public string TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public string TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public string TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public string BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public System.Guid? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public string ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public string PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public System.Guid? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public System.Guid? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public System.Guid? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public System.DateTimeOffset? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public string GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public System.Guid? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public double? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public string LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public System.Guid? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public System.Collections.Generic.ICollection TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public double? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdatePersonFields + { + + [System.Text.Json.Serialization.JsonPropertyName("IsApproved")] + public bool? IsApproved { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FirstName")] + public bool? FirstName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastName")] + public bool? LastName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MiddleNames")] + public bool? MiddleNames { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BirthDate")] + public bool? BirthDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCity")] + public bool? AddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressStreet")] + public bool? AddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressZip")] + public bool? AddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AddressCO")] + public bool? AddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Department")] + public bool? Department { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Country")] + public bool? Country { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressStreet")] + public bool? PostageAddressStreet { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCity")] + public bool? PostageAddressCity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressZip")] + public bool? PostageAddressZip { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCO")] + public bool? PostageAddressCO { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressDepartment")] + public bool? PostageAddressDepartment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PostageAddressCountry")] + public bool? PostageAddressCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxCountry")] + public bool? TaxCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("UserName")] + public bool? UserName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsNaturalPerson")] + public bool? IsNaturalPerson { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PassportNumber")] + public bool? PassportNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Email")] + public bool? Email { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneHome")] + public bool? PhoneHome { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneMobile")] + public bool? PhoneMobile { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PhoneWork")] + public bool? PhoneWork { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundEntity")] + public bool? IsFundEntity { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsFundCompany")] + public bool? IsFundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsIssuer")] + public bool? IsIssuer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsVerified")] + public bool? IsVerified { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsApprovedForStructs")] + public bool? IsApprovedForStructs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTaxPayer")] + public bool? IsTaxPayer { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SectorNACE")] + public bool? SectorNACE { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GroupCode")] + public bool? GroupCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalRating")] + public bool? ExternalRating { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RatingAgency")] + public bool? RatingAgency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypes")] + public bool? InstrumentTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LEI")] + public bool? LEI { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSId")] + public bool? TRSId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSCountry")] + public bool? TRSCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSIdType")] + public bool? TRSIdType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TRSManualHandling")] + public bool? TRSManualHandling { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsProfessional")] + public bool? IsProfessional { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MifidOk")] + public bool? MifidOk { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsPEP")] + public bool? IsPEP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BranchCountry")] + public bool? BranchCountry { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DefaultCompany")] + public bool? DefaultCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerNo")] + public bool? ResellerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PersonalNumber")] + public bool? PersonalNumber { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("WhiteLabel")] + public bool? WhiteLabel { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCustomerProtectionData")] + public bool? HasCustomerProtectionData { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomerCashAccount")] + public bool? CustomerCashAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCounterParty")] + public bool? IsCounterParty { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FundCompany")] + public bool? FundCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("KycDate")] + public bool? KycDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("GIIN")] + public bool? GIIN { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ResellerAccount")] + public bool? ResellerAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RiskValue")] + public bool? RiskValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalJurisdiction")] + public bool? LegalJurisdiction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ParentCompany")] + public bool? ParentCompany { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsCustodian")] + public bool? IsCustodian { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TINs")] + public bool? TINs { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsTerminated")] + public bool? IsTerminated { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ForcePasswordReset")] + public bool? ForcePasswordReset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TaxRate")] + public bool? TaxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdatePersonsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdatePersonsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InactivatePersonsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public InactivatePersonFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InactivatePerson + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InactivatePersonFields + { + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record InactivatePersonsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public InactivatePersonsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOARequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetPOAArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPOAFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOAArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerNo")] + public System.Collections.Generic.ICollection POACustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerIds")] + public System.Collections.Generic.ICollection POACustomerIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PowerOfAttorneyType")] + public System.Collections.Generic.ICollection PowerOfAttorneyType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOAFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerNo")] + public bool? POACustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerId")] + public bool? POACustomerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PowerOfAttorneyTypeId")] + public bool? PowerOfAttorneyTypeId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOAResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPOAFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetPOAResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOAResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerNo")] + public string POACustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerId")] + public System.Guid? POACustomerId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PowerOfAttorneyTypeId")] + public System.Guid? PowerOfAttorneyTypeId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreatePOARequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record POA + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("POACustomerNo")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string POACustomerNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreatePOAResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreatePOAResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeletePoaRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOATypeRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetPOATypeArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPOATypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOATypeArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Keys")] + public System.Collections.Generic.ICollection Keys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ActionList")] + public string ActionList { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOATypeFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public bool? Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public bool? Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ActionList")] + public bool? ActionList { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOATypeResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPOATypeFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetPOATypeResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPOATypeResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Label")] + public string Label { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ActionList")] + public string ActionList { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPositionRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("EnablePagination")] + public bool? EnablePagination { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageIndex")] + public int? PageIndex { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PageSize")] + public int? PageSize { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetPositionArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPositionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPositionArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BalanceDate")] + public System.DateTimeOffset? BalanceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public string DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKey")] + public string AccountDimensionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKeys")] + public System.Collections.Generic.ICollection AccountTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public string AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountOwner")] + public System.Guid? AccountOwner { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Assets")] + public System.Collections.Generic.ICollection Assets { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AssetTypeKeys")] + public System.Collections.Generic.ICollection AssetTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypes")] + public System.Collections.Generic.ICollection InstrumentTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPositionFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public bool? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BalanceDate")] + public bool? BalanceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public bool? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public bool? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public bool? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Opened")] + public bool? Opened { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKey")] + public bool? AccountDimensionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FxRate")] + public bool? FxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseRate")] + public bool? BaseRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public bool? DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValue")] + public bool? MarketValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueAccountCurrency")] + public bool? MarketValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueDisplayCurrency")] + public bool? MarketValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousMarketValue")] + public bool? PreviousMarketValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousMarketValueDisplayCurrency")] + public bool? PreviousMarketValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueChange")] + public bool? MarketValueChange { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueDisplayCurrency")] + public bool? AcquisitionValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPrice")] + public bool? AcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceAccountCurrency")] + public bool? AcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceDisplayCurrency")] + public bool? AcquisitionPriceDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnValue")] + public bool? ReturnValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnValueAccountCurrency")] + public bool? ReturnValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnValueDisplayCurrency")] + public bool? ReturnValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnPercentage")] + public bool? ReturnPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnPercentageAccountCurrency")] + public bool? ReturnPercentageAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnPercentageDisplayCurrency")] + public bool? ReturnPercentageDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayRate")] + public bool? DisplayRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmount")] + public bool? ReservedAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvailableAmount")] + public bool? AvailableAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AssetType")] + public bool? AssetType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public bool? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account_AccountNo")] + public bool? Account_AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public bool? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + public bool? AccountTypeKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPositionResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetPositionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetPositionResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetPositionResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BalanceDate")] + public System.DateTimeOffset? BalanceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public double? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public double? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Opened")] + public System.DateTimeOffset? Opened { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKey")] + public string AccountDimensionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FxRate")] + public double? FxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseRate")] + public double? BaseRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public string DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValue")] + public double? MarketValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueAccountCurrency")] + public double? MarketValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueDisplayCurrency")] + public double? MarketValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousMarketValue")] + public double? PreviousMarketValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PreviousMarketValueDisplayCurrency")] + public double? PreviousMarketValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueChange")] + public double? MarketValueChange { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueDisplayCurrency")] + public double? AcquisitionValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPrice")] + public double? AcquisitionPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceAccountCurrency")] + public double? AcquisitionPriceAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionPriceDisplayCurrency")] + public double? AcquisitionPriceDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnValue")] + public double? ReturnValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnValueAccountCurrency")] + public double? ReturnValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnValueDisplayCurrency")] + public double? ReturnValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnPercentage")] + public double? ReturnPercentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnPercentageAccountCurrency")] + public double? ReturnPercentageAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReturnPercentageDisplayCurrency")] + public double? ReturnPercentageDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayRate")] + public double? DisplayRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmount")] + public double? ReservedAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AvailableAmount")] + public double? AvailableAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AssetType")] + public string AssetType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public double? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public double? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account_AccountNo")] + public string Account_AccountNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountTypeKey")] + public string AccountTypeKey { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPositionRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetHistoricPositionArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHistoricPositionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPositionArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("StartDate")] + public System.DateTimeOffset? StartDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EndDate")] + public System.DateTimeOffset? EndDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public string DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKey")] + public string AccountDimensionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Assets")] + public System.Collections.Generic.ICollection Assets { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AssetTypeKeys")] + public System.Collections.Generic.ICollection AssetTypeKeys { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentTypes")] + public System.Collections.Generic.ICollection InstrumentTypes { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IncludeZeroes")] + public bool? IncludeZeroes { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPositionFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public bool? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BalanceDate")] + public bool? BalanceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public bool? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKey")] + public bool? AccountDimensionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FxRate")] + public bool? FxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseRate")] + public bool? BaseRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public bool? DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValue")] + public bool? MarketValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueAccountCurrency")] + public bool? MarketValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueDisplayCurrency")] + public bool? MarketValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayRate")] + public bool? DisplayRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AssetType")] + public bool? AssetType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public bool? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public bool? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public bool? AccountNo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPositionResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHistoricPositionFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetHistoricPositionResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPositionResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BalanceDate")] + public System.DateTimeOffset? BalanceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountDimensionKey")] + public string AccountDimensionKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FxRate")] + public double? FxRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BaseRate")] + public double? BaseRate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayCurrencyCode")] + public string DisplayCurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValue")] + public double? MarketValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueAccountCurrency")] + public double? MarketValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MarketValueDisplayCurrency")] + public double? MarketValueDisplayCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public double? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AssetType")] + public string AssetType { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ValueMultiplier")] + public double? ValueMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountNo")] + public string AccountNo { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPricesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetHistoricPricesArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHistoricPricesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPricesArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("AssetIds")] + public System.Collections.Generic.ICollection AssetIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromDate")] + public System.DateTimeOffset? FromDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToDate")] + public System.DateTimeOffset? ToDate { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPricesFields + { + + [System.Text.Json.Serialization.JsonPropertyName("AssetId")] + public bool? AssetId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public bool? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public bool? Price { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPricesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetHistoricPricesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetHistoricPricesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetHistoricPricesResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("AssetId")] + public System.Guid? AssetId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Price")] + public double? Price { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PriceDate")] + public System.DateTimeOffset? PriceDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateRecurringOrderTemplateAutoGiroRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record RecurringOrderTemplateAutoGiro + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AutoGiroPaymentPeriod")] + public int? AutoGiroPaymentPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public System.DateTimeOffset? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public System.Guid? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Month")] + public int? Month { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Day")] + [System.ComponentModel.DataAnnotations.Range(1, 31)] + public int? Day { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateRecurringOrderTemplateAutoGiroResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateRecurringOrderTemplateAutoGiroResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplateAutoGiroRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateRecurringOrderTemplateAutoGiroFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplateAutoGiro + { + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public System.DateTimeOffset? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public UpdateRecurringOrderTemplateAutoGiroExecutionInterfaceKey? ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LimitPrice")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? LimitPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public System.Guid? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Day")] + [System.ComponentModel.DataAnnotations.Range(1, 31)] + public int? Day { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Month")] + [System.ComponentModel.DataAnnotations.Range(1, 12)] + public int? Month { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplateAutoGiroFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public bool? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public bool? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceKey")] + public bool? ExecutionInterfaceKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LimitPrice")] + public bool? LimitPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DecisionMakerWithinFirm")] + public bool? DecisionMakerWithinFirm { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Day")] + public bool? Day { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Month")] + public bool? Month { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplateAutoGiroResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateRecurringOrderTemplateAutoGiroResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateRecurringOrderTemplateAvtaleGiroRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record RecurringOrderTemplateAvtaleGiro + { + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public System.Guid? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PaymentPeriod")] + public int? PaymentPeriod { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public System.DateTimeOffset? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public System.Guid? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendDate")] + public System.DateTimeOffset? SendDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Month")] + public int? Month { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Day")] + public int? Day { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfileId")] + public System.Guid? AllocationProfileId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateRecurringOrderTemplateAvtaleGiroResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateRecurringOrderTemplateAvtaleGiroResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplatesAvtaleGiroRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public UpdateRecurringOrderTemplatesAvtaleGiroFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplateAvtaleGiro + { + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + [System.ComponentModel.DataAnnotations.Range(0D, 2147483647D)] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public System.Guid? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfileId")] + public System.Guid? AllocationProfileId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public System.DateTimeOffset? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendDate")] + public System.DateTimeOffset? SendDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public System.Guid? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplatesAvtaleGiroFields + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public bool? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public bool? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public bool? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("SendDate")] + public bool? SendDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AllocationProfileId")] + public bool? AllocationProfileId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record UpdateRecurringOrderTemplatesAvtaleGiroResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public UpdateRecurringOrderTemplatesAvtaleGiroResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRecurringOrderTemplatesRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetRecurringOrderTemplatesArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetRecurringOrderTemplatesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRecurringOrderTemplatesArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public System.Collections.Generic.ICollection OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instruments")] + public System.Collections.Generic.ICollection Instruments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRecurringOrderTemplatesFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PeriodicityCode")] + public bool? PeriodicityCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Day")] + public bool? Day { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public bool? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public bool? StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public bool? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public bool? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRecurringOrder")] + public bool? IsRecurringOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public bool? CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public bool? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRecurringOrderTemplatesResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetRecurringOrderTemplatesFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetRecurringOrderTemplatesResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRecurringOrderTemplatesResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("PeriodicityCode")] + public string PeriodicityCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Day")] + public int? Day { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiver")] + public System.Guid? TransferReceiver { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusKey")] + public string StatusKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BusinessDate")] + public System.DateTimeOffset? BusinessDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsRecurringOrder")] + public bool? IsRecurringOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CurrencyCode")] + public string CurrencyCode { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Instrument")] + public System.Guid? Instrument { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRelatedFifoLotsRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetRelatedFifoLotsArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetRelatedFifoLotsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRelatedFifoLotsArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExitBusinessTransactions")] + public System.Collections.Generic.ICollection ExitBusinessTransactions { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRelatedFifoLotsFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExitBusinessTransaction")] + public bool? ExitBusinessTransaction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EntryBusinessTransaction")] + public bool? EntryBusinessTransaction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public bool? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public bool? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Quantity")] + public bool? Quantity { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRelatedFifoLotsResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetRelatedFifoLotsFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetRelatedFifoLotsResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetRelatedFifoLotsResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExitBusinessTransaction")] + public System.Guid? ExitBusinessTransaction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("EntryBusinessTransaction")] + public System.Guid? EntryBusinessTransaction { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValue")] + public double? AcquisitionValue { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AcquisitionValueAccountCurrency")] + public double? AcquisitionValueAccountCurrency { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Quantity")] + public double? Quantity { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetReservationRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetReservationArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetReservationFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetReservationArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Accounts")] + public System.Collections.Generic.ICollection Accounts { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Assets")] + public System.Collections.Generic.ICollection Assets { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("References")] + public System.Collections.Generic.ICollection References { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Orders")] + public System.Collections.Generic.ICollection Orders { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetReservationFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public bool? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public bool? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reference")] + public bool? Reference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Order")] + public bool? Order { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmountTrade")] + public bool? ReservedAmountTrade { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmountSettlement")] + public bool? ReservedAmountSettlement { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetReservationResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetReservationFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetReservationResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetReservationResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reference")] + public System.Guid? Reference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Order")] + public System.Guid? Order { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmountTrade")] + public double? ReservedAmountTrade { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmountSettlement")] + public double? ReservedAmountSettlement { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateReservationRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record Reservation + { + + [System.Text.Json.Serialization.JsonPropertyName("Account")] + public System.Guid? Account { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Asset")] + public System.Guid? Asset { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reference")] + public System.Guid? Reference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmountTrade")] + public double? ReservedAmountTrade { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservedAmountSettlement")] + public double? ReservedAmountSettlement { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideMustCover")] + public bool? OverrideMustCover { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record CreateReservationResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Entities")] + public System.Collections.Generic.ICollection Entities { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public CreateReservationResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record DeleteReservationRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetSubscriptionOrderRequest + { + + [System.Text.Json.Serialization.JsonPropertyName("Args")] + public GetSubscriptionOrderArgs Args { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetSubscriptionOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("PredefinedSearchName")] + public string PredefinedSearchName { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Types")] + public System.Collections.Generic.ICollection Types { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Credentials")] + public Credentials Credentials { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("identify")] + public string Identify { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetSubscriptionOrderArgs + { + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateFrom")] + public System.DateTimeOffset? CreatedDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDateTo")] + public System.DateTimeOffset? CreatedDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickIds")] + public System.Collections.Generic.ICollection BrickIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentIds")] + public System.Collections.Generic.ICollection InstrumentIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("States")] + public System.Collections.Generic.ICollection States { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNos")] + public System.Collections.Generic.ICollection OrderNos { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comments")] + public System.Collections.Generic.ICollection Comments { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public System.Collections.Generic.ICollection ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Resellers")] + public System.Collections.Generic.ICollection Resellers { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedTradeDateFrom")] + public System.DateTimeOffset? ExpectedTradeDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedTradeDateTo")] + public System.DateTimeOffset? ExpectedTradeDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedSettlementDateFrom")] + public System.DateTimeOffset? ExpectedSettlementDateFrom { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedSettlementDateTo")] + public System.DateTimeOffset? ExpectedSettlementDateTo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderId")] + public System.Collections.Generic.ICollection TradeOrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverIds")] + public System.Collections.Generic.ICollection TransferReceiverIds { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverIdsForCollectingFinancing")] + public System.Collections.Generic.ICollection TransferReceiverIdsForCollectingFinancing { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetSubscriptionOrderFields + { + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public bool? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public bool? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LimitPrice")] + public bool? LimitPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideCommissionAmount")] + public bool? OverrideCommissionAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CommissionAmount")] + public bool? CommissionAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public bool? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public bool? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public bool? OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderTypeKey")] + public bool? OrderTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public bool? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashId")] + public bool? CashId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public bool? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public bool? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public bool? ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public bool? State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastPaymentDate")] + public bool? LastPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalEntityId")] + public bool? LegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsDVP")] + public bool? IsDVP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public bool? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public bool? Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public bool? ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedTradeDate")] + public bool? ExpectedTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedSettlementDate")] + public bool? ExpectedSettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderFeeCategories")] + public bool? OrderFeeCategories { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeAmount")] + public bool? FeeAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reseller")] + public bool? Reseller { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservationItems")] + public bool? ReservationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderId")] + public bool? TradeOrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverIdForCollectingFinancing")] + public bool? TransferReceiverIdForCollectingFinancing { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public bool? CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetSubscriptionOrderResponse + { + + [System.Text.Json.Serialization.JsonPropertyName("Result")] + public System.Collections.Generic.ICollection Result { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Fields")] + public GetSubscriptionOrderFields Fields { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Message")] + public string Message { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("StatusCode")] + public GetSubscriptionOrderResponseStatusCode? StatusCode { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record GetSubscriptionOrderResponseRow + { + + [System.Text.Json.Serialization.JsonPropertyName("LimitPrice")] + public double? LimitPrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OverrideCommissionAmount")] + public bool? OverrideCommissionAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CommissionAmount")] + public double? CommissionAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashAmount")] + public double? CashAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentAmount")] + public double? InstrumentAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderNo")] + public string OrderNo { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderTypeKey")] + public string OrderTypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("InstrumentId")] + public System.Guid? InstrumentId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CashId")] + public System.Guid? CashId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("AccountId")] + public System.Guid? AccountId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsUnitOrder")] + public bool? IsUnitOrder { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayPercentagePrice")] + public bool? DisplayPercentagePrice { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("DisplayMultiplier")] + public double? DisplayMultiplier { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExecutionInterfaceId")] + public System.Guid? ExecutionInterfaceId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("State")] + public string State { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LastPaymentDate")] + public System.DateTimeOffset? LastPaymentDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("LegalEntityId")] + public System.Guid? LegalEntityId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("IsDVP")] + public bool? IsDVP { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverId")] + public System.Guid? TransferReceiverId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Comment")] + public string Comment { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExternalReference")] + public string ExternalReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedTradeDate")] + public System.DateTimeOffset? ExpectedTradeDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ExpectedSettlementDate")] + public System.DateTimeOffset? ExpectedSettlementDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("OrderFeeCategories")] + public System.Collections.Generic.ICollection OrderFeeCategories { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeAmount")] + public double? FeeAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Reseller")] + public System.Guid? Reseller { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ReservationItems")] + public System.Collections.Generic.ICollection ReservationItems { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TradeOrderId")] + public System.Guid? TradeOrderId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TransferReceiverIdForCollectingFinancing")] + public System.Guid? TransferReceiverIdForCollectingFinancing { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("BrickId")] + public System.Guid? BrickId { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CreatedDate")] + public System.DateTimeOffset? CreatedDate { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("RequestReference")] + public string RequestReference { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Errors")] + public System.Collections.Generic.ICollection Errors { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CustomFields")] + public System.Collections.Generic.ICollection CustomFields { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))")] + public partial record OrderFeeCategory + { + + [System.Text.Json.Serialization.JsonPropertyName("Amount")] + public double? Amount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Percentage")] + public double? Percentage { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Key")] + public string Key { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("TypeKey")] + public string TypeKey { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("MinAmount")] + public double? MinAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ApplyDiscount")] + public bool? ApplyDiscount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FeeAccount")] + public System.Guid? FeeAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("ToCustodyAccount")] + public System.Guid? ToCustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("FromCustodyAccount")] + public System.Guid? FromCustodyAccount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("HasCreatedTransactions")] + public bool? HasCreatedTransactions { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("CalculatedAmount")] + public double? CalculatedAmount { get; set; } + + [System.Text.Json.Serialization.JsonPropertyName("Labels")] + public System.Collections.Generic.ICollection