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

            return
                ((
                     Small == other.Small ||
                     Small != null &&
                     Small.Equals(other.Small)
                     ) &&
                 (
                     Thumb == other.Thumb ||
                     Thumb != null &&
                     Thumb.Equals(other.Thumb)
                 ) &&
                 (
                     Display == other.Display ||
                     Display != null &&
                     Display.Equals(other.Display)
                 ));
        }