/// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (Axis != null)
         {
             hashCode = hashCode * 59 + Axis.GetHashCode();
         }
         if (Label != null)
         {
             hashCode = hashCode * 59 + Label.GetHashCode();
         }
         if (Color != null)
         {
             hashCode = hashCode * 59 + Color.GetHashCode();
         }
         if (Format != null)
         {
             hashCode = hashCode * 59 + Format.GetHashCode();
         }
         if (Minimum != null)
         {
             hashCode = hashCode * 59 + Minimum.GetHashCode();
         }
         if (Maximum != null)
         {
             hashCode = hashCode * 59 + Maximum.GetHashCode();
         }
         if (Position != null)
         {
             hashCode = hashCode * 59 + Position.GetHashCode();
         }
         if (MajorColor != null)
         {
             hashCode = hashCode * 59 + MajorColor.GetHashCode();
         }
         if (MajorWidth != null)
         {
             hashCode = hashCode * 59 + MajorWidth.GetHashCode();
         }
         if (MajorStyle != null)
         {
             hashCode = hashCode * 59 + MajorStyle.GetHashCode();
         }
         if (MinorColor != null)
         {
             hashCode = hashCode * 59 + MinorColor.GetHashCode();
         }
         if (MinorWidth != null)
         {
             hashCode = hashCode * 59 + MinorWidth.GetHashCode();
         }
         if (MinorStyle != null)
         {
             hashCode = hashCode * 59 + MinorStyle.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ChartAxisConfigBean instances are equal
        /// </summary>
        /// <param name="input">Instance of ChartAxisConfigBean to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ChartAxisConfigBean input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Axis == input.Axis ||
                     (Axis != null &&
                      Axis.Equals(input.Axis))
                     ) &&
                 (
                     Label == input.Label ||
                     (Label != null &&
                      Label.Equals(input.Label))
                 ) &&
                 (
                     Color == input.Color ||
                     (Color != null &&
                      Color.Equals(input.Color))
                 ) &&
                 (
                     Format == input.Format ||
                     (Format != null &&
                      Format.Equals(input.Format))
                 ) &&
                 (
                     Minimum == input.Minimum ||
                     (Minimum != null &&
                      Minimum.Equals(input.Minimum))
                 ) &&
                 (
                     Maximum == input.Maximum ||
                     (Maximum != null &&
                      Maximum.Equals(input.Maximum))
                 ) &&
                 (
                     Position == input.Position ||
                     (Position != null &&
                      Position.Equals(input.Position))
                 ) &&
                 (
                     MajorColor == input.MajorColor ||
                     (MajorColor != null &&
                      MajorColor.Equals(input.MajorColor))
                 ) &&
                 (
                     MajorWidth == input.MajorWidth ||
                     (MajorWidth != null &&
                      MajorWidth.Equals(input.MajorWidth))
                 ) &&
                 (
                     MajorStyle == input.MajorStyle ||
                     (MajorStyle != null &&
                      MajorStyle.Equals(input.MajorStyle))
                 ) &&
                 (
                     MinorColor == input.MinorColor ||
                     (MinorColor != null &&
                      MinorColor.Equals(input.MinorColor))
                 ) &&
                 (
                     MinorWidth == input.MinorWidth ||
                     (MinorWidth != null &&
                      MinorWidth.Equals(input.MinorWidth))
                 ) &&
                 (
                     MinorStyle == input.MinorStyle ||
                     (MinorStyle != null &&
                      MinorStyle.Equals(input.MinorStyle))
                 ));
        }