diff --git a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs
index 10c51a9f..a48369d8 100644
--- a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs b/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs
index b858067b..567f77af 100644
--- a/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/AssetApi.cs b/Xero.NetStandard.OAuth2/Api/AssetApi.cs
index 965633a4..7734f500 100644
--- a/Xero.NetStandard.OAuth2/Api/AssetApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/AssetApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs b/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs
index 02ce046b..227399da 100644
--- a/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/FilesApi.cs b/Xero.NetStandard.OAuth2/Api/FilesApi.cs
index 52b0e536..522c0746 100644
--- a/Xero.NetStandard.OAuth2/Api/FilesApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/FilesApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/FinanceApi.cs b/Xero.NetStandard.OAuth2/Api/FinanceApi.cs
index b164a306..c88d0e3d 100644
--- a/Xero.NetStandard.OAuth2/Api/FinanceApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/FinanceApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs
index abc7e2a8..e905a675 100644
--- a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs
index c00e9067..44507198 100644
--- a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs b/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs
index 45f00c13..fa7ec21d 100644
--- a/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs
+++ b/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs
index 5a59e74e..53b261b6 100644
--- a/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs
index e3a349e3..87138647 100644
--- a/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/ProjectApi.cs b/Xero.NetStandard.OAuth2/Api/ProjectApi.cs
index 95f6dea8..778972ee 100644
--- a/Xero.NetStandard.OAuth2/Api/ProjectApi.cs
+++ b/Xero.NetStandard.OAuth2/Api/ProjectApi.cs
@@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
-// The version of the OpenAPI document: 14.0.0
+// The version of the OpenAPI document: 16.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs
index 3d5a330b..5c7fdf23 100644
--- a/Xero.NetStandard.OAuth2/Client/Configuration.cs
+++ b/Xero.NetStandard.OAuth2/Client/Configuration.cs
@@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
///
/// Version of the package.
- public const string Version = "16.0.0";
+ public const string Version = "17.0.0";
///
/// Identifier for ISO 8601 DateTime Format
@@ -103,7 +103,7 @@ public class Configuration : IReadableConfiguration
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")]
public Configuration()
{
- UserAgent = "xero-netstandard-16.0.0";
+ UserAgent = "xero-netstandard-17.0.0";
BasePath = "https://api.xero.com/api.xro/2.0";
DefaultHeader = new ConcurrentDictionary();
ApiKey = new ConcurrentDictionary();
@@ -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: 14.0.0\n";
- report += " SDK Package Version: 16.0.0\n";
+ report += " Version of the API: 16.0.0\n";
+ report += " SDK Package Version: 17.0.0\n";
return report;
}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetBankTransactionsResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetBankTransactionsResponse.cs
deleted file mode 100644
index 698f55bd..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetBankTransactionsResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetBankTransactionsResponse
- ///
- [DataContract]
- public partial class GetBankTransactionsResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets BankTransactions
- ///
- [DataMember(Name="BankTransactions", EmitDefaultValue=false)]
- public List BankTransactions { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetBankTransactionsResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" BankTransactions: ").Append(BankTransactions).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetBankTransactionsResponse);
- }
-
- ///
- /// Returns true if GetBankTransactionsResponse instances are equal
- ///
- /// Instance of GetBankTransactionsResponse to be compared
- /// Boolean
- public bool Equals(GetBankTransactionsResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.BankTransactions == input.BankTransactions ||
- this.BankTransactions != null &&
- input.BankTransactions != null &&
- this.BankTransactions.SequenceEqual(input.BankTransactions)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.BankTransactions != null)
- hashCode = hashCode * 59 + this.BankTransactions.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetContactsResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetContactsResponse.cs
deleted file mode 100644
index 80d4b159..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetContactsResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetContactsResponse
- ///
- [DataContract]
- public partial class GetContactsResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets Contacts
- ///
- [DataMember(Name="Contacts", EmitDefaultValue=false)]
- public List Contacts { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetContactsResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" Contacts: ").Append(Contacts).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetContactsResponse);
- }
-
- ///
- /// Returns true if GetContactsResponse instances are equal
- ///
- /// Instance of GetContactsResponse to be compared
- /// Boolean
- public bool Equals(GetContactsResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.Contacts == input.Contacts ||
- this.Contacts != null &&
- input.Contacts != null &&
- this.Contacts.SequenceEqual(input.Contacts)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.Contacts != null)
- hashCode = hashCode * 59 + this.Contacts.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetCreditNotesResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetCreditNotesResponse.cs
deleted file mode 100644
index e62c09c2..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetCreditNotesResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetCreditNotesResponse
- ///
- [DataContract]
- public partial class GetCreditNotesResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets CreditNotes
- ///
- [DataMember(Name="CreditNotes", EmitDefaultValue=false)]
- public List CreditNotes { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetCreditNotesResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" CreditNotes: ").Append(CreditNotes).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetCreditNotesResponse);
- }
-
- ///
- /// Returns true if GetCreditNotesResponse instances are equal
- ///
- /// Instance of GetCreditNotesResponse to be compared
- /// Boolean
- public bool Equals(GetCreditNotesResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.CreditNotes == input.CreditNotes ||
- this.CreditNotes != null &&
- input.CreditNotes != null &&
- this.CreditNotes.SequenceEqual(input.CreditNotes)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.CreditNotes != null)
- hashCode = hashCode * 59 + this.CreditNotes.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetInvoicesResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetInvoicesResponse.cs
deleted file mode 100644
index 16926cb1..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetInvoicesResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetInvoicesResponse
- ///
- [DataContract]
- public partial class GetInvoicesResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets Invoices
- ///
- [DataMember(Name="Invoices", EmitDefaultValue=false)]
- public List Invoices { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetInvoicesResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" Invoices: ").Append(Invoices).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetInvoicesResponse);
- }
-
- ///
- /// Returns true if GetInvoicesResponse instances are equal
- ///
- /// Instance of GetInvoicesResponse to be compared
- /// Boolean
- public bool Equals(GetInvoicesResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.Invoices == input.Invoices ||
- this.Invoices != null &&
- input.Invoices != null &&
- this.Invoices.SequenceEqual(input.Invoices)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.Invoices != null)
- hashCode = hashCode * 59 + this.Invoices.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetManualJournalsResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetManualJournalsResponse.cs
deleted file mode 100644
index ef64db64..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetManualJournalsResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetManualJournalsResponse
- ///
- [DataContract]
- public partial class GetManualJournalsResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets ManualJournals
- ///
- [DataMember(Name="ManualJournals", EmitDefaultValue=false)]
- public List ManualJournals { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetManualJournalsResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" ManualJournals: ").Append(ManualJournals).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetManualJournalsResponse);
- }
-
- ///
- /// Returns true if GetManualJournalsResponse instances are equal
- ///
- /// Instance of GetManualJournalsResponse to be compared
- /// Boolean
- public bool Equals(GetManualJournalsResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.ManualJournals == input.ManualJournals ||
- this.ManualJournals != null &&
- input.ManualJournals != null &&
- this.ManualJournals.SequenceEqual(input.ManualJournals)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.ManualJournals != null)
- hashCode = hashCode * 59 + this.ManualJournals.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetOverpaymentsResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetOverpaymentsResponse.cs
deleted file mode 100644
index 6d8c79f0..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetOverpaymentsResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetOverpaymentsResponse
- ///
- [DataContract]
- public partial class GetOverpaymentsResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets Overpayments
- ///
- [DataMember(Name="Overpayments", EmitDefaultValue=false)]
- public List Overpayments { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetOverpaymentsResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" Overpayments: ").Append(Overpayments).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetOverpaymentsResponse);
- }
-
- ///
- /// Returns true if GetOverpaymentsResponse instances are equal
- ///
- /// Instance of GetOverpaymentsResponse to be compared
- /// Boolean
- public bool Equals(GetOverpaymentsResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.Overpayments == input.Overpayments ||
- this.Overpayments != null &&
- input.Overpayments != null &&
- this.Overpayments.SequenceEqual(input.Overpayments)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.Overpayments != null)
- hashCode = hashCode * 59 + this.Overpayments.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetPaymentsResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetPaymentsResponse.cs
deleted file mode 100644
index e10e6476..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetPaymentsResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetPaymentsResponse
- ///
- [DataContract]
- public partial class GetPaymentsResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets Payments
- ///
- [DataMember(Name="Payments", EmitDefaultValue=false)]
- public List Payments { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetPaymentsResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" Payments: ").Append(Payments).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetPaymentsResponse);
- }
-
- ///
- /// Returns true if GetPaymentsResponse instances are equal
- ///
- /// Instance of GetPaymentsResponse to be compared
- /// Boolean
- public bool Equals(GetPaymentsResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.Payments == input.Payments ||
- this.Payments != null &&
- input.Payments != null &&
- this.Payments.SequenceEqual(input.Payments)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.Payments != null)
- hashCode = hashCode * 59 + this.Payments.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetPrepaymentsResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetPrepaymentsResponse.cs
deleted file mode 100644
index f9204f04..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetPrepaymentsResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetPrepaymentsResponse
- ///
- [DataContract]
- public partial class GetPrepaymentsResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets Prepayments
- ///
- [DataMember(Name="Prepayments", EmitDefaultValue=false)]
- public List Prepayments { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetPrepaymentsResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" Prepayments: ").Append(Prepayments).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetPrepaymentsResponse);
- }
-
- ///
- /// Returns true if GetPrepaymentsResponse instances are equal
- ///
- /// Instance of GetPrepaymentsResponse to be compared
- /// Boolean
- public bool Equals(GetPrepaymentsResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.Prepayments == input.Prepayments ||
- this.Prepayments != null &&
- input.Prepayments != null &&
- this.Prepayments.SequenceEqual(input.Prepayments)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.Prepayments != null)
- hashCode = hashCode * 59 + this.Prepayments.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/GetPurchaseOrdersResponse.cs b/Xero.NetStandard.OAuth2/Model/Accounting/GetPurchaseOrdersResponse.cs
deleted file mode 100644
index c85ebb40..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/GetPurchaseOrdersResponse.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// GetPurchaseOrdersResponse
- ///
- [DataContract]
- public partial class GetPurchaseOrdersResponse : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Id
- ///
- [DataMember(Name="Id", EmitDefaultValue=false)]
- public string Id { get; set; }
-
- ///
- /// Gets or Sets Status
- ///
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Gets or Sets ProviderName
- ///
- [DataMember(Name="ProviderName", EmitDefaultValue=false)]
- public string ProviderName { get; set; }
-
- ///
- /// Gets or Sets DateTimeUTC
- ///
- [DataMember(Name="DateTimeUTC", EmitDefaultValue=false)]
- public string DateTimeUTC { get; set; }
-
- ///
- /// Gets or Sets PageInfo
- ///
- [DataMember(Name="PageInfo", EmitDefaultValue=false)]
- public PageInfo PageInfo { get; set; }
-
- ///
- /// Gets or Sets PurchaseOrders
- ///
- [DataMember(Name="PurchaseOrders", EmitDefaultValue=false)]
- public List PurchaseOrders { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class GetPurchaseOrdersResponse {\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append(" ProviderName: ").Append(ProviderName).Append("\n");
- sb.Append(" DateTimeUTC: ").Append(DateTimeUTC).Append("\n");
- sb.Append(" PageInfo: ").Append(PageInfo).Append("\n");
- sb.Append(" PurchaseOrders: ").Append(PurchaseOrders).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as GetPurchaseOrdersResponse);
- }
-
- ///
- /// Returns true if GetPurchaseOrdersResponse instances are equal
- ///
- /// Instance of GetPurchaseOrdersResponse to be compared
- /// Boolean
- public bool Equals(GetPurchaseOrdersResponse input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Id == input.Id ||
- (this.Id != null &&
- this.Id.Equals(input.Id))
- ) &&
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- ) &&
- (
- this.ProviderName == input.ProviderName ||
- (this.ProviderName != null &&
- this.ProviderName.Equals(input.ProviderName))
- ) &&
- (
- this.DateTimeUTC == input.DateTimeUTC ||
- (this.DateTimeUTC != null &&
- this.DateTimeUTC.Equals(input.DateTimeUTC))
- ) &&
- (
- this.PageInfo == input.PageInfo ||
- (this.PageInfo != null &&
- this.PageInfo.Equals(input.PageInfo))
- ) &&
- (
- this.PurchaseOrders == input.PurchaseOrders ||
- this.PurchaseOrders != null &&
- input.PurchaseOrders != null &&
- this.PurchaseOrders.SequenceEqual(input.PurchaseOrders)
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Id != null)
- hashCode = hashCode * 59 + this.Id.GetHashCode();
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- if (this.ProviderName != null)
- hashCode = hashCode * 59 + this.ProviderName.GetHashCode();
- if (this.DateTimeUTC != null)
- hashCode = hashCode * 59 + this.DateTimeUTC.GetHashCode();
- if (this.PageInfo != null)
- hashCode = hashCode * 59 + this.PageInfo.GetHashCode();
- if (this.PurchaseOrders != null)
- hashCode = hashCode * 59 + this.PurchaseOrders.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
index 11dd40c3..e59b5b94 100644
--- a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
+++ b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
@@ -707,7 +707,13 @@ public enum ClassEnum
/// Enum BASICLITE for value: BASICLITE
///
[EnumMember(Value = "BASICLITE")]
- BASICLITE = 22
+ BASICLITE = 22,
+
+ ///
+ /// Enum ULTRA for value: ULTRA
+ ///
+ [EnumMember(Value = "ULTRA")]
+ ULTRA = 23
}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PageInfo.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PageInfo.cs
deleted file mode 100644
index 4f6cf48f..00000000
--- a/Xero.NetStandard.OAuth2/Model/Accounting/PageInfo.cs
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
- * Xero Accounting API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Accounting
-{
- ///
- /// Pagination information
- ///
- [DataContract]
- public partial class PageInfo : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Page
- ///
- [DataMember(Name="Page", EmitDefaultValue=false)]
- public int? Page { get; set; }
-
- ///
- /// Gets or Sets PageSize
- ///
- [DataMember(Name="PageSize", EmitDefaultValue=false)]
- public int? PageSize { get; set; }
-
- ///
- /// Gets or Sets TotalPages
- ///
- [DataMember(Name="TotalPages", EmitDefaultValue=false)]
- public int? TotalPages { get; set; }
-
- ///
- /// Gets or Sets TotalRows
- ///
- [DataMember(Name="TotalRows", EmitDefaultValue=false)]
- public int? TotalRows { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class PageInfo {\n");
- sb.Append(" Page: ").Append(Page).Append("\n");
- sb.Append(" PageSize: ").Append(PageSize).Append("\n");
- sb.Append(" TotalPages: ").Append(TotalPages).Append("\n");
- sb.Append(" TotalRows: ").Append(TotalRows).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as PageInfo);
- }
-
- ///
- /// Returns true if PageInfo instances are equal
- ///
- /// Instance of PageInfo to be compared
- /// Boolean
- public bool Equals(PageInfo input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Page == input.Page ||
- (this.Page != null &&
- this.Page.Equals(input.Page))
- ) &&
- (
- this.PageSize == input.PageSize ||
- (this.PageSize != null &&
- this.PageSize.Equals(input.PageSize))
- ) &&
- (
- this.TotalPages == input.TotalPages ||
- (this.TotalPages != null &&
- this.TotalPages.Equals(input.TotalPages))
- ) &&
- (
- this.TotalRows == input.TotalRows ||
- (this.TotalRows != null &&
- this.TotalRows.Equals(input.TotalRows))
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Page != null)
- hashCode = hashCode * 59 + this.Page.GetHashCode();
- if (this.PageSize != null)
- hashCode = hashCode * 59 + this.PageSize.GetHashCode();
- if (this.TotalPages != null)
- hashCode = hashCode * 59 + this.TotalPages.GetHashCode();
- if (this.TotalRows != null)
- hashCode = hashCode * 59 + this.TotalRows.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Files/FileResponse204.cs b/Xero.NetStandard.OAuth2/Model/Files/FileResponse204.cs
deleted file mode 100644
index f2de1b77..00000000
--- a/Xero.NetStandard.OAuth2/Model/Files/FileResponse204.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Xero Files API
- *
- * These endpoints are specific to Xero Files API
- *
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Files
-{
- ///
- /// FileResponse204
- ///
- [DataContract]
- public partial class FileResponse204 : IEquatable, IValidatableObject
- {
-
- ///
- /// Status response for 204 no content
- ///
- /// Status response for 204 no content
- [DataMember(Name="Status", EmitDefaultValue=false)]
- public string Status { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class FileResponse204 {\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as FileResponse204);
- }
-
- ///
- /// Returns true if FileResponse204 instances are equal
- ///
- /// Instance of FileResponse204 to be compared
- /// Boolean
- public bool Equals(FileResponse204 input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Status == input.Status ||
- (this.Status != null &&
- this.Status.Equals(input.Status))
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Status != null)
- hashCode = hashCode * 59 + this.Status.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/Files/InlineObject.cs b/Xero.NetStandard.OAuth2/Model/Files/InlineObject.cs
deleted file mode 100644
index 258586b7..00000000
--- a/Xero.NetStandard.OAuth2/Model/Files/InlineObject.cs
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
- * Xero Files API
- *
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * The version of the OpenAPI document: 2.8.4
- * Contact: api@xero.com
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Runtime.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Converters;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIDateConverter = Xero.NetStandard.OAuth2.Client.OpenAPIDateConverter;
-
-namespace Xero.NetStandard.OAuth2.Model.Files
-{
- ///
- /// InlineObject
- ///
- [DataContract]
- public partial class InlineObject : IEquatable, IValidatableObject
- {
-
- ///
- /// Gets or Sets Body
- ///
- [DataMember(Name="body", EmitDefaultValue=false)]
- public byte[] Body { get; set; }
-
- ///
- /// exact name of the file you are uploading
- ///
- /// exact name of the file you are uploading
- [DataMember(Name="name", EmitDefaultValue=false)]
- public string Name { get; set; }
-
- ///
- /// Gets or Sets Filename
- ///
- [DataMember(Name="filename", EmitDefaultValue=false)]
- public string Filename { get; set; }
-
- ///
- /// Gets or Sets MimeType
- ///
- [DataMember(Name="mimeType", EmitDefaultValue=false)]
- public string MimeType { get; set; }
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- var sb = new StringBuilder();
- sb.Append("class InlineObject {\n");
- sb.Append(" Body: ").Append(Body).Append("\n");
- sb.Append(" Name: ").Append(Name).Append("\n");
- sb.Append(" Filename: ").Append(Filename).Append("\n");
- sb.Append(" MimeType: ").Append(MimeType).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// Returns the JSON string presentation of the object
- ///
- /// JSON string presentation of the object
- public virtual string ToJson()
- {
- return JsonConvert.SerializeObject(this, Formatting.Indented);
- }
-
- ///
- /// Returns true if objects are equal
- ///
- /// Object to be compared
- /// Boolean
- public override bool Equals(object input)
- {
- return this.Equals(input as InlineObject);
- }
-
- ///
- /// Returns true if InlineObject instances are equal
- ///
- /// Instance of InlineObject to be compared
- /// Boolean
- public bool Equals(InlineObject input)
- {
- if (input == null)
- return false;
-
- return
- (
- this.Body == input.Body ||
- (this.Body != null &&
- this.Body.Equals(input.Body))
- ) &&
- (
- this.Name == input.Name ||
- (this.Name != null &&
- this.Name.Equals(input.Name))
- ) &&
- (
- this.Filename == input.Filename ||
- (this.Filename != null &&
- this.Filename.Equals(input.Filename))
- ) &&
- (
- this.MimeType == input.MimeType ||
- (this.MimeType != null &&
- this.MimeType.Equals(input.MimeType))
- );
- }
-
- ///
- /// Gets the hash code
- ///
- /// Hash code
- public override int GetHashCode()
- {
- unchecked // Overflow is fine, just wrap
- {
- int hashCode = 41;
- if (this.Body != null)
- hashCode = hashCode * 59 + this.Body.GetHashCode();
- if (this.Name != null)
- hashCode = hashCode * 59 + this.Name.GetHashCode();
- if (this.Filename != null)
- hashCode = hashCode * 59 + this.Filename.GetHashCode();
- if (this.MimeType != null)
- hashCode = hashCode * 59 + this.MimeType.GetHashCode();
- return hashCode;
- }
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
-}
diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs
index 2019b46e..4d41eadc 100644
--- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs
+++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs
@@ -55,6 +55,13 @@ public partial class EarningsRate : IEquatable, IValidatableObjec
///
[DataMember(Name="AllowanceCategory", EmitDefaultValue=false)]
public AllowanceCategory AllowanceCategory { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ public EarningsRate()
+ {
+ }
///
/// Name of the earnings rate (max length = 100)
@@ -99,9 +106,9 @@ public partial class EarningsRate : IEquatable, IValidatableObjec
public bool? IsReportableAsW1 { get; set; }
///
- /// Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings
+ /// Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations
///
- /// Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings
+ /// Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations
[DataMember(Name="IsQualifyingEarnings", EmitDefaultValue=false)]
public bool? IsQualifyingEarnings { get; set; }
diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs
index c9e76fc5..1a329099 100644
--- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs
+++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs
@@ -45,6 +45,13 @@ public partial class LeaveLine : IEquatable, IValidatableObject
///
[DataMember(Name="EmploymentTerminationPaymentType", EmitDefaultValue=false)]
public EmploymentTerminationPaymentType EmploymentTerminationPaymentType { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ public LeaveLine()
+ {
+ }
///
/// Xero leave type identifier
@@ -61,9 +68,9 @@ public partial class LeaveLine : IEquatable, IValidatableObject
public bool? IncludeSuperannuationGuaranteeContribution { get; set; }
///
- /// Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on superannuation settings
+ /// Boolean to determine if the leave line is considered as qualifying earnings for superannuation guarantee calculations
///
- /// Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on superannuation settings
+ /// Boolean to determine if the leave line is considered as qualifying earnings for superannuation guarantee calculations
[DataMember(Name="IsQualifyingEarnings", EmitDefaultValue=false)]
public bool? IsQualifyingEarnings { get; set; }
diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs
index 3540e273..48384ef9 100644
--- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs
+++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs
@@ -35,6 +35,13 @@ public partial class LeaveType : IEquatable, IValidatableObject
///
[DataMember(Name="LeaveCategoryCode", EmitDefaultValue=false)]
public LeaveCategoryCode LeaveCategoryCode { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ public LeaveType()
+ {
+ }
///
/// Name of the earnings rate (max length = 100)
@@ -107,9 +114,9 @@ public partial class LeaveType : IEquatable, IValidatableObject
public bool? SGCExempt { get; set; }
///
- /// Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings
+ /// Boolean to determine if the leave type is considered as qualifying earnings for superannuation guarantee calculations
///
- /// Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings
+ /// Boolean to determine if the leave type is considered as qualifying earnings for superannuation guarantee calculations
[DataMember(Name="IsQualifyingEarnings", EmitDefaultValue=false)]
public bool? IsQualifyingEarnings { get; set; }
diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs
index 8e052a2d..e1644062 100644
--- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs
+++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs
@@ -167,9 +167,9 @@ public partial class TaxDeclaration : IEquatable, IValidatableO
public DateTime? UpdatedDateUTC { get; private set; }
///
- /// Optional Boolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations
+ /// Boolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
///
- /// Optional Boolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations
+ /// Boolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
[DataMember(Name="IncludeLeaveLoadingInQualifyingEarnings", EmitDefaultValue=false)]
public bool? IncludeLeaveLoadingInQualifyingEarnings { get; set; }
diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
index 63f7a8ee..8cc0706d 100644
--- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
+++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
@@ -16,7 +16,7 @@
true
true
Xero.NetStandard.OAuth2
- 16.0.0
+ 17.0.0
bin\$(Configuration)\$(TargetFramework)\Xero.NetStandard.OAuth2.xml
https://github.com/XeroAPI/Xero-NetStandard/
https://en.gravatar.com/userimage/180557955/74b3a957d886bc921b0d1455beed9dab.png
diff --git a/docs/accounting/index.html b/docs/accounting/index.html
index 0efc3952..0e477bd8 100644
--- a/docs/accounting/index.html
+++ b/docs/accounting/index.html
@@ -4198,7 +4198,7 @@
"Class" : {
"type" : "string",
"description" : "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM)",
- "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "ULTIMATE_10", "ULTIMATE_20", "ULTIMATE_50", "ULTIMATE_100", "IGNITE", "GROW", "COMPREHENSIVE", "SIMPLE", "BASICLITE" ]
+ "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "ULTIMATE_10", "ULTIMATE_20", "ULTIMATE_50", "ULTIMATE_100", "IGNITE", "GROW", "COMPREHENSIVE", "SIMPLE", "BASICLITE", "ULTRA" ]
},
"Edition" : {
"type" : "string",
@@ -6362,7 +6362,7 @@