Ejemplo n.º 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)
                 ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if RecipeObjectMetaImages instances are equal
        /// </summary>
        /// <param name="other">Instance of RecipeObjectMetaImages to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(RecipeObjectMetaImages other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ExtraLarge == other.ExtraLarge ||
                     ExtraLarge != null &&
                     ExtraLarge.Equals(other.ExtraLarge)
                     ) &&
                 (
                     Large == other.Large ||
                     Large != null &&
                     Large.Equals(other.Large)
                 ) &&
                 (
                     Standard == other.Standard ||
                     Standard != null &&
                     Standard.Equals(other.Standard)
                 ) &&
                 (
                     GridView == other.GridView ||
                     GridView != null &&
                     GridView.Equals(other.GridView)
                 ) &&
                 (
                     Small == other.Small ||
                     Small != null &&
                     Small.Equals(other.Small)
                 ) &&
                 (
                     Thumbnail == other.Thumbnail ||
                     Thumbnail != null &&
                     Thumbnail.Equals(other.Thumbnail)
                 ) &&
                 (
                     ExtraSmall == other.ExtraSmall ||
                     ExtraSmall != null &&
                     ExtraSmall.Equals(other.ExtraSmall)
                 ));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Returns true if LabelIconUrls instances are equal
        /// </summary>
        /// <param name="input">Instance of LabelIconUrls to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(LabelIconUrls? input)
        {
            if (input == null)
                return false;

            return 
                (
                    Tiny == input.Tiny ||
                    (Tiny != null &&
                    Tiny.Equals(input.Tiny))
                ) && 
                (
                    Small == input.Small ||
                    (Small != null &&
                    Small.Equals(input.Small))
                ) && 
                (
                    Medium == input.Medium ||
                    (Medium != null &&
                    Medium.Equals(input.Medium))
                );
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Returns true if ClanBadgeUrls instances are equal
        /// </summary>
        /// <param name="input">Instance of ClanBadgeUrls to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ClanBadgeUrls?input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Small == input.Small ||
                     (Small != null &&
                      Small.Equals(input.Small))
                     ) &&
                 (
                     Medium == input.Medium ||
                     (Medium != null &&
                      Medium.Equals(input.Medium))
                 ) &&
                 (
                     Large == input.Large ||
                     (Large != null &&
                      Large.Equals(input.Large))
                 ));
        }