samples/composed/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Cat.cs
/// <summary>
/// Returns true if Cat instances are equal
/// </summary>
/// <param name="input">Instance of Cat to be compared</param>
/// <returns>Boolean</returns>
Returns true if Cat instances are equal
Returns true if Cat instances are equal
public bool Equals(Cat input)
        {
            if (input == null)
                return false;
            return base.Equals(input) && 
                (
                    this.Hunts == input.Hunts ||
                    (this.Hunts != null &&
                    this.Hunts.Equals(input.Hunts))
                ) && base.Equals(input) && 
                (
                    this.Age == input.Age ||
                    (this.Age != null &&
                    this.Age.Equals(input.Age))
                );
        }
public bool Equals ( Cat input ) { if ( input == null ) return false ; return base . Equals ( input ) && ( this . Hunts == input . Hunts || ( this . Hunts != null && this . Hunts . Equals ( input . Hunts ) ) ) && base . Equals ( input ) && ( this . Age == input . Age || ( this . Age != null && this . Age . Equals ( input . Age ) ) ) ; }
Returns true if Cat instances are equal
Returns true if Cat instances are equal
None
input
Cat
Instance of Cat to be compared
Instance of Cat to be compared