Skip to content

Commit

Permalink
Merge pull request #527 from XeroAPI/OAS-6.1.1-dotnet
Browse files Browse the repository at this point in the history
Build from OAS 6.1.1
  • Loading branch information
manishT72 authored Aug 5, 2024
2 parents 64be5ee + b2f58f3 commit a29b8cf
Show file tree
Hide file tree
Showing 43 changed files with 2,822 additions and 193 deletions.
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/AccountingApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/AppStoreApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/AssetApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/FilesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/FinanceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/IdentityApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
476 changes: 468 additions & 8 deletions Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/ProjectApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 6.0.0
// The version of the OpenAPI document: 6.1.1


using System;
Expand Down
8 changes: 4 additions & 4 deletions Xero.NetStandard.OAuth2/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "8.0.0";
public const string Version = "8.1.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -103,7 +103,7 @@ public class Configuration : IReadableConfiguration
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")]
public Configuration()
{
UserAgent = "xero-netstandard-8.0.0";
UserAgent = "xero-netstandard-8.1.0";
BasePath = "https://api.xero.com/api.xro/2.0";
DefaultHeader = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -341,8 +341,8 @@ public static String ToDebugReport()
{
String report = "C# SDK (Xero.NetStandard.OAuth2) Debug Report:\n";
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";
report += " Version of the API: 6.0.0\n";
report += " SDK Package Version: 8.0.0\n";
report += " Version of the API: 6.1.1\n";
report += " SDK Package Version: 8.1.0\n";

return report;
}
Expand Down
16 changes: 16 additions & 0 deletions Xero.NetStandard.OAuth2/Model/Accounting/BankTransactions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public partial class BankTransactions : IEquatable<BankTransactions>, IValidata
[DataMember(Name="pagination", EmitDefaultValue=false)]
public Pagination Pagination { get; set; }

/// <summary>
/// Displays array of warning messages from the API
/// </summary>
/// <value>Displays array of warning messages from the API</value>
[DataMember(Name="Warnings", EmitDefaultValue=false)]
public List<ValidationError> Warnings { get; set; }

/// <summary>
/// Gets or Sets _BankTransactions
/// </summary>
Expand All @@ -52,6 +59,7 @@ public override string ToString()
var sb = new StringBuilder();
sb.Append("class BankTransactions {\n");
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
sb.Append(" _BankTransactions: ").Append(_BankTransactions).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -92,6 +100,12 @@ public bool Equals(BankTransactions input)
(this.Pagination != null &&
this.Pagination.Equals(input.Pagination))
) &&
(
this.Warnings == input.Warnings ||
this.Warnings != null &&
input.Warnings != null &&
this.Warnings.SequenceEqual(input.Warnings)
) &&
(
this._BankTransactions == input._BankTransactions ||
this._BankTransactions != null &&
Expand All @@ -111,6 +125,8 @@ public override int GetHashCode()
int hashCode = 41;
if (this.Pagination != null)
hashCode = hashCode * 59 + this.Pagination.GetHashCode();
if (this.Warnings != null)
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
if (this._BankTransactions != null)
hashCode = hashCode * 59 + this._BankTransactions.GetHashCode();
return hashCode;
Expand Down
16 changes: 16 additions & 0 deletions Xero.NetStandard.OAuth2/Model/Accounting/Contacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public partial class Contacts : IEquatable<Contacts>, IValidatableObject
[DataMember(Name="pagination", EmitDefaultValue=false)]
public Pagination Pagination { get; set; }

/// <summary>
/// Displays array of warning messages from the API
/// </summary>
/// <value>Displays array of warning messages from the API</value>
[DataMember(Name="Warnings", EmitDefaultValue=false)]
public List<ValidationError> Warnings { get; set; }

/// <summary>
/// Gets or Sets _Contacts
/// </summary>
Expand All @@ -52,6 +59,7 @@ public override string ToString()
var sb = new StringBuilder();
sb.Append("class Contacts {\n");
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
sb.Append(" _Contacts: ").Append(_Contacts).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -92,6 +100,12 @@ public bool Equals(Contacts input)
(this.Pagination != null &&
this.Pagination.Equals(input.Pagination))
) &&
(
this.Warnings == input.Warnings ||
this.Warnings != null &&
input.Warnings != null &&
this.Warnings.SequenceEqual(input.Warnings)
) &&
(
this._Contacts == input._Contacts ||
this._Contacts != null &&
Expand All @@ -111,6 +125,8 @@ public override int GetHashCode()
int hashCode = 41;
if (this.Pagination != null)
hashCode = hashCode * 59 + this.Pagination.GetHashCode();
if (this.Warnings != null)
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
if (this._Contacts != null)
hashCode = hashCode * 59 + this._Contacts.GetHashCode();
return hashCode;
Expand Down
16 changes: 16 additions & 0 deletions Xero.NetStandard.OAuth2/Model/Accounting/CreditNotes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public partial class CreditNotes : IEquatable<CreditNotes>, IValidatableObject
[DataMember(Name="pagination", EmitDefaultValue=false)]
public Pagination Pagination { get; set; }

/// <summary>
/// Displays array of warning messages from the API
/// </summary>
/// <value>Displays array of warning messages from the API</value>
[DataMember(Name="Warnings", EmitDefaultValue=false)]
public List<ValidationError> Warnings { get; set; }

/// <summary>
/// Gets or Sets _CreditNotes
/// </summary>
Expand All @@ -52,6 +59,7 @@ public override string ToString()
var sb = new StringBuilder();
sb.Append("class CreditNotes {\n");
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
sb.Append(" _CreditNotes: ").Append(_CreditNotes).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -92,6 +100,12 @@ public bool Equals(CreditNotes input)
(this.Pagination != null &&
this.Pagination.Equals(input.Pagination))
) &&
(
this.Warnings == input.Warnings ||
this.Warnings != null &&
input.Warnings != null &&
this.Warnings.SequenceEqual(input.Warnings)
) &&
(
this._CreditNotes == input._CreditNotes ||
this._CreditNotes != null &&
Expand All @@ -111,6 +125,8 @@ public override int GetHashCode()
int hashCode = 41;
if (this.Pagination != null)
hashCode = hashCode * 59 + this.Pagination.GetHashCode();
if (this.Warnings != null)
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
if (this._CreditNotes != null)
hashCode = hashCode * 59 + this._CreditNotes.GetHashCode();
return hashCode;
Expand Down
16 changes: 16 additions & 0 deletions Xero.NetStandard.OAuth2/Model/Accounting/Invoices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public partial class Invoices : IEquatable<Invoices>, IValidatableObject
[DataMember(Name="pagination", EmitDefaultValue=false)]
public Pagination Pagination { get; set; }

/// <summary>
/// Displays array of warning messages from the API
/// </summary>
/// <value>Displays array of warning messages from the API</value>
[DataMember(Name="Warnings", EmitDefaultValue=false)]
public List<ValidationError> Warnings { get; set; }

/// <summary>
/// Gets or Sets _Invoices
/// </summary>
Expand All @@ -52,6 +59,7 @@ public override string ToString()
var sb = new StringBuilder();
sb.Append("class Invoices {\n");
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
sb.Append(" _Invoices: ").Append(_Invoices).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -92,6 +100,12 @@ public bool Equals(Invoices input)
(this.Pagination != null &&
this.Pagination.Equals(input.Pagination))
) &&
(
this.Warnings == input.Warnings ||
this.Warnings != null &&
input.Warnings != null &&
this.Warnings.SequenceEqual(input.Warnings)
) &&
(
this._Invoices == input._Invoices ||
this._Invoices != null &&
Expand All @@ -111,6 +125,8 @@ public override int GetHashCode()
int hashCode = 41;
if (this.Pagination != null)
hashCode = hashCode * 59 + this.Pagination.GetHashCode();
if (this.Warnings != null)
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
if (this._Invoices != null)
hashCode = hashCode * 59 + this._Invoices.GetHashCode();
return hashCode;
Expand Down
16 changes: 16 additions & 0 deletions Xero.NetStandard.OAuth2/Model/Accounting/Journals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ namespace Xero.NetStandard.OAuth2.Model.Accounting
public partial class Journals : IEquatable<Journals>, IValidatableObject
{

/// <summary>
/// Displays array of warning messages from the API
/// </summary>
/// <value>Displays array of warning messages from the API</value>
[DataMember(Name="Warnings", EmitDefaultValue=false)]
public List<ValidationError> Warnings { get; set; }

/// <summary>
/// Gets or Sets _Journals
/// </summary>
Expand All @@ -45,6 +52,7 @@ public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class Journals {\n");
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
sb.Append(" _Journals: ").Append(_Journals).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -80,6 +88,12 @@ public bool Equals(Journals input)
return false;

return
(
this.Warnings == input.Warnings ||
this.Warnings != null &&
input.Warnings != null &&
this.Warnings.SequenceEqual(input.Warnings)
) &&
(
this._Journals == input._Journals ||
this._Journals != null &&
Expand All @@ -97,6 +111,8 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Warnings != null)
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
if (this._Journals != null)
hashCode = hashCode * 59 + this._Journals.GetHashCode();
return hashCode;
Expand Down
16 changes: 16 additions & 0 deletions Xero.NetStandard.OAuth2/Model/Accounting/ManualJournals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public partial class ManualJournals : IEquatable<ManualJournals>, IValidatableO
[DataMember(Name="pagination", EmitDefaultValue=false)]
public Pagination Pagination { get; set; }

/// <summary>
/// Displays array of warning messages from the API
/// </summary>
/// <value>Displays array of warning messages from the API</value>
[DataMember(Name="Warnings", EmitDefaultValue=false)]
public List<ValidationError> Warnings { get; set; }

/// <summary>
/// Gets or Sets _ManualJournals
/// </summary>
Expand All @@ -52,6 +59,7 @@ public override string ToString()
var sb = new StringBuilder();
sb.Append("class ManualJournals {\n");
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
sb.Append(" Warnings: ").Append(Warnings).Append("\n");
sb.Append(" _ManualJournals: ").Append(_ManualJournals).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -92,6 +100,12 @@ public bool Equals(ManualJournals input)
(this.Pagination != null &&
this.Pagination.Equals(input.Pagination))
) &&
(
this.Warnings == input.Warnings ||
this.Warnings != null &&
input.Warnings != null &&
this.Warnings.SequenceEqual(input.Warnings)
) &&
(
this._ManualJournals == input._ManualJournals ||
this._ManualJournals != null &&
Expand All @@ -111,6 +125,8 @@ public override int GetHashCode()
int hashCode = 41;
if (this.Pagination != null)
hashCode = hashCode * 59 + this.Pagination.GetHashCode();
if (this.Warnings != null)
hashCode = hashCode * 59 + this.Warnings.GetHashCode();
if (this._ManualJournals != null)
hashCode = hashCode * 59 + this._ManualJournals.GetHashCode();
return hashCode;
Expand Down
Loading

0 comments on commit a29b8cf

Please sign in to comment.