Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.Id.HasValue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generated code, please create follow up issue as this requires changes in the generator it self.

{
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