samples/composed/server/petstore/aspnetcore/src/IO.Swagger/Models/PartThree.cs
/// <summary>
/// Returns true if PartThree instances are equal
/// </summary>
/// <param name="other">Instance of PartThree to be compared</param>
/// <returns>Boolean</returns>
Returns true if PartThree instances are equal
Returns true if PartThree instances are equal
public bool Equals(PartThree other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return 
                (
                    OtherId == other.OtherId ||
                    OtherId != null &&
                    OtherId.Equals(other.OtherId)
                );
        }
public bool Equals ( PartThree other ) { if ( ReferenceEquals ( null , other ) ) return false ; if ( ReferenceEquals ( this , other ) ) return true ; return ( OtherId == other . OtherId || OtherId != null && OtherId . Equals ( other . OtherId ) ) ; }
Returns true if PartThree instances are equal
Returns true if PartThree instances are equal
None
other
PartThree
Instance of PartThree to be compared
Instance of PartThree to be compared