Skip to content

Commit 6e4f8dc

Browse files
author
Konstantin Yakushev
committed
Regenerated code based on the latest tag.
1 parent a691566 commit 6e4f8dc

File tree

161 files changed

+7272
-976
lines changed

Some content is hidden

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

161 files changed

+7272
-976
lines changed

BunqSdk/Model/Generated/Endpoint/AttachmentConversationContent.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public static BunqResponse<byte[]> List(int chatConversationId, int attachmentId
4141
return new BunqResponse<byte[]>(responseRaw.BodyBytes, responseRaw.Headers);
4242
}
4343

44-
4544
/// <summary>
4645
/// </summary>
4746
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/AttachmentMonetaryAccount.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public class AttachmentMonetaryAccount : BunqModel
2121
/// </summary>
2222
protected const string ENDPOINT_URL_CREATE = "user/{0}/monetary-account/{1}/attachment";
2323

24-
2524
/// <summary>
2625
/// The attachment.
2726
/// </summary>
@@ -54,7 +53,6 @@ public static BunqResponse<int> Create(byte[] requestBytes, int? monetaryAccount
5453
return ProcessForId(responseRaw);
5554
}
5655

57-
5856
/// <summary>
5957
/// </summary>
6058
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/AttachmentPublic.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public static BunqResponse<AttachmentPublic> Get(string attachmentPublicUuid,
8686
return FromJson<AttachmentPublic>(responseRaw, OBJECT_TYPE_GET);
8787
}
8888

89-
9089
/// <summary>
9190
/// </summary>
9291
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/AttachmentPublicContent.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public static BunqResponse<byte[]> List(string attachmentPublicUuid,
4040
return new BunqResponse<byte[]>(responseRaw.BodyBytes, responseRaw.Headers);
4141
}
4242

43-
4443
/// <summary>
4544
/// </summary>
4645
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/AttachmentTab.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ public static BunqResponse<AttachmentTab> Get(int attachmentTabId, int? monetary
8989
return FromJson<AttachmentTab>(responseRaw, OBJECT_TYPE_GET);
9090
}
9191

92-
9392
/// <summary>
9493
/// </summary>
9594
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/AttachmentTabContent.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public static BunqResponse<byte[]> List(int attachmentTabId, int? monetaryAccoun
4343
return new BunqResponse<byte[]>(responseRaw.BodyBytes, responseRaw.Headers);
4444
}
4545

46-
4746
/// <summary>
4847
/// </summary>
4948
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/Avatar.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ public class Avatar : BunqModel
3737

3838
private const string OBJECT_TYPE_GET = "Avatar";
3939

40+
/// <summary>
41+
/// The public UUID of the public attachment from which an avatar image must be created.
42+
/// </summary>
43+
[JsonProperty(PropertyName = "attachment_public_uuid")]
44+
public string AttachmentPublicUuid { get; set; }
45+
4046
/// <summary>
4147
/// The UUID of the created avatar.
4248
/// </summary>
@@ -83,7 +89,6 @@ public static BunqResponse<Avatar> Get(string avatarUuid, IDictionary<string, st
8389
return FromJson<Avatar>(responseRaw, OBJECT_TYPE_GET);
8490
}
8591

86-
8792
/// <summary>
8893
/// </summary>
8994
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/BillingContractSubscription.cs

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ public class BillingContractSubscription : BunqModel
3131
/// </summary>
3232
private const string OBJECT_TYPE_GET = "BillingContractSubscription";
3333

34+
/// <summary>
35+
/// The subscription type of the user. Can be one of PERSON_SUPER_LIGHT_V1, PERSON_LIGHT_V1, PERSON_MORE_V1,
36+
/// PERSON_FREE_V1, PERSON_PREMIUM_V1, COMPANY_V1, or COMPANY_V2.
37+
/// </summary>
38+
[JsonProperty(PropertyName = "subscription_type")]
39+
public string SubscriptionType { get; set; }
40+
3441
/// <summary>
3542
/// The id of the billing contract.
3643
/// </summary>
@@ -68,11 +75,11 @@ public class BillingContractSubscription : BunqModel
6875
public int? ContractVersion { get; set; }
6976

7077
/// <summary>
71-
/// The subscription type of the user. Can be one of PERSON_SUPER_LIGHT_V1, PERSON_LIGHT_V1, PERSON_MORE_V1,
72-
/// PERSON_FREE_V1, PERSON_PREMIUM_V1, COMPANY_V1, or COMPANY_V2.
78+
/// The subscription type the user will have after a subscription downgrade. Will be null if downgrading is not
79+
/// possible.
7380
/// </summary>
74-
[JsonProperty(PropertyName = "subscription_type")]
75-
public string SubscriptionType { get; set; }
81+
[JsonProperty(PropertyName = "subscription_type_downgrade")]
82+
public string SubscriptionTypeDowngrade { get; set; }
7683

7784
/// <summary>
7885
/// The subscription status.
@@ -124,7 +131,6 @@ public static BunqResponse<List<BillingContractSubscription>> List(IDictionary<s
124131
return FromJsonList<BillingContractSubscription>(responseRaw, OBJECT_TYPE_GET);
125132
}
126133

127-
128134
/// <summary>
129135
/// </summary>
130136
public override bool IsAllFieldNull()
@@ -164,6 +170,11 @@ public override bool IsAllFieldNull()
164170
return false;
165171
}
166172

173+
if (this.SubscriptionTypeDowngrade != null)
174+
{
175+
return false;
176+
}
177+
167178
if (this.Status != null)
168179
{
169180
return false;

BunqSdk/Model/Generated/Endpoint/BunqMeFundraiserProfile.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ public class BunqMeFundraiserProfile : BunqModel
1515
/// </summary>
1616
public const string FIELD_POINTER = "pointer";
1717

18+
/// <summary>
19+
/// The pointer (url) which will be used to access the bunq.me fundraiser profile.
20+
/// </summary>
21+
[JsonProperty(PropertyName = "pointer")]
22+
public MonetaryAccountReference Pointer { get; set; }
1823

1924
/// <summary>
2025
/// The color chosen for the bunq.me fundraiser profile in hexadecimal format.
@@ -41,12 +46,6 @@ public class BunqMeFundraiserProfile : BunqModel
4146
[JsonProperty(PropertyName = "attachment")]
4247
public List<AttachmentPublic> Attachment { get; set; }
4348

44-
/// <summary>
45-
/// The pointer (url) which will be used to access the bunq.me fundraiser profile.
46-
/// </summary>
47-
[JsonProperty(PropertyName = "pointer")]
48-
public MonetaryAccountReference Pointer { get; set; }
49-
5049
/// <summary>
5150
/// The status of the bunq.me fundraiser profile, can be ACTIVE or DEACTIVATED.
5251
/// </summary>
@@ -59,7 +58,6 @@ public class BunqMeFundraiserProfile : BunqModel
5958
[JsonProperty(PropertyName = "redirect_url")]
6059
public string RedirectUrl { get; set; }
6160

62-
6361
/// <summary>
6462
/// </summary>
6563
public override bool IsAllFieldNull()

BunqSdk/Model/Generated/Endpoint/BunqMeFundraiserResult.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public class BunqMeFundraiserResult : BunqModel
3939
[JsonProperty(PropertyName = "payments")]
4040
public List<Payment> Payments { get; set; }
4141

42-
4342
/// <summary>
4443
/// </summary>
4544
public override bool IsAllFieldNull()

0 commit comments

Comments
 (0)