/// <summary>
        ///     Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                var hash = 41;
                // Suitable nullity checks etc, of course :)

                if (CountryCodes != null)
                {
                    hash = hash * 59 + CountryCodes.GetHashCode();
                }

                if (BettingTypes != null)
                {
                    hash = hash * 59 + BettingTypes.GetHashCode();
                }

                if (TurnInPlayEnabled != null)
                {
                    hash = hash * 59 + TurnInPlayEnabled.GetHashCode();
                }

                if (MarketTypes != null)
                {
                    hash = hash * 59 + MarketTypes.GetHashCode();
                }

                if (Venues != null)
                {
                    hash = hash * 59 + Venues.GetHashCode();
                }

                if (MarketIds != null)
                {
                    hash = hash * 59 + MarketIds.GetHashCode();
                }

                if (EventTypeIds != null)
                {
                    hash = hash * 59 + EventTypeIds.GetHashCode();
                }

                if (EventIds != null)
                {
                    hash = hash * 59 + EventIds.GetHashCode();
                }

                if (BspMarket != null)
                {
                    hash = hash * 59 + BspMarket.GetHashCode();
                }

                return(hash);
            }
        }