public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (localizedName_ != null) { hash ^= LocalizedName.GetHashCode(); } hash ^= status_.GetHashCode(); if (PassTypeIdentifier.Length != 0) { hash ^= PassTypeIdentifier.GetHashCode(); } if (IanaTimezone.Length != 0) { hash ^= IanaTimezone.GetHashCode(); } if (created_ != null) { hash ^= Created.GetHashCode(); } if (updated_ != null) { hash ^= Updated.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (IataCarrierCode.Length != 0) { hash ^= IataCarrierCode.GetHashCode(); } if (IcaoCarrierCode.Length != 0) { hash ^= IcaoCarrierCode.GetHashCode(); } if (IataAccountingCode != 0) { hash ^= IataAccountingCode.GetHashCode(); } if (AirlineName.Length != 0) { hash ^= AirlineName.GetHashCode(); } if (localizedAirlineName_ != null) { hash ^= LocalizedAirlineName.GetHashCode(); } if (PassTypeIdentifier.Length != 0) { hash ^= PassTypeIdentifier.GetHashCode(); } if (PrivateKeyId.Length != 0) { hash ^= PrivateKeyId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }