Ejemplo n.º 1
0
        /// <summary>
        /// Returns true if InlineResponse200 instances are equal
        /// </summary>
        /// <param name="other">Instance of InlineResponse200 to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InlineResponse200 other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Upcs == other.Upcs ||
                     Upcs != null &&
                     other.Upcs != null &&
                     Upcs.SequenceEqual(other.Upcs)
                     ) &&
                 (
                     Eans == other.Eans ||
                     Eans != null &&
                     other.Eans != null &&
                     Eans.SequenceEqual(other.Eans)
                 ) &&
                 (
                     Asins == other.Asins ||
                     Asins != null &&
                     other.Asins != null &&
                     Asins.SequenceEqual(other.Asins)
                 ) &&
                 (
                     Message == other.Message ||
                     Message != null &&
                     Message.Equals(other.Message)
                 ));
        }