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