/// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                var hashCode = 41;
                // Suitable nullity checks etc, of course :)
                if (Id != null)
                {
                    hashCode = hashCode * 59 + Id.GetHashCode();
                }
                if (DepartureLocationId != null)
                {
                    hashCode = hashCode * 59 + DepartureLocationId.GetHashCode();
                }
                if (ArrivalLocationIds != null)
                {
                    hashCode = hashCode * 59 + ArrivalLocationIds.GetHashCode();
                }
                if (Transportation != null)
                {
                    hashCode = hashCode * 59 + Transportation.GetHashCode();
                }

                hashCode = hashCode * 59 + TravelTime.GetHashCode();

                hashCode = hashCode * 59 + ArrivalTimePeriod.GetHashCode();
                if (Properties != null)
                {
                    hashCode = hashCode * 59 + Properties.GetHashCode();
                }
                return(hashCode);
            }
        }
        /// <summary>
        /// Returns true if RequestTimeFilterFastArrivalOneToManySearch instances are equal
        /// </summary>
        /// <param name="other">Instance of RequestTimeFilterFastArrivalOneToManySearch to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(RequestTimeFilterFastArrivalOneToManySearch other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Id == other.Id ||
                     Id != null &&
                     Id.Equals(other.Id)
                     ) &&
                 (
                     DepartureLocationId == other.DepartureLocationId ||
                     DepartureLocationId != null &&
                     DepartureLocationId.Equals(other.DepartureLocationId)
                 ) &&
                 (
                     ArrivalLocationIds == other.ArrivalLocationIds ||
                     ArrivalLocationIds != null &&
                     other.ArrivalLocationIds != null &&
                     ArrivalLocationIds.SequenceEqual(other.ArrivalLocationIds)
                 ) &&
                 (
                     Transportation == other.Transportation ||
                     Transportation != null &&
                     Transportation.Equals(other.Transportation)
                 ) &&
                 (
                     TravelTime == other.TravelTime ||

                     TravelTime.Equals(other.TravelTime)
                 ) &&
                 (
                     ArrivalTimePeriod == other.ArrivalTimePeriod ||

                     ArrivalTimePeriod.Equals(other.ArrivalTimePeriod)
                 ) &&
                 (
                     Properties == other.Properties ||
                     Properties != null &&
                     other.Properties != null &&
                     Properties.SequenceEqual(other.Properties)
                 ));
        }