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