Skip to content

Commit 18684e2

Browse files
Merge pull request #557 from XeroAPI/OAS-6.3.0-dotnet
Build from OAS 6.3.0
2 parents aadb415 + e80d152 commit 18684e2

27 files changed

+828
-24
lines changed

Xero.NetStandard.OAuth2/Api/AccountingApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/AppStoreApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/AssetApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/FilesApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/FinanceApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/IdentityApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/ProjectApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 6.2.0
10+
// The version of the OpenAPI document: 6.3.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Client/Configuration.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
3131
/// Version of the package.
3232
/// </summary>
3333
/// <value>Version of the package.</value>
34-
public const string Version = "9.1.0";
34+
public const string Version = "9.2.0";
3535

3636
/// <summary>
3737
/// Identifier for ISO 8601 DateTime Format
@@ -103,7 +103,7 @@ public class Configuration : IReadableConfiguration
103103
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")]
104104
public Configuration()
105105
{
106-
UserAgent = "xero-netstandard-9.1.0";
106+
UserAgent = "xero-netstandard-9.2.0";
107107
BasePath = "https://api.xero.com/api.xro/2.0";
108108
DefaultHeader = new ConcurrentDictionary<string, string>();
109109
ApiKey = new ConcurrentDictionary<string, string>();
@@ -341,8 +341,8 @@ public static String ToDebugReport()
341341
{
342342
String report = "C# SDK (Xero.NetStandard.OAuth2) Debug Report:\n";
343343
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";
344-
report += " Version of the API: 6.2.0\n";
345-
report += " SDK Package Version: 9.1.0\n";
344+
report += " Version of the API: 6.3.0\n";
345+
report += " SDK Package Version: 9.2.0\n";
346346

347347
return report;
348348
}

Xero.NetStandard.OAuth2/Model/Accounting/CreditNote.cs

+16
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,13 @@ public enum StatusEnum
300300
[DataMember(Name="Warnings", EmitDefaultValue=false)]
301301
public List<ValidationError> Warnings { get; set; }
302302

303+
/// <summary>
304+
/// An array of addresses used to auto calculate sales tax
305+
/// </summary>
306+
/// <value>An array of addresses used to auto calculate sales tax</value>
307+
[DataMember(Name="InvoiceAddresses", EmitDefaultValue=false)]
308+
public List<InvoiceAddress> InvoiceAddresses { get; set; }
309+
303310
/// <summary>
304311
/// Returns the string presentation of the object
305312
/// </summary>
@@ -338,6 +345,7 @@ public override string ToString()
338345
sb.Append(" HasErrors: ").Append(HasErrors).Append("\n");
339346
sb.Append(" ValidationErrors: ").Append(ValidationErrors).Append("\n");
340347
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
348+
sb.Append(" InvoiceAddresses: ").Append(InvoiceAddresses).Append("\n");
341349
sb.Append("}\n");
342350
return sb.ToString();
343351
}
@@ -522,6 +530,12 @@ public bool Equals(CreditNote input)
522530
this.Warnings != null &&
523531
input.Warnings != null &&
524532
this.Warnings.SequenceEqual(input.Warnings)
533+
) &&
534+
(
535+
this.InvoiceAddresses == input.InvoiceAddresses ||
536+
this.InvoiceAddresses != null &&
537+
input.InvoiceAddresses != null &&
538+
this.InvoiceAddresses.SequenceEqual(input.InvoiceAddresses)
525539
);
526540
}
527541

@@ -590,6 +604,8 @@ public override int GetHashCode()
590604
hashCode = hashCode * 59 + this.ValidationErrors.GetHashCode();
591605
if (this.Warnings != null)
592606
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
607+
if (this.InvoiceAddresses != null)
608+
hashCode = hashCode * 59 + this.InvoiceAddresses.GetHashCode();
593609
return hashCode;
594610
}
595611
}

Xero.NetStandard.OAuth2/Model/Accounting/Invoice.cs

+16
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,13 @@ public enum StatusEnum
406406
[DataMember(Name="Warnings", EmitDefaultValue=false)]
407407
public List<ValidationError> Warnings { get; set; }
408408

409+
/// <summary>
410+
/// An array of addresses used to auto calculate sales tax
411+
/// </summary>
412+
/// <value>An array of addresses used to auto calculate sales tax</value>
413+
[DataMember(Name="InvoiceAddresses", EmitDefaultValue=false)]
414+
public List<InvoiceAddress> InvoiceAddresses { get; set; }
415+
409416
/// <summary>
410417
/// Returns the string presentation of the object
411418
/// </summary>
@@ -454,6 +461,7 @@ public override string ToString()
454461
sb.Append(" StatusAttributeString: ").Append(StatusAttributeString).Append("\n");
455462
sb.Append(" ValidationErrors: ").Append(ValidationErrors).Append("\n");
456463
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
464+
sb.Append(" InvoiceAddresses: ").Append(InvoiceAddresses).Append("\n");
457465
sb.Append("}\n");
458466
return sb.ToString();
459467
}
@@ -691,6 +699,12 @@ public bool Equals(Invoice input)
691699
this.Warnings != null &&
692700
input.Warnings != null &&
693701
this.Warnings.SequenceEqual(input.Warnings)
702+
) &&
703+
(
704+
this.InvoiceAddresses == input.InvoiceAddresses ||
705+
this.InvoiceAddresses != null &&
706+
input.InvoiceAddresses != null &&
707+
this.InvoiceAddresses.SequenceEqual(input.InvoiceAddresses)
694708
);
695709
}
696710

@@ -779,6 +793,8 @@ public override int GetHashCode()
779793
hashCode = hashCode * 59 + this.ValidationErrors.GetHashCode();
780794
if (this.Warnings != null)
781795
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
796+
if (this.InvoiceAddresses != null)
797+
hashCode = hashCode * 59 + this.InvoiceAddresses.GetHashCode();
782798
return hashCode;
783799
}
784800
}

0 commit comments

Comments
 (0)