public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + BaggageKey.GetHashCode();
                hashcode = (hashcode * 397) + MaxValueLength.GetHashCode();
            }
            return(hashcode);
        }
        public override string ToString()
        {
            var sb = new StringBuilder("BaggageRestriction(");

            if ((BaggageKey != null))
            {
                sb.Append(", BaggageKey: ");
                BaggageKey.ToString(sb);
            }
            sb.Append(", MaxValueLength: ");
            MaxValueLength.ToString(sb);
            sb.Append(')');
            return(sb.ToString());
        }