public override int GetHashCode() { int hash = 1; if (property_ != null) { hash ^= Property.GetHashCode(); } if (PostmarkEmailSenderAddress.Length != 0) { hash ^= PostmarkEmailSenderAddress.GetHashCode(); } if (PostmarkApiKey.Length != 0) { hash ^= PostmarkApiKey.GetHashCode(); } if (DisableAllCorrespondence != false) { hash ^= DisableAllCorrespondence.GetHashCode(); } if (SmtpEmailSenderAddress.Length != 0) { hash ^= SmtpEmailSenderAddress.GetHashCode(); } if (PortNumber.Length != 0) { hash ^= PortNumber.GetHashCode(); } if (IsPostmark != false) { hash ^= IsPostmark.GetHashCode(); } if (ExchangeEmailSenderAddress.Length != 0) { hash ^= ExchangeEmailSenderAddress.GetHashCode(); } if (ExchangeApiKey.Length != 0) { hash ^= ExchangeApiKey.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (property_ != null) { hash ^= Property.GetHashCode(); } if (PostmarkEmailSenderAddress.Length != 0) { hash ^= PostmarkEmailSenderAddress.GetHashCode(); } if (PostmarkApiKey.Length != 0) { hash ^= PostmarkApiKey.GetHashCode(); } if (DisableAllCorrespondence != false) { hash ^= DisableAllCorrespondence.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (TenancyName.Length != 0) { hash ^= TenancyName.GetHashCode(); } if (DustCleanAfterDays != 0) { hash ^= DustCleanAfterDays.GetHashCode(); } if (MandatoryCleaningAfterInHouseDays != 0) { hash ^= MandatoryCleaningAfterInHouseDays.GetHashCode(); } if (MandatorySheetCleaningAfterInHouseDays != 0) { hash ^= MandatorySheetCleaningAfterInHouseDays.GetHashCode(); } hash ^= properties_.GetHashCode(); hash ^= phoneCodes_.GetHashCode(); if (reservationDefaults_ != null) { hash ^= ReservationDefaults.GetHashCode(); } if (reservationStatusColors_ != null) { hash ^= ReservationStatusColors.GetHashCode(); } if (roomStatusColors_ != null) { hash ^= RoomStatusColors.GetHashCode(); } if (hKPhoneCodes_ != null) { hash ^= HKPhoneCodes.GetHashCode(); } if (roomCallBillingRates_ != null) { hash ^= RoomCallBillingRates.GetHashCode(); } if (channelManagerConfig_ != null) { hash ^= ChannelManagerConfig.GetHashCode(); } if (DefaultAdminEmail.Length != 0) { hash ^= DefaultAdminEmail.GetHashCode(); } if (PostmarkEmailSenderAddress.Length != 0) { hash ^= PostmarkEmailSenderAddress.GetHashCode(); } if (PostmarkApiKey.Length != 0) { hash ^= PostmarkApiKey.GetHashCode(); } return(hash); }