From 18278681de0c19231c9b32471e327431c1d34fa2 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun Date: Sat, 30 Dec 2017 13:11:09 +0100 Subject: [PATCH] Added missing id field from masgtercard action. (bunq/sdk_csharp#52) --- BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs | 11 +++++++++++ .../Generated/Endpoint/ShareInviteBankResponse.cs | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs b/BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs index 795cf9f..abd2ede 100644 --- a/BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs +++ b/BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs @@ -26,6 +26,12 @@ public class MasterCardAction : BunqModel /// private const string OBJECT_TYPE = "MasterCardAction"; + /// + /// The id of the MastercardAction. + /// + [JsonProperty(PropertyName = "id")] + public int? Id { get; private set; } + /// /// The id of the monetary account this action links to. /// @@ -195,6 +201,11 @@ public static BunqResponse> List(ApiContext apiContext, i /// public override bool IsAllFieldNull() { + if (this.Id != null) + { + return false; + } + if (this.MonetaryAccountId != null) { return false; diff --git a/BunqSdk/Model/Generated/Endpoint/ShareInviteBankResponse.cs b/BunqSdk/Model/Generated/Endpoint/ShareInviteBankResponse.cs index 1d9fa46..225b6f3 100644 --- a/BunqSdk/Model/Generated/Endpoint/ShareInviteBankResponse.cs +++ b/BunqSdk/Model/Generated/Endpoint/ShareInviteBankResponse.cs @@ -72,7 +72,7 @@ public class ShareInviteBankResponse : BunqModel public string Status { get; private set; } /// - /// The share type: STANDARD. + /// The share type, either STANDARD or MUTUAL. /// [JsonProperty(PropertyName = "share_type")] public string ShareType { get; private set; }