Skip to content

Commit b05117d

Browse files
false[adyen-sdk-automation] automated change (#1116)
1 parent 81e8287 commit b05117d

29 files changed

+1294
-129
lines changed

Adyen/Model/BalancePlatform/AccountHolder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace Adyen.Model.BalancePlatform
3333
public partial class AccountHolder : IEquatable<AccountHolder>, IValidatableObject
3434
{
3535
/// <summary>
36-
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
36+
/// The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.
3737
/// </summary>
38-
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
38+
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.</value>
3939
[JsonConverter(typeof(StringEnumConverter))]
4040
public enum StatusEnum
4141
{
@@ -61,9 +61,9 @@ public enum StatusEnum
6161

6262

6363
/// <summary>
64-
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
64+
/// The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.
6565
/// </summary>
66-
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
66+
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.</value>
6767
[DataMember(Name = "status", EmitDefaultValue = false)]
6868
public StatusEnum? Status { get; set; }
6969
/// <summary>
@@ -82,7 +82,7 @@ protected AccountHolder() { }
8282
/// <param name="metadata">A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. &gt; Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs..</param>
8383
/// <param name="primaryBalanceAccount">The ID of the account holder&#39;s primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request..</param>
8484
/// <param name="reference">Your reference for the account holder..</param>
85-
/// <param name="status">The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone..</param>
85+
/// <param name="status">The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed..</param>
8686
/// <param name="timeZone">The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)..</param>
8787
public AccountHolder(string balancePlatform = default(string), Dictionary<string, AccountHolderCapability> capabilities = default(Dictionary<string, AccountHolderCapability>), ContactDetails contactDetails = default(ContactDetails), string description = default(string), string legalEntityId = default(string), Dictionary<string, string> metadata = default(Dictionary<string, string>), string primaryBalanceAccount = default(string), string reference = default(string), StatusEnum? status = default(StatusEnum?), string timeZone = default(string))
8888
{

Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace Adyen.Model.BalancePlatform
3333
public partial class AccountHolderUpdateRequest : IEquatable<AccountHolderUpdateRequest>, IValidatableObject
3434
{
3535
/// <summary>
36-
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
36+
/// The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.
3737
/// </summary>
38-
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
38+
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.</value>
3939
[JsonConverter(typeof(StringEnumConverter))]
4040
public enum StatusEnum
4141
{
@@ -61,9 +61,9 @@ public enum StatusEnum
6161

6262

6363
/// <summary>
64-
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
64+
/// The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.
6565
/// </summary>
66-
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
66+
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.</value>
6767
[DataMember(Name = "status", EmitDefaultValue = false)]
6868
public StatusEnum? Status { get; set; }
6969
/// <summary>
@@ -76,7 +76,7 @@ public enum StatusEnum
7676
/// <param name="metadata">A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. &gt; Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs..</param>
7777
/// <param name="primaryBalanceAccount">The ID of the account holder&#39;s primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request..</param>
7878
/// <param name="reference">Your reference for the account holder..</param>
79-
/// <param name="status">The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone..</param>
79+
/// <param name="status">The status of the account holder. Possible values: * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. * **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed..</param>
8080
/// <param name="timeZone">The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)..</param>
8181
public AccountHolderUpdateRequest(string balancePlatform = default(string), Dictionary<string, AccountHolderCapability> capabilities = default(Dictionary<string, AccountHolderCapability>), ContactDetails contactDetails = default(ContactDetails), string description = default(string), Dictionary<string, string> metadata = default(Dictionary<string, string>), string primaryBalanceAccount = default(string), string reference = default(string), StatusEnum? status = default(StatusEnum?), string timeZone = default(string))
8282
{
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
* Configuration API
3+
*
4+
*
5+
* The version of the OpenAPI document: 2
6+
*
7+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8+
* https://openapi-generator.tech
9+
* Do not edit the class manually.
10+
*/
11+
12+
using System;
13+
using System.Collections;
14+
using System.Collections.Generic;
15+
using System.Collections.ObjectModel;
16+
using System.Linq;
17+
using System.IO;
18+
using System.Runtime.Serialization;
19+
using System.Text;
20+
using System.Text.RegularExpressions;
21+
using Newtonsoft.Json;
22+
using Newtonsoft.Json.Converters;
23+
using Newtonsoft.Json.Linq;
24+
using System.ComponentModel.DataAnnotations;
25+
using OpenAPIDateConverter = Adyen.ApiSerialization.OpenAPIDateConverter;
26+
27+
namespace Adyen.Model.BalancePlatform
28+
{
29+
/// <summary>
30+
/// AssociationDelegatedAuthenticationData
31+
/// </summary>
32+
[DataContract(Name = "AssociationDelegatedAuthenticationData")]
33+
public partial class AssociationDelegatedAuthenticationData : IEquatable<AssociationDelegatedAuthenticationData>, IValidatableObject
34+
{
35+
/// <summary>
36+
/// Initializes a new instance of the <see cref="AssociationDelegatedAuthenticationData" /> class.
37+
/// </summary>
38+
[JsonConstructorAttribute]
39+
protected AssociationDelegatedAuthenticationData() { }
40+
/// <summary>
41+
/// Initializes a new instance of the <see cref="AssociationDelegatedAuthenticationData" /> class.
42+
/// </summary>
43+
/// <param name="sdkOutput">A base64-encoded block with the data required to authenticate the request. You obtain this information by using our authentication SDK. (required).</param>
44+
public AssociationDelegatedAuthenticationData(string sdkOutput = default(string))
45+
{
46+
this.SdkOutput = sdkOutput;
47+
}
48+
49+
/// <summary>
50+
/// A base64-encoded block with the data required to authenticate the request. You obtain this information by using our authentication SDK.
51+
/// </summary>
52+
/// <value>A base64-encoded block with the data required to authenticate the request. You obtain this information by using our authentication SDK.</value>
53+
[DataMember(Name = "sdkOutput", IsRequired = false, EmitDefaultValue = false)]
54+
public string SdkOutput { get; set; }
55+
56+
/// <summary>
57+
/// Returns the string presentation of the object
58+
/// </summary>
59+
/// <returns>String presentation of the object</returns>
60+
public override string ToString()
61+
{
62+
StringBuilder sb = new StringBuilder();
63+
sb.Append("class AssociationDelegatedAuthenticationData {\n");
64+
sb.Append(" SdkOutput: ").Append(SdkOutput).Append("\n");
65+
sb.Append("}\n");
66+
return sb.ToString();
67+
}
68+
69+
/// <summary>
70+
/// Returns the JSON string presentation of the object
71+
/// </summary>
72+
/// <returns>JSON string presentation of the object</returns>
73+
public virtual string ToJson()
74+
{
75+
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
76+
}
77+
78+
/// <summary>
79+
/// Returns true if objects are equal
80+
/// </summary>
81+
/// <param name="input">Object to be compared</param>
82+
/// <returns>Boolean</returns>
83+
public override bool Equals(object input)
84+
{
85+
return this.Equals(input as AssociationDelegatedAuthenticationData);
86+
}
87+
88+
/// <summary>
89+
/// Returns true if AssociationDelegatedAuthenticationData instances are equal
90+
/// </summary>
91+
/// <param name="input">Instance of AssociationDelegatedAuthenticationData to be compared</param>
92+
/// <returns>Boolean</returns>
93+
public bool Equals(AssociationDelegatedAuthenticationData input)
94+
{
95+
if (input == null)
96+
{
97+
return false;
98+
}
99+
return
100+
(
101+
this.SdkOutput == input.SdkOutput ||
102+
(this.SdkOutput != null &&
103+
this.SdkOutput.Equals(input.SdkOutput))
104+
);
105+
}
106+
107+
/// <summary>
108+
/// Gets the hash code
109+
/// </summary>
110+
/// <returns>Hash code</returns>
111+
public override int GetHashCode()
112+
{
113+
unchecked // Overflow is fine, just wrap
114+
{
115+
int hashCode = 41;
116+
if (this.SdkOutput != null)
117+
{
118+
hashCode = (hashCode * 59) + this.SdkOutput.GetHashCode();
119+
}
120+
return hashCode;
121+
}
122+
}
123+
/// <summary>
124+
/// To validate all properties of the instance
125+
/// </summary>
126+
/// <param name="validationContext">Validation context</param>
127+
/// <returns>Validation Result</returns>
128+
public IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Validate(ValidationContext validationContext)
129+
{
130+
// SdkOutput (string) maxLength
131+
if (this.SdkOutput != null && this.SdkOutput.Length > 20000)
132+
{
133+
yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SdkOutput, length must be less than 20000.", new [] { "SdkOutput" });
134+
}
135+
136+
yield break;
137+
}
138+
}
139+
140+
}

0 commit comments

Comments
 (0)