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