Skip to content

Commit 268a7e4

Browse files
author
Kevin Hellemun
committed
Regenerated code. (#43)
1 parent f31bd37 commit 268a7e4

File tree

145 files changed

+5493
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+5493
-52
lines changed

BunqSdk/Model/Generated/Endpoint/AttachmentConversationContent.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,13 @@ public static BunqResponse<byte[]> List(ApiContext apiContext, int userId, int c
3737

3838
return new BunqResponse<byte[]>(responseRaw.BodyBytes, responseRaw.Headers);
3939
}
40+
41+
42+
/// <summary>
43+
/// </summary>
44+
public override bool AreAllFieldNull()
45+
{
46+
return true;
47+
}
4048
}
4149
}

BunqSdk/Model/Generated/Endpoint/AttachmentMonetaryAccount.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,23 @@ public static BunqResponse<int> Create(ApiContext apiContext, byte[] requestByte
5353

5454
return ProcessForId(responseRaw);
5555
}
56+
57+
58+
/// <summary>
59+
/// </summary>
60+
public override bool AreAllFieldNull()
61+
{
62+
if (this.Attachment != null)
63+
{
64+
return false;
65+
}
66+
67+
if (this.Id != null)
68+
{
69+
return false;
70+
}
71+
72+
return true;
73+
}
5674
}
5775
}

BunqSdk/Model/Generated/Endpoint/AttachmentPublic.cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,33 @@ public static BunqResponse<AttachmentPublic> Get(ApiContext apiContext, string a
8080

8181
return FromJson<AttachmentPublic>(responseRaw, OBJECT_TYPE);
8282
}
83+
84+
85+
/// <summary>
86+
/// </summary>
87+
public override bool AreAllFieldNull()
88+
{
89+
if (this.Uuid != null)
90+
{
91+
return false;
92+
}
93+
94+
if (this.Created != null)
95+
{
96+
return false;
97+
}
98+
99+
if (this.Updated != null)
100+
{
101+
return false;
102+
}
103+
104+
if (this.Attachment != null)
105+
{
106+
return false;
107+
}
108+
109+
return true;
110+
}
83111
}
84112
}

BunqSdk/Model/Generated/Endpoint/AttachmentPublicContent.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,13 @@ public static BunqResponse<byte[]> List(ApiContext apiContext, string attachment
3737

3838
return new BunqResponse<byte[]>(responseRaw.BodyBytes, responseRaw.Headers);
3939
}
40+
41+
42+
/// <summary>
43+
/// </summary>
44+
public override bool AreAllFieldNull()
45+
{
46+
return true;
47+
}
4048
}
4149
}

BunqSdk/Model/Generated/Endpoint/AttachmentTab.cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,33 @@ public static BunqResponse<AttachmentTab> Get(ApiContext apiContext, int userId,
7979

8080
return FromJson<AttachmentTab>(responseRaw, OBJECT_TYPE);
8181
}
82+
83+
84+
/// <summary>
85+
/// </summary>
86+
public override bool AreAllFieldNull()
87+
{
88+
if (this.Id != null)
89+
{
90+
return false;
91+
}
92+
93+
if (this.Created != null)
94+
{
95+
return false;
96+
}
97+
98+
if (this.Updated != null)
99+
{
100+
return false;
101+
}
102+
103+
if (this.Attachment != null)
104+
{
105+
return false;
106+
}
107+
108+
return true;
109+
}
82110
}
83111
}

BunqSdk/Model/Generated/Endpoint/AttachmentTabContent.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,13 @@ public static BunqResponse<byte[]> List(ApiContext apiContext, int userId, int m
3737

3838
return new BunqResponse<byte[]>(responseRaw.BodyBytes, responseRaw.Headers);
3939
}
40+
41+
42+
/// <summary>
43+
/// </summary>
44+
public override bool AreAllFieldNull()
45+
{
46+
return true;
47+
}
4048
}
4149
}

BunqSdk/Model/Generated/Endpoint/Avatar.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,23 @@ public static BunqResponse<Avatar> Get(ApiContext apiContext, string avatarUuid,
7070

7171
return FromJson<Avatar>(responseRaw, OBJECT_TYPE);
7272
}
73+
74+
75+
/// <summary>
76+
/// </summary>
77+
public override bool AreAllFieldNull()
78+
{
79+
if (this.Uuid != null)
80+
{
81+
return false;
82+
}
83+
84+
if (this.Image != null)
85+
{
86+
return false;
87+
}
88+
89+
return true;
90+
}
7391
}
7492
}

BunqSdk/Model/Generated/Endpoint/BillingContractSubscription.cs

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,48 @@ public static BunqResponse<List<BillingContractSubscription>> List(ApiContext ap
9999

100100
return FromJsonList<BillingContractSubscription>(responseRaw, OBJECT_TYPE);
101101
}
102+
103+
104+
/// <summary>
105+
/// </summary>
106+
public override bool AreAllFieldNull()
107+
{
108+
if (this.Id != null)
109+
{
110+
return false;
111+
}
112+
113+
if (this.Created != null)
114+
{
115+
return false;
116+
}
117+
118+
if (this.Updated != null)
119+
{
120+
return false;
121+
}
122+
123+
if (this.ContractDateStart != null)
124+
{
125+
return false;
126+
}
127+
128+
if (this.ContractDateEnd != null)
129+
{
130+
return false;
131+
}
132+
133+
if (this.ContractVersion != null)
134+
{
135+
return false;
136+
}
137+
138+
if (this.SubscriptionType != null)
139+
{
140+
return false;
141+
}
142+
143+
return true;
144+
}
102145
}
103146
}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
using Bunq.Sdk.Model.Core;
2+
using Bunq.Sdk.Model.Generated.Object;
3+
using Newtonsoft.Json;
4+
using System.Collections.Generic;
5+
6+
namespace Bunq.Sdk.Model.Generated.Endpoint
7+
{
8+
/// <summary>
9+
/// bunq.me public profile of the user.
10+
/// </summary>
11+
public class BunqMeFundraiserProfile : BunqModel
12+
{
13+
/// <summary>
14+
/// Field constants.
15+
/// </summary>
16+
public const string FIELD_POINTER = "pointer";
17+
18+
/// <summary>
19+
/// Object type.
20+
/// </summary>
21+
private const string OBJECT_TYPE = "BunqMeFundraiserProfileModel";
22+
23+
/// <summary>
24+
/// The color chosen for the bunq.me fundraiser profile in hexadecimal format.
25+
/// </summary>
26+
[JsonProperty(PropertyName = "color")]
27+
public string Color { get; private set; }
28+
29+
/// <summary>
30+
/// The LabelMonetaryAccount with the public information of the User and the MonetaryAccount that created the
31+
/// bunq.me fundraiser profile.
32+
/// </summary>
33+
[JsonProperty(PropertyName = "alias")]
34+
public MonetaryAccountReference Alias { get; private set; }
35+
36+
/// <summary>
37+
/// The description of the bunq.me fundraiser profile.
38+
/// </summary>
39+
[JsonProperty(PropertyName = "description")]
40+
public string Description { get; private set; }
41+
42+
/// <summary>
43+
/// The attachments attached to the fundraiser profile.
44+
/// </summary>
45+
[JsonProperty(PropertyName = "attachment")]
46+
public List<AttachmentPublic> Attachment { get; private set; }
47+
48+
/// <summary>
49+
/// The pointer (url) which will be used to access the bunq.me fundraiser profile.
50+
/// </summary>
51+
[JsonProperty(PropertyName = "pointer")]
52+
public MonetaryAccountReference Pointer { get; private set; }
53+
54+
/// <summary>
55+
/// The status of the bunq.me fundraiser profile, can be ACTIVE or DEACTIVATED.
56+
/// </summary>
57+
[JsonProperty(PropertyName = "status")]
58+
public string Status { get; private set; }
59+
60+
/// <summary>
61+
/// The URL which the user is sent to when a payment is completed.
62+
/// </summary>
63+
[JsonProperty(PropertyName = "redirect_url")]
64+
public string RedirectUrl { get; private set; }
65+
66+
67+
/// <summary>
68+
/// </summary>
69+
public override bool AreAllFieldNull()
70+
{
71+
if (this.Color != null)
72+
{
73+
return false;
74+
}
75+
76+
if (this.Alias != null)
77+
{
78+
return false;
79+
}
80+
81+
if (this.Description != null)
82+
{
83+
return false;
84+
}
85+
86+
if (this.Attachment != null)
87+
{
88+
return false;
89+
}
90+
91+
if (this.Pointer != null)
92+
{
93+
return false;
94+
}
95+
96+
if (this.Status != null)
97+
{
98+
return false;
99+
}
100+
101+
if (this.RedirectUrl != null)
102+
{
103+
return false;
104+
}
105+
106+
return true;
107+
}
108+
}
109+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
using Bunq.Sdk.Model.Core;
2+
using Newtonsoft.Json;
3+
using System.Collections.Generic;
4+
5+
namespace Bunq.Sdk.Model.Generated.Endpoint
6+
{
7+
/// <summary>
8+
/// bunq.me fundraiser result containing all payments.
9+
/// </summary>
10+
public class BunqMeFundraiserResult : BunqModel
11+
{
12+
/// <summary>
13+
/// Object type.
14+
/// </summary>
15+
private const string OBJECT_TYPE = "BunqMeFundraiserResult";
16+
17+
/// <summary>
18+
/// The id of the bunq.me.
19+
/// </summary>
20+
[JsonProperty(PropertyName = "id")]
21+
public int? Id { get; private set; }
22+
23+
/// <summary>
24+
/// The timestamp when the bunq.me was created.
25+
/// </summary>
26+
[JsonProperty(PropertyName = "created")]
27+
public string Created { get; private set; }
28+
29+
/// <summary>
30+
/// The timestamp when the bunq.me was last updated.
31+
/// </summary>
32+
[JsonProperty(PropertyName = "updated")]
33+
public string Updated { get; private set; }
34+
35+
/// <summary>
36+
/// The bunq.me fundraiser profile.
37+
/// </summary>
38+
[JsonProperty(PropertyName = "bunqme_fundraiser_profile")]
39+
public BunqMeFundraiserProfile BunqmeFundraiserProfile { get; private set; }
40+
41+
/// <summary>
42+
/// The list of payments, paid to the bunq.me fundraiser profile.
43+
/// </summary>
44+
[JsonProperty(PropertyName = "payments")]
45+
public List<Payment> Payments { get; private set; }
46+
47+
48+
/// <summary>
49+
/// </summary>
50+
public override bool AreAllFieldNull()
51+
{
52+
if (this.Id != null)
53+
{
54+
return false;
55+
}
56+
57+
if (this.Created != null)
58+
{
59+
return false;
60+
}
61+
62+
if (this.Updated != null)
63+
{
64+
return false;
65+
}
66+
67+
if (this.BunqmeFundraiserProfile != null)
68+
{
69+
return false;
70+
}
71+
72+
if (this.Payments != null)
73+
{
74+
return false;
75+
}
76+
77+
return true;
78+
}
79+
}
80+
}

0 commit comments

Comments
 (0)