Update samples for csharp-netcore

This commit is contained in:
Jean-François Côté 2023-05-16 14:39:26 -04:00
parent d157245efa
commit 9f7b0ba849
34 changed files with 75 additions and 278 deletions

View File

@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Models
) && ) &&
( (
ShipDate == other.ShipDate || ShipDate == other.ShipDate ||
ShipDate != null &&
ShipDate.Equals(other.ShipDate) ShipDate.Equals(other.ShipDate)
) && ) &&
( (
@ -190,7 +190,7 @@ namespace Org.OpenAPITools.Models
hashCode = hashCode * 59 + PetId.GetHashCode(); hashCode = hashCode * 59 + PetId.GetHashCode();
hashCode = hashCode * 59 + Quantity.GetHashCode(); hashCode = hashCode * 59 + Quantity.GetHashCode();
if (ShipDate != null)
hashCode = hashCode * 59 + ShipDate.GetHashCode(); hashCode = hashCode * 59 + ShipDate.GetHashCode();
hashCode = hashCode * 59 + Status.GetHashCode(); hashCode = hashCode * 59 + Status.GetHashCode();

View File

@ -130,10 +130,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)
{ {
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode(); hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();

View File

@ -716,18 +716,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -221,18 +221,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -311,10 +311,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)

View File

@ -109,10 +109,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)
{ {
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode(); hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();

View File

@ -315,18 +315,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -134,18 +134,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -183,10 +183,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)

View File

@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)
{ {
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode(); hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();

View File

@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)

View File

@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)
{ {
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode(); hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();

View File

@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)

View File

@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)
{ {
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode(); hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();

View File

@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)

View File

@ -93,8 +93,7 @@ namespace Org.OpenAPITools.Model
return return
( (
this.DateOnlyProperty == input.DateOnlyProperty || this.DateOnlyProperty == input.DateOnlyProperty ||
(this.DateOnlyProperty != null && this.DateOnlyProperty.Equals(input.DateOnlyProperty)
this.DateOnlyProperty.Equals(input.DateOnlyProperty))
); );
} }
@ -107,10 +106,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
return hashCode; return hashCode;
} }
} }

View File

@ -326,18 +326,15 @@ namespace Org.OpenAPITools.Model
) && ) &&
( (
this.Date == input.Date || this.Date == input.Date ||
(this.Date != null && this.Date.Equals(input.Date)
this.Date.Equals(input.Date))
) && ) &&
( (
this.DateTime == input.DateTime || this.DateTime == input.DateTime ||
(this.DateTime != null && this.DateTime.Equals(input.DateTime)
this.DateTime.Equals(input.DateTime))
) && ) &&
( (
this.Uuid == input.Uuid || this.Uuid == input.Uuid ||
(this.Uuid != null && this.Uuid.Equals(input.Uuid)
this.Uuid.Equals(input.Uuid))
) && ) &&
( (
this.Password == input.Password || this.Password == input.Password ||
@ -391,18 +388,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -118,18 +118,15 @@ namespace Org.OpenAPITools.Model
return return
( (
this.UuidWithPattern == input.UuidWithPattern || this.UuidWithPattern == input.UuidWithPattern ||
(this.UuidWithPattern != null && this.UuidWithPattern.Equals(input.UuidWithPattern)
this.UuidWithPattern.Equals(input.UuidWithPattern))
) && ) &&
( (
this.Uuid == input.Uuid || this.Uuid == input.Uuid ||
(this.Uuid != null && this.Uuid.Equals(input.Uuid)
this.Uuid.Equals(input.Uuid))
) && ) &&
( (
this.DateTime == input.DateTime || this.DateTime == input.DateTime ||
(this.DateTime != null && this.DateTime.Equals(input.DateTime)
this.DateTime.Equals(input.DateTime))
) && ) &&
( (
this.Map == input.Map || this.Map == input.Map ||
@ -148,18 +145,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -176,8 +176,7 @@ namespace Org.OpenAPITools.Model
) && ) &&
( (
this.ShipDate == input.ShipDate || this.ShipDate == input.ShipDate ||
(this.ShipDate != null && this.ShipDate.Equals(input.ShipDate)
this.ShipDate.Equals(input.ShipDate))
) && ) &&
( (
this.Status == input.Status || this.Status == input.Status ||
@ -201,10 +200,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
return hashCode; return hashCode;

View File

@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)
{ {
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode(); hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();

View File

@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
if (this.AdditionalProperties != null) if (this.AdditionalProperties != null)

View File

@ -100,10 +100,7 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.DateOnlyProperty != null)
{
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode(); hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
}
return hashCode; return hashCode;
} }
} }

View File

@ -303,18 +303,9 @@ namespace Org.OpenAPITools.Model
{ {
hashCode = (hashCode * 59) + this.Binary.GetHashCode(); hashCode = (hashCode * 59) + this.Binary.GetHashCode();
} }
if (this.Date != null)
{
hashCode = (hashCode * 59) + this.Date.GetHashCode(); hashCode = (hashCode * 59) + this.Date.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.Password != null) if (this.Password != null)
{ {
hashCode = (hashCode * 59) + this.Password.GetHashCode(); hashCode = (hashCode * 59) + this.Password.GetHashCode();

View File

@ -125,18 +125,9 @@ namespace Org.OpenAPITools.Model
unchecked // Overflow is fine, just wrap unchecked // Overflow is fine, just wrap
{ {
int hashCode = 41; int hashCode = 41;
if (this.UuidWithPattern != null)
{
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode(); hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
}
if (this.Uuid != null)
{
hashCode = (hashCode * 59) + this.Uuid.GetHashCode(); hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
}
if (this.DateTime != null)
{
hashCode = (hashCode * 59) + this.DateTime.GetHashCode(); hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
}
if (this.Map != null) if (this.Map != null)
{ {
hashCode = (hashCode * 59) + this.Map.GetHashCode(); hashCode = (hashCode * 59) + this.Map.GetHashCode();

View File

@ -174,10 +174,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
return hashCode; return hashCode;

View File

@ -173,10 +173,7 @@ namespace Org.OpenAPITools.Model
hashCode = (hashCode * 59) + this.Id.GetHashCode(); hashCode = (hashCode * 59) + this.Id.GetHashCode();
hashCode = (hashCode * 59) + this.PetId.GetHashCode(); hashCode = (hashCode * 59) + this.PetId.GetHashCode();
hashCode = (hashCode * 59) + this.Quantity.GetHashCode(); hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
if (this.ShipDate != null)
{
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode(); hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
}
hashCode = (hashCode * 59) + this.Status.GetHashCode(); hashCode = (hashCode * 59) + this.Status.GetHashCode();
hashCode = (hashCode * 59) + this.Complete.GetHashCode(); hashCode = (hashCode * 59) + this.Complete.GetHashCode();
return hashCode; return hashCode;