public override int GetHashCode() { int hash = 1; if (AccessToken.Length != 0) { hash ^= AccessToken.GetHashCode(); } if (RefreshToken.Length != 0) { hash ^= RefreshToken.GetHashCode(); } if (TenancyName.Length != 0) { hash ^= TenancyName.GetHashCode(); } if (UserName.Length != 0) { hash ^= UserName.GetHashCode(); } if (user_ != null) { hash ^= User.GetHashCode(); } hash ^= securityActions_.GetHashCode(); if (ExpiresIn != 0UL) { hash ^= ExpiresIn.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); }