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