forked from loafle/openapi-generator-original
Update samples for csharp-netcore
This commit is contained in:
parent
d157245efa
commit
9f7b0ba849
@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Models
|
||||
) &&
|
||||
(
|
||||
ShipDate == other.ShipDate ||
|
||||
ShipDate != null &&
|
||||
|
||||
ShipDate.Equals(other.ShipDate)
|
||||
) &&
|
||||
(
|
||||
@ -190,7 +190,7 @@ namespace Org.OpenAPITools.Models
|
||||
hashCode = hashCode * 59 + PetId.GetHashCode();
|
||||
|
||||
hashCode = hashCode * 59 + Quantity.GetHashCode();
|
||||
if (ShipDate != null)
|
||||
|
||||
hashCode = hashCode * 59 + ShipDate.GetHashCode();
|
||||
|
||||
hashCode = hashCode * 59 + Status.GetHashCode();
|
||||
|
@ -130,10 +130,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -716,18 +716,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -221,18 +221,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -311,10 +311,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
|
@ -109,10 +109,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -315,18 +315,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -134,18 +134,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -183,10 +183,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
|
@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
|
@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
|
@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
|
@ -93,8 +93,7 @@ namespace Org.OpenAPITools.Model
|
||||
return
|
||||
(
|
||||
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
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
}
|
||||
|
@ -326,18 +326,15 @@ namespace Org.OpenAPITools.Model
|
||||
) &&
|
||||
(
|
||||
this.Date == input.Date ||
|
||||
(this.Date != null &&
|
||||
this.Date.Equals(input.Date))
|
||||
this.Date.Equals(input.Date)
|
||||
) &&
|
||||
(
|
||||
this.DateTime == input.DateTime ||
|
||||
(this.DateTime != null &&
|
||||
this.DateTime.Equals(input.DateTime))
|
||||
this.DateTime.Equals(input.DateTime)
|
||||
) &&
|
||||
(
|
||||
this.Uuid == input.Uuid ||
|
||||
(this.Uuid != null &&
|
||||
this.Uuid.Equals(input.Uuid))
|
||||
this.Uuid.Equals(input.Uuid)
|
||||
) &&
|
||||
(
|
||||
this.Password == input.Password ||
|
||||
@ -391,18 +388,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -118,18 +118,15 @@ namespace Org.OpenAPITools.Model
|
||||
return
|
||||
(
|
||||
this.UuidWithPattern == input.UuidWithPattern ||
|
||||
(this.UuidWithPattern != null &&
|
||||
this.UuidWithPattern.Equals(input.UuidWithPattern))
|
||||
this.UuidWithPattern.Equals(input.UuidWithPattern)
|
||||
) &&
|
||||
(
|
||||
this.Uuid == input.Uuid ||
|
||||
(this.Uuid != null &&
|
||||
this.Uuid.Equals(input.Uuid))
|
||||
this.Uuid.Equals(input.Uuid)
|
||||
) &&
|
||||
(
|
||||
this.DateTime == input.DateTime ||
|
||||
(this.DateTime != null &&
|
||||
this.DateTime.Equals(input.DateTime))
|
||||
this.DateTime.Equals(input.DateTime)
|
||||
) &&
|
||||
(
|
||||
this.Map == input.Map ||
|
||||
@ -148,18 +145,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -176,8 +176,7 @@ namespace Org.OpenAPITools.Model
|
||||
) &&
|
||||
(
|
||||
this.ShipDate == input.ShipDate ||
|
||||
(this.ShipDate != null &&
|
||||
this.ShipDate.Equals(input.ShipDate))
|
||||
this.ShipDate.Equals(input.ShipDate)
|
||||
) &&
|
||||
(
|
||||
this.Status == input.Status ||
|
||||
@ -201,10 +200,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
return hashCode;
|
||||
|
@ -108,10 +108,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
if (this.AdditionalProperties != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
|
||||
|
@ -314,18 +314,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -133,18 +133,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -182,10 +182,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
if (this.AdditionalProperties != null)
|
||||
|
@ -100,10 +100,7 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.DateOnlyProperty != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateOnlyProperty.GetHashCode();
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
}
|
||||
|
@ -303,18 +303,9 @@ namespace Org.OpenAPITools.Model
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Binary.GetHashCode();
|
||||
}
|
||||
if (this.Date != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Date.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.Password != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Password.GetHashCode();
|
||||
|
@ -125,18 +125,9 @@ namespace Org.OpenAPITools.Model
|
||||
unchecked // Overflow is fine, just wrap
|
||||
{
|
||||
int hashCode = 41;
|
||||
if (this.UuidWithPattern != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.UuidWithPattern.GetHashCode();
|
||||
}
|
||||
if (this.Uuid != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Uuid.GetHashCode();
|
||||
}
|
||||
if (this.DateTime != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.DateTime.GetHashCode();
|
||||
}
|
||||
if (this.Map != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.Map.GetHashCode();
|
||||
|
@ -174,10 +174,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
return hashCode;
|
||||
|
@ -173,10 +173,7 @@ namespace Org.OpenAPITools.Model
|
||||
hashCode = (hashCode * 59) + this.Id.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.PetId.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Quantity.GetHashCode();
|
||||
if (this.ShipDate != null)
|
||||
{
|
||||
hashCode = (hashCode * 59) + this.ShipDate.GetHashCode();
|
||||
}
|
||||
hashCode = (hashCode * 59) + this.Status.GetHashCode();
|
||||
hashCode = (hashCode * 59) + this.Complete.GetHashCode();
|
||||
return hashCode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user