/*
 * Bungie.Net API
 *
 * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
 *
 * The version of the OpenAPI document: 2.18.0
 * Contact: support@bungie.com
 * Generated by: https://github.com/openapitools/openapi-generator.git
 */


using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Destiny.Client.OpenAPIDateConverter;

namespace Destiny.Model
{
    /// <summary>
    /// DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition
    /// </summary>
    [DataContract(Name = "Destiny.Definitions.GuardianRanks.DestinyGuardianRankIconBackgroundsDefinition")]
    public partial class DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition : IEquatable<DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition>, IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition" /> class.
        /// </summary>
        /// <param name="backgroundEmptyBorderedImagePath">backgroundEmptyBorderedImagePath.</param>
        /// <param name="backgroundEmptyBlueGradientBorderedImagePath">backgroundEmptyBlueGradientBorderedImagePath.</param>
        /// <param name="backgroundFilledBlueBorderedImagePath">backgroundFilledBlueBorderedImagePath.</param>
        /// <param name="backgroundFilledBlueGradientBorderedImagePath">backgroundFilledBlueGradientBorderedImagePath.</param>
        /// <param name="backgroundFilledBlueLowAlphaImagePath">backgroundFilledBlueLowAlphaImagePath.</param>
        /// <param name="backgroundFilledBlueMediumAlphaImagePath">backgroundFilledBlueMediumAlphaImagePath.</param>
        /// <param name="backgroundFilledGrayMediumAlphaBorderedImagePath">backgroundFilledGrayMediumAlphaBorderedImagePath.</param>
        /// <param name="backgroundFilledGrayHeavyAlphaBorderedImagePath">backgroundFilledGrayHeavyAlphaBorderedImagePath.</param>
        /// <param name="backgroundFilledWhiteMediumAlphaImagePath">backgroundFilledWhiteMediumAlphaImagePath.</param>
        /// <param name="backgroundFilledWhiteImagePath">backgroundFilledWhiteImagePath.</param>
        /// <param name="backgroundPlateWhiteImagePath">backgroundPlateWhiteImagePath.</param>
        /// <param name="backgroundPlateBlackImagePath">backgroundPlateBlackImagePath.</param>
        /// <param name="backgroundPlateBlackAlphaImagePath">backgroundPlateBlackAlphaImagePath.</param>
        public DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition(string backgroundEmptyBorderedImagePath = default(string), string backgroundEmptyBlueGradientBorderedImagePath = default(string), string backgroundFilledBlueBorderedImagePath = default(string), string backgroundFilledBlueGradientBorderedImagePath = default(string), string backgroundFilledBlueLowAlphaImagePath = default(string), string backgroundFilledBlueMediumAlphaImagePath = default(string), string backgroundFilledGrayMediumAlphaBorderedImagePath = default(string), string backgroundFilledGrayHeavyAlphaBorderedImagePath = default(string), string backgroundFilledWhiteMediumAlphaImagePath = default(string), string backgroundFilledWhiteImagePath = default(string), string backgroundPlateWhiteImagePath = default(string), string backgroundPlateBlackImagePath = default(string), string backgroundPlateBlackAlphaImagePath = default(string))
        {
            this.BackgroundEmptyBorderedImagePath = backgroundEmptyBorderedImagePath;
            this.BackgroundEmptyBlueGradientBorderedImagePath = backgroundEmptyBlueGradientBorderedImagePath;
            this.BackgroundFilledBlueBorderedImagePath = backgroundFilledBlueBorderedImagePath;
            this.BackgroundFilledBlueGradientBorderedImagePath = backgroundFilledBlueGradientBorderedImagePath;
            this.BackgroundFilledBlueLowAlphaImagePath = backgroundFilledBlueLowAlphaImagePath;
            this.BackgroundFilledBlueMediumAlphaImagePath = backgroundFilledBlueMediumAlphaImagePath;
            this.BackgroundFilledGrayMediumAlphaBorderedImagePath = backgroundFilledGrayMediumAlphaBorderedImagePath;
            this.BackgroundFilledGrayHeavyAlphaBorderedImagePath = backgroundFilledGrayHeavyAlphaBorderedImagePath;
            this.BackgroundFilledWhiteMediumAlphaImagePath = backgroundFilledWhiteMediumAlphaImagePath;
            this.BackgroundFilledWhiteImagePath = backgroundFilledWhiteImagePath;
            this.BackgroundPlateWhiteImagePath = backgroundPlateWhiteImagePath;
            this.BackgroundPlateBlackImagePath = backgroundPlateBlackImagePath;
            this.BackgroundPlateBlackAlphaImagePath = backgroundPlateBlackAlphaImagePath;
        }

        /// <summary>
        /// Gets or Sets BackgroundEmptyBorderedImagePath
        /// </summary>
        [DataMember(Name = "backgroundEmptyBorderedImagePath", EmitDefaultValue = false)]
        public string BackgroundEmptyBorderedImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundEmptyBlueGradientBorderedImagePath
        /// </summary>
        [DataMember(Name = "backgroundEmptyBlueGradientBorderedImagePath", EmitDefaultValue = false)]
        public string BackgroundEmptyBlueGradientBorderedImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledBlueBorderedImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledBlueBorderedImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledBlueBorderedImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledBlueGradientBorderedImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledBlueGradientBorderedImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledBlueGradientBorderedImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledBlueLowAlphaImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledBlueLowAlphaImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledBlueLowAlphaImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledBlueMediumAlphaImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledBlueMediumAlphaImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledBlueMediumAlphaImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledGrayMediumAlphaBorderedImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledGrayMediumAlphaBorderedImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledGrayMediumAlphaBorderedImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledGrayHeavyAlphaBorderedImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledGrayHeavyAlphaBorderedImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledGrayHeavyAlphaBorderedImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledWhiteMediumAlphaImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledWhiteMediumAlphaImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledWhiteMediumAlphaImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundFilledWhiteImagePath
        /// </summary>
        [DataMember(Name = "backgroundFilledWhiteImagePath", EmitDefaultValue = false)]
        public string BackgroundFilledWhiteImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundPlateWhiteImagePath
        /// </summary>
        [DataMember(Name = "backgroundPlateWhiteImagePath", EmitDefaultValue = false)]
        public string BackgroundPlateWhiteImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundPlateBlackImagePath
        /// </summary>
        [DataMember(Name = "backgroundPlateBlackImagePath", EmitDefaultValue = false)]
        public string BackgroundPlateBlackImagePath { get; set; }

        /// <summary>
        /// Gets or Sets BackgroundPlateBlackAlphaImagePath
        /// </summary>
        [DataMember(Name = "backgroundPlateBlackAlphaImagePath", EmitDefaultValue = false)]
        public string BackgroundPlateBlackAlphaImagePath { get; set; }

        /// <summary>
        /// Returns the string presentation of the object
        /// </summary>
        /// <returns>String presentation of the object</returns>
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append("class DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition {\n");
            sb.Append("  BackgroundEmptyBorderedImagePath: ").Append(BackgroundEmptyBorderedImagePath).Append("\n");
            sb.Append("  BackgroundEmptyBlueGradientBorderedImagePath: ").Append(BackgroundEmptyBlueGradientBorderedImagePath).Append("\n");
            sb.Append("  BackgroundFilledBlueBorderedImagePath: ").Append(BackgroundFilledBlueBorderedImagePath).Append("\n");
            sb.Append("  BackgroundFilledBlueGradientBorderedImagePath: ").Append(BackgroundFilledBlueGradientBorderedImagePath).Append("\n");
            sb.Append("  BackgroundFilledBlueLowAlphaImagePath: ").Append(BackgroundFilledBlueLowAlphaImagePath).Append("\n");
            sb.Append("  BackgroundFilledBlueMediumAlphaImagePath: ").Append(BackgroundFilledBlueMediumAlphaImagePath).Append("\n");
            sb.Append("  BackgroundFilledGrayMediumAlphaBorderedImagePath: ").Append(BackgroundFilledGrayMediumAlphaBorderedImagePath).Append("\n");
            sb.Append("  BackgroundFilledGrayHeavyAlphaBorderedImagePath: ").Append(BackgroundFilledGrayHeavyAlphaBorderedImagePath).Append("\n");
            sb.Append("  BackgroundFilledWhiteMediumAlphaImagePath: ").Append(BackgroundFilledWhiteMediumAlphaImagePath).Append("\n");
            sb.Append("  BackgroundFilledWhiteImagePath: ").Append(BackgroundFilledWhiteImagePath).Append("\n");
            sb.Append("  BackgroundPlateWhiteImagePath: ").Append(BackgroundPlateWhiteImagePath).Append("\n");
            sb.Append("  BackgroundPlateBlackImagePath: ").Append(BackgroundPlateBlackImagePath).Append("\n");
            sb.Append("  BackgroundPlateBlackAlphaImagePath: ").Append(BackgroundPlateBlackAlphaImagePath).Append("\n");
            sb.Append("}\n");
            return sb.ToString();
        }

        /// <summary>
        /// Returns the JSON string presentation of the object
        /// </summary>
        /// <returns>JSON string presentation of the object</returns>
        public virtual string ToJson()
        {
            return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
        }

        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        /// <param name="input">Object to be compared</param>
        /// <returns>Boolean</returns>
        public override bool Equals(object input)
        {
            return this.Equals(input as DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition);
        }

        /// <summary>
        /// Returns true if DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition instances are equal
        /// </summary>
        /// <param name="input">Instance of DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DestinyDefinitionsGuardianRanksDestinyGuardianRankIconBackgroundsDefinition input)
        {
            if (input == null)
            {
                return false;
            }
            return 
                (
                    this.BackgroundEmptyBorderedImagePath == input.BackgroundEmptyBorderedImagePath ||
                    (this.BackgroundEmptyBorderedImagePath != null &&
                    this.BackgroundEmptyBorderedImagePath.Equals(input.BackgroundEmptyBorderedImagePath))
                ) && 
                (
                    this.BackgroundEmptyBlueGradientBorderedImagePath == input.BackgroundEmptyBlueGradientBorderedImagePath ||
                    (this.BackgroundEmptyBlueGradientBorderedImagePath != null &&
                    this.BackgroundEmptyBlueGradientBorderedImagePath.Equals(input.BackgroundEmptyBlueGradientBorderedImagePath))
                ) && 
                (
                    this.BackgroundFilledBlueBorderedImagePath == input.BackgroundFilledBlueBorderedImagePath ||
                    (this.BackgroundFilledBlueBorderedImagePath != null &&
                    this.BackgroundFilledBlueBorderedImagePath.Equals(input.BackgroundFilledBlueBorderedImagePath))
                ) && 
                (
                    this.BackgroundFilledBlueGradientBorderedImagePath == input.BackgroundFilledBlueGradientBorderedImagePath ||
                    (this.BackgroundFilledBlueGradientBorderedImagePath != null &&
                    this.BackgroundFilledBlueGradientBorderedImagePath.Equals(input.BackgroundFilledBlueGradientBorderedImagePath))
                ) && 
                (
                    this.BackgroundFilledBlueLowAlphaImagePath == input.BackgroundFilledBlueLowAlphaImagePath ||
                    (this.BackgroundFilledBlueLowAlphaImagePath != null &&
                    this.BackgroundFilledBlueLowAlphaImagePath.Equals(input.BackgroundFilledBlueLowAlphaImagePath))
                ) && 
                (
                    this.BackgroundFilledBlueMediumAlphaImagePath == input.BackgroundFilledBlueMediumAlphaImagePath ||
                    (this.BackgroundFilledBlueMediumAlphaImagePath != null &&
                    this.BackgroundFilledBlueMediumAlphaImagePath.Equals(input.BackgroundFilledBlueMediumAlphaImagePath))
                ) && 
                (
                    this.BackgroundFilledGrayMediumAlphaBorderedImagePath == input.BackgroundFilledGrayMediumAlphaBorderedImagePath ||
                    (this.BackgroundFilledGrayMediumAlphaBorderedImagePath != null &&
                    this.BackgroundFilledGrayMediumAlphaBorderedImagePath.Equals(input.BackgroundFilledGrayMediumAlphaBorderedImagePath))
                ) && 
                (
                    this.BackgroundFilledGrayHeavyAlphaBorderedImagePath == input.BackgroundFilledGrayHeavyAlphaBorderedImagePath ||
                    (this.BackgroundFilledGrayHeavyAlphaBorderedImagePath != null &&
                    this.BackgroundFilledGrayHeavyAlphaBorderedImagePath.Equals(input.BackgroundFilledGrayHeavyAlphaBorderedImagePath))
                ) && 
                (
                    this.BackgroundFilledWhiteMediumAlphaImagePath == input.BackgroundFilledWhiteMediumAlphaImagePath ||
                    (this.BackgroundFilledWhiteMediumAlphaImagePath != null &&
                    this.BackgroundFilledWhiteMediumAlphaImagePath.Equals(input.BackgroundFilledWhiteMediumAlphaImagePath))
                ) && 
                (
                    this.BackgroundFilledWhiteImagePath == input.BackgroundFilledWhiteImagePath ||
                    (this.BackgroundFilledWhiteImagePath != null &&
                    this.BackgroundFilledWhiteImagePath.Equals(input.BackgroundFilledWhiteImagePath))
                ) && 
                (
                    this.BackgroundPlateWhiteImagePath == input.BackgroundPlateWhiteImagePath ||
                    (this.BackgroundPlateWhiteImagePath != null &&
                    this.BackgroundPlateWhiteImagePath.Equals(input.BackgroundPlateWhiteImagePath))
                ) && 
                (
                    this.BackgroundPlateBlackImagePath == input.BackgroundPlateBlackImagePath ||
                    (this.BackgroundPlateBlackImagePath != null &&
                    this.BackgroundPlateBlackImagePath.Equals(input.BackgroundPlateBlackImagePath))
                ) && 
                (
                    this.BackgroundPlateBlackAlphaImagePath == input.BackgroundPlateBlackAlphaImagePath ||
                    (this.BackgroundPlateBlackAlphaImagePath != null &&
                    this.BackgroundPlateBlackAlphaImagePath.Equals(input.BackgroundPlateBlackAlphaImagePath))
                );
        }

        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hashCode = 41;
                if (this.BackgroundEmptyBorderedImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundEmptyBorderedImagePath.GetHashCode();
                }
                if (this.BackgroundEmptyBlueGradientBorderedImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundEmptyBlueGradientBorderedImagePath.GetHashCode();
                }
                if (this.BackgroundFilledBlueBorderedImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledBlueBorderedImagePath.GetHashCode();
                }
                if (this.BackgroundFilledBlueGradientBorderedImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledBlueGradientBorderedImagePath.GetHashCode();
                }
                if (this.BackgroundFilledBlueLowAlphaImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledBlueLowAlphaImagePath.GetHashCode();
                }
                if (this.BackgroundFilledBlueMediumAlphaImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledBlueMediumAlphaImagePath.GetHashCode();
                }
                if (this.BackgroundFilledGrayMediumAlphaBorderedImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledGrayMediumAlphaBorderedImagePath.GetHashCode();
                }
                if (this.BackgroundFilledGrayHeavyAlphaBorderedImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledGrayHeavyAlphaBorderedImagePath.GetHashCode();
                }
                if (this.BackgroundFilledWhiteMediumAlphaImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledWhiteMediumAlphaImagePath.GetHashCode();
                }
                if (this.BackgroundFilledWhiteImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundFilledWhiteImagePath.GetHashCode();
                }
                if (this.BackgroundPlateWhiteImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundPlateWhiteImagePath.GetHashCode();
                }
                if (this.BackgroundPlateBlackImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundPlateBlackImagePath.GetHashCode();
                }
                if (this.BackgroundPlateBlackAlphaImagePath != null)
                {
                    hashCode = (hashCode * 59) + this.BackgroundPlateBlackAlphaImagePath.GetHashCode();
                }
                return hashCode;
            }
        }

        /// <summary>
        /// To validate all properties of the instance
        /// </summary>
        /// <param name="validationContext">Validation context</param>
        /// <returns>Validation Result</returns>
        IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
        {
            yield break;
        }
    }

}
