public override int GetHashCode() { int hash = 1; if (DustRoomAfterInHouseDays != 0) { hash ^= DustRoomAfterInHouseDays.GetHashCode(); } if (MandatoryCleaningAfterInHouseDays != 0) { hash ^= MandatoryCleaningAfterInHouseDays.GetHashCode(); } if (SheetChangeRequiredAfterInHouseDays != 0) { hash ^= SheetChangeRequiredAfterInHouseDays.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); }