Skip to content

Commit

Permalink
Added missing id field from masgtercard action. (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Jan 2, 2018
1 parent 2773e8f commit a96e010
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions BunqSdk/Model/Generated/Endpoint/MasterCardAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ public class MasterCardAction : BunqModel
/// </summary>
private const string OBJECT_TYPE = "MasterCardAction";

/// <summary>
/// The id of the MastercardAction.
/// </summary>
[JsonProperty(PropertyName = "id")]
public int? Id { get; private set; }

/// <summary>
/// The id of the monetary account this action links to.
/// </summary>
Expand Down Expand Up @@ -195,6 +201,11 @@ public static BunqResponse<List<MasterCardAction>> List(ApiContext apiContext, i
/// </summary>
public override bool IsAllFieldNull()
{
if (this.Id != null)
{
return false;
}

if (this.MonetaryAccountId != null)
{
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class ShareInviteBankResponse : BunqModel
public string Status { get; private set; }

/// <summary>
/// The share type: STANDARD.
/// The share type, either STANDARD or MUTUAL.
/// </summary>
[JsonProperty(PropertyName = "share_type")]
public string ShareType { get; private set; }
Expand Down

0 comments on commit a96e010

Please sign in to comment.