Skip to content

Commit a96e010

Browse files
author
Kevin Hellemun
committed
Added missing id field from masgtercard action. (#52)
1 parent 2773e8f commit a96e010

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ public class MasterCardAction : BunqModel
2626
/// </summary>
2727
private const string OBJECT_TYPE = "MasterCardAction";
2828

29+
/// <summary>
30+
/// The id of the MastercardAction.
31+
/// </summary>
32+
[JsonProperty(PropertyName = "id")]
33+
public int? Id { get; private set; }
34+
2935
/// <summary>
3036
/// The id of the monetary account this action links to.
3137
/// </summary>
@@ -195,6 +201,11 @@ public static BunqResponse<List<MasterCardAction>> List(ApiContext apiContext, i
195201
/// </summary>
196202
public override bool IsAllFieldNull()
197203
{
204+
if (this.Id != null)
205+
{
206+
return false;
207+
}
208+
198209
if (this.MonetaryAccountId != null)
199210
{
200211
return false;

BunqSdk/Model/Generated/Endpoint/ShareInviteBankResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class ShareInviteBankResponse : BunqModel
7272
public string Status { get; private set; }
7373

7474
/// <summary>
75-
/// The share type: STANDARD.
75+
/// The share type, either STANDARD or MUTUAL.
7676
/// </summary>
7777
[JsonProperty(PropertyName = "share_type")]
7878
public string ShareType { get; private set; }

0 commit comments

Comments
 (0)