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