Skip to content

Commit 45d7f5f

Browse files
committed
auto gen code + 2 model update in sdktracker
1 parent 163723d commit 45d7f5f

File tree

262 files changed

+12666
-2167
lines changed

Some content is hidden

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

262 files changed

+12666
-2167
lines changed

Api/BatchesApi.cs

Lines changed: 66 additions & 66 deletions
Large diffs are not rendered by default.

Api/DeviceDeAssociationV3Api.cs

Lines changed: 433 additions & 0 deletions
Large diffs are not rendered by default.

Api/DeviceSearchApi.cs

Lines changed: 433 additions & 0 deletions
Large diffs are not rendered by default.

Model/CommerceSolutionsProductsAccountUpdater.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public partial class CommerceSolutionsProductsAccountUpdater : IEquatable<Comme
3535
/// </summary>
3636
/// <param name="SubscriptionInformation">SubscriptionInformation.</param>
3737
/// <param name="ConfigurationInformation">ConfigurationInformation.</param>
38-
public CommerceSolutionsProductsAccountUpdater(PaymentsProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentsProductsPayerAuthenticationSubscriptionInformation), CommerceSolutionsProductsAccountUpdaterConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformation))
38+
public CommerceSolutionsProductsAccountUpdater(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation SubscriptionInformation = default(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation), CommerceSolutionsProductsAccountUpdaterConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsAccountUpdaterConfigurationInformation))
3939
{
4040
this.SubscriptionInformation = SubscriptionInformation;
4141
this.ConfigurationInformation = ConfigurationInformation;
@@ -45,7 +45,7 @@ public partial class CommerceSolutionsProductsAccountUpdater : IEquatable<Comme
4545
/// Gets or Sets SubscriptionInformation
4646
/// </summary>
4747
[DataMember(Name="subscriptionInformation", EmitDefaultValue=false)]
48-
public PaymentsProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; }
48+
public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation SubscriptionInformation { get; set; }
4949

5050
/// <summary>
5151
/// Gets or Sets ConfigurationInformation

Model/CommerceSolutionsProductsBinLookup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public partial class CommerceSolutionsProductsBinLookup : IEquatable<CommerceSo
3535
/// </summary>
3636
/// <param name="SubscriptionInformation">SubscriptionInformation.</param>
3737
/// <param name="ConfigurationInformation">ConfigurationInformation.</param>
38-
public CommerceSolutionsProductsBinLookup(PaymentsProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentsProductsPayerAuthenticationSubscriptionInformation), CommerceSolutionsProductsBinLookupConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsBinLookupConfigurationInformation))
38+
public CommerceSolutionsProductsBinLookup(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation SubscriptionInformation = default(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation), CommerceSolutionsProductsBinLookupConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsBinLookupConfigurationInformation))
3939
{
4040
this.SubscriptionInformation = SubscriptionInformation;
4141
this.ConfigurationInformation = ConfigurationInformation;
@@ -45,7 +45,7 @@ public partial class CommerceSolutionsProductsBinLookup : IEquatable<CommerceSo
4545
/// Gets or Sets SubscriptionInformation
4646
/// </summary>
4747
[DataMember(Name="subscriptionInformation", EmitDefaultValue=false)]
48-
public PaymentsProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; }
48+
public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation SubscriptionInformation { get; set; }
4949

5050
/// <summary>
5151
/// Gets or Sets ConfigurationInformation

Model/CommerceSolutionsProductsTokenManagement.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public partial class CommerceSolutionsProductsTokenManagement : IEquatable<Comm
3535
/// </summary>
3636
/// <param name="SubscriptionInformation">SubscriptionInformation.</param>
3737
/// <param name="ConfigurationInformation">ConfigurationInformation.</param>
38-
public CommerceSolutionsProductsTokenManagement(PaymentsProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation = default(PaymentsProductsPayerAuthenticationSubscriptionInformation), CommerceSolutionsProductsTokenManagementConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsTokenManagementConfigurationInformation))
38+
public CommerceSolutionsProductsTokenManagement(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation SubscriptionInformation = default(PaymentsProductsAlternativePaymentMethodsSubscriptionInformation), CommerceSolutionsProductsTokenManagementConfigurationInformation ConfigurationInformation = default(CommerceSolutionsProductsTokenManagementConfigurationInformation))
3939
{
4040
this.SubscriptionInformation = SubscriptionInformation;
4141
this.ConfigurationInformation = ConfigurationInformation;
@@ -45,7 +45,7 @@ public partial class CommerceSolutionsProductsTokenManagement : IEquatable<Comm
4545
/// Gets or Sets SubscriptionInformation
4646
/// </summary>
4747
[DataMember(Name="subscriptionInformation", EmitDefaultValue=false)]
48-
public PaymentsProductsPayerAuthenticationSubscriptionInformation SubscriptionInformation { get; set; }
48+
public PaymentsProductsAlternativePaymentMethodsSubscriptionInformation SubscriptionInformation { get; set; }
4949

5050
/// <summary>
5151
/// Gets or Sets ConfigurationInformation
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Collections.ObjectModel;
19+
using System.Runtime.Serialization;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter;
24+
25+
namespace CyberSource.Model
26+
{
27+
/// <summary>
28+
/// DeviceDeAssociateV3Request
29+
/// </summary>
30+
[DataContract]
31+
public partial class DeviceDeAssociateV3Request : IEquatable<DeviceDeAssociateV3Request>, IValidatableObject
32+
{
33+
/// <summary>
34+
/// Initializes a new instance of the <see cref="DeviceDeAssociateV3Request" /> class.
35+
/// </summary>
36+
[JsonConstructorAttribute]
37+
protected DeviceDeAssociateV3Request() { }
38+
/// <summary>
39+
/// Initializes a new instance of the <see cref="DeviceDeAssociateV3Request" /> class.
40+
/// </summary>
41+
/// <param name="DeviceId">ID of the device to be de-associated. (required).</param>
42+
/// <param name="OrganizationId">A field representing value of either account id or portfolio id..</param>
43+
public DeviceDeAssociateV3Request(string DeviceId = default(string), string OrganizationId = default(string))
44+
{
45+
this.DeviceId = DeviceId;
46+
this.OrganizationId = OrganizationId;
47+
}
48+
49+
/// <summary>
50+
/// ID of the device to be de-associated.
51+
/// </summary>
52+
/// <value>ID of the device to be de-associated.</value>
53+
[DataMember(Name="deviceId", EmitDefaultValue=false)]
54+
public string DeviceId { get; set; }
55+
56+
/// <summary>
57+
/// A field representing value of either account id or portfolio id.
58+
/// </summary>
59+
/// <value>A field representing value of either account id or portfolio id.</value>
60+
[DataMember(Name="organizationId", EmitDefaultValue=false)]
61+
public string OrganizationId { get; set; }
62+
63+
/// <summary>
64+
/// Returns the string presentation of the object
65+
/// </summary>
66+
/// <returns>String presentation of the object</returns>
67+
public override string ToString()
68+
{
69+
var sb = new StringBuilder();
70+
sb.Append("class DeviceDeAssociateV3Request {\n");
71+
if (DeviceId != null) sb.Append(" DeviceId: ").Append(DeviceId).Append("\n");
72+
if (OrganizationId != null) sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n");
73+
sb.Append("}\n");
74+
return sb.ToString();
75+
}
76+
77+
/// <summary>
78+
/// Returns the JSON string presentation of the object
79+
/// </summary>
80+
/// <returns>JSON string presentation of the object</returns>
81+
public string ToJson()
82+
{
83+
return JsonConvert.SerializeObject(this, Formatting.Indented);
84+
}
85+
86+
/// <summary>
87+
/// Returns true if objects are equal
88+
/// </summary>
89+
/// <param name="obj">Object to be compared</param>
90+
/// <returns>Boolean</returns>
91+
public override bool Equals(object obj)
92+
{
93+
// credit: http://stackoverflow.com/a/10454552/677735
94+
return this.Equals(obj as DeviceDeAssociateV3Request);
95+
}
96+
97+
/// <summary>
98+
/// Returns true if DeviceDeAssociateV3Request instances are equal
99+
/// </summary>
100+
/// <param name="other">Instance of DeviceDeAssociateV3Request to be compared</param>
101+
/// <returns>Boolean</returns>
102+
public bool Equals(DeviceDeAssociateV3Request other)
103+
{
104+
// credit: http://stackoverflow.com/a/10454552/677735
105+
if (other == null)
106+
return false;
107+
108+
return
109+
(
110+
this.DeviceId == other.DeviceId ||
111+
this.DeviceId != null &&
112+
this.DeviceId.Equals(other.DeviceId)
113+
) &&
114+
(
115+
this.OrganizationId == other.OrganizationId ||
116+
this.OrganizationId != null &&
117+
this.OrganizationId.Equals(other.OrganizationId)
118+
);
119+
}
120+
121+
/// <summary>
122+
/// Gets the hash code
123+
/// </summary>
124+
/// <returns>Hash code</returns>
125+
public override int GetHashCode()
126+
{
127+
// credit: http://stackoverflow.com/a/263416/677735
128+
unchecked // Overflow is fine, just wrap
129+
{
130+
int hash = 41;
131+
// Suitable nullity checks etc, of course :)
132+
if (this.DeviceId != null)
133+
hash = hash * 59 + this.DeviceId.GetHashCode();
134+
if (this.OrganizationId != null)
135+
hash = hash * 59 + this.OrganizationId.GetHashCode();
136+
return hash;
137+
}
138+
}
139+
140+
/// <summary>
141+
/// To validate all properties of the instance
142+
/// </summary>
143+
/// <param name="validationContext">Validation context</param>
144+
/// <returns>Validation Result</returns>
145+
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
146+
{
147+
yield break;
148+
}
149+
}
150+
151+
}
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Collections.ObjectModel;
19+
using System.Runtime.Serialization;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter;
24+
25+
namespace CyberSource.Model
26+
{
27+
/// <summary>
28+
/// Dmsv3devicesdeassociateDevices
29+
/// </summary>
30+
[DataContract]
31+
public partial class Dmsv3devicesdeassociateDevices : IEquatable<Dmsv3devicesdeassociateDevices>, IValidatableObject
32+
{
33+
/// <summary>
34+
/// Initializes a new instance of the <see cref="Dmsv3devicesdeassociateDevices" /> class.
35+
/// </summary>
36+
/// <param name="DeviceId">DeviceId.</param>
37+
/// <param name="Reason">Reason.</param>
38+
/// <param name="Code">Code.</param>
39+
public Dmsv3devicesdeassociateDevices(string DeviceId = default(string), string Reason = default(string), string Code = default(string))
40+
{
41+
this.DeviceId = DeviceId;
42+
this.Reason = Reason;
43+
this.Code = Code;
44+
}
45+
46+
/// <summary>
47+
/// Gets or Sets DeviceId
48+
/// </summary>
49+
[DataMember(Name="deviceId", EmitDefaultValue=false)]
50+
public string DeviceId { get; set; }
51+
52+
/// <summary>
53+
/// Gets or Sets Reason
54+
/// </summary>
55+
[DataMember(Name="reason", EmitDefaultValue=false)]
56+
public string Reason { get; set; }
57+
58+
/// <summary>
59+
/// Gets or Sets Code
60+
/// </summary>
61+
[DataMember(Name="code", EmitDefaultValue=false)]
62+
public string Code { get; set; }
63+
64+
/// <summary>
65+
/// Returns the string presentation of the object
66+
/// </summary>
67+
/// <returns>String presentation of the object</returns>
68+
public override string ToString()
69+
{
70+
var sb = new StringBuilder();
71+
sb.Append("class Dmsv3devicesdeassociateDevices {\n");
72+
if (DeviceId != null) sb.Append(" DeviceId: ").Append(DeviceId).Append("\n");
73+
if (Reason != null) sb.Append(" Reason: ").Append(Reason).Append("\n");
74+
if (Code != null) sb.Append(" Code: ").Append(Code).Append("\n");
75+
sb.Append("}\n");
76+
return sb.ToString();
77+
}
78+
79+
/// <summary>
80+
/// Returns the JSON string presentation of the object
81+
/// </summary>
82+
/// <returns>JSON string presentation of the object</returns>
83+
public string ToJson()
84+
{
85+
return JsonConvert.SerializeObject(this, Formatting.Indented);
86+
}
87+
88+
/// <summary>
89+
/// Returns true if objects are equal
90+
/// </summary>
91+
/// <param name="obj">Object to be compared</param>
92+
/// <returns>Boolean</returns>
93+
public override bool Equals(object obj)
94+
{
95+
// credit: http://stackoverflow.com/a/10454552/677735
96+
return this.Equals(obj as Dmsv3devicesdeassociateDevices);
97+
}
98+
99+
/// <summary>
100+
/// Returns true if Dmsv3devicesdeassociateDevices instances are equal
101+
/// </summary>
102+
/// <param name="other">Instance of Dmsv3devicesdeassociateDevices to be compared</param>
103+
/// <returns>Boolean</returns>
104+
public bool Equals(Dmsv3devicesdeassociateDevices other)
105+
{
106+
// credit: http://stackoverflow.com/a/10454552/677735
107+
if (other == null)
108+
return false;
109+
110+
return
111+
(
112+
this.DeviceId == other.DeviceId ||
113+
this.DeviceId != null &&
114+
this.DeviceId.Equals(other.DeviceId)
115+
) &&
116+
(
117+
this.Reason == other.Reason ||
118+
this.Reason != null &&
119+
this.Reason.Equals(other.Reason)
120+
) &&
121+
(
122+
this.Code == other.Code ||
123+
this.Code != null &&
124+
this.Code.Equals(other.Code)
125+
);
126+
}
127+
128+
/// <summary>
129+
/// Gets the hash code
130+
/// </summary>
131+
/// <returns>Hash code</returns>
132+
public override int GetHashCode()
133+
{
134+
// credit: http://stackoverflow.com/a/263416/677735
135+
unchecked // Overflow is fine, just wrap
136+
{
137+
int hash = 41;
138+
// Suitable nullity checks etc, of course :)
139+
if (this.DeviceId != null)
140+
hash = hash * 59 + this.DeviceId.GetHashCode();
141+
if (this.Reason != null)
142+
hash = hash * 59 + this.Reason.GetHashCode();
143+
if (this.Code != null)
144+
hash = hash * 59 + this.Code.GetHashCode();
145+
return hash;
146+
}
147+
}
148+
149+
/// <summary>
150+
/// To validate all properties of the instance
151+
/// </summary>
152+
/// <param name="validationContext">Validation context</param>
153+
/// <returns>Validation Result</returns>
154+
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
155+
{
156+
yield break;
157+
}
158+
}
159+
160+
}

0 commit comments

Comments
 (0)