forked from loafle/openapi-generator-original
Update samples
This commit is contained in:
parent
92a0e4e7d8
commit
dd4b1aff2e
@ -73,7 +73,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, obj)) return false;
|
if (obj is null) return false;
|
||||||
if (ReferenceEquals(this, obj)) return true;
|
if (ReferenceEquals(this, obj)) return true;
|
||||||
return obj.GetType() == GetType() && Equals((ApiResponse)obj);
|
return obj.GetType() == GetType() && Equals((ApiResponse)obj);
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(ApiResponse other)
|
public bool Equals(ApiResponse other)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, other)) return false;
|
if (other is null) return false;
|
||||||
if (ReferenceEquals(this, other)) return true;
|
if (ReferenceEquals(this, other)) return true;
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, obj)) return false;
|
if (obj is null) return false;
|
||||||
if (ReferenceEquals(this, obj)) return true;
|
if (ReferenceEquals(this, obj)) return true;
|
||||||
return obj.GetType() == GetType() && Equals((Category)obj);
|
return obj.GetType() == GetType() && Equals((Category)obj);
|
||||||
}
|
}
|
||||||
@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Category other)
|
public bool Equals(Category other)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, other)) return false;
|
if (other is null) return false;
|
||||||
if (ReferenceEquals(this, other)) return true;
|
if (ReferenceEquals(this, other)) return true;
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -122,7 +122,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, obj)) return false;
|
if (obj is null) return false;
|
||||||
if (ReferenceEquals(this, obj)) return true;
|
if (ReferenceEquals(this, obj)) return true;
|
||||||
return obj.GetType() == GetType() && Equals((Order)obj);
|
return obj.GetType() == GetType() && Equals((Order)obj);
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Order other)
|
public bool Equals(Order other)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, other)) return false;
|
if (other is null) return false;
|
||||||
if (ReferenceEquals(this, other)) return true;
|
if (ReferenceEquals(this, other)) return true;
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -124,7 +124,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, obj)) return false;
|
if (obj is null) return false;
|
||||||
if (ReferenceEquals(this, obj)) return true;
|
if (ReferenceEquals(this, obj)) return true;
|
||||||
return obj.GetType() == GetType() && Equals((Pet)obj);
|
return obj.GetType() == GetType() && Equals((Pet)obj);
|
||||||
}
|
}
|
||||||
@ -136,7 +136,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Pet other)
|
public bool Equals(Pet other)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, other)) return false;
|
if (other is null) return false;
|
||||||
if (ReferenceEquals(this, other)) return true;
|
if (ReferenceEquals(this, other)) return true;
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, obj)) return false;
|
if (obj is null) return false;
|
||||||
if (ReferenceEquals(this, obj)) return true;
|
if (ReferenceEquals(this, obj)) return true;
|
||||||
return obj.GetType() == GetType() && Equals((Tag)obj);
|
return obj.GetType() == GetType() && Equals((Tag)obj);
|
||||||
}
|
}
|
||||||
@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(Tag other)
|
public bool Equals(Tag other)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, other)) return false;
|
if (other is null) return false;
|
||||||
if (ReferenceEquals(this, other)) return true;
|
if (ReferenceEquals(this, other)) return true;
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -109,7 +109,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, obj)) return false;
|
if (obj is null) return false;
|
||||||
if (ReferenceEquals(this, obj)) return true;
|
if (ReferenceEquals(this, obj)) return true;
|
||||||
return obj.GetType() == GetType() && Equals((User)obj);
|
return obj.GetType() == GetType() && Equals((User)obj);
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ namespace Org.OpenAPITools.Models
|
|||||||
/// <returns>Boolean</returns>
|
/// <returns>Boolean</returns>
|
||||||
public bool Equals(User other)
|
public bool Equals(User other)
|
||||||
{
|
{
|
||||||
if (ReferenceEquals(null, other)) return false;
|
if (other is null) return false;
|
||||||
if (ReferenceEquals(this, other)) return true;
|
if (ReferenceEquals(this, other)) return true;
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user