/* 
 * Swagger Petstore
 *
 * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 *
 * OpenAPI spec version: 1.0.0
 * Contact: apiteam@swagger.io
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 */

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

namespace IO.Swagger.Model
{
    /// <summary>
    /// Capitalization
    /// </summary>
    [DataContract]
    public partial class Capitalization :  IEquatable<Capitalization>, IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Capitalization" /> class.
        /// </summary>
        /// <param name="SmallCamel">SmallCamel.</param>
        /// <param name="CapitalCamel">CapitalCamel.</param>
        /// <param name="SmallSnake">SmallSnake.</param>
        /// <param name="CapitalSnake">CapitalSnake.</param>
        /// <param name="SCAETHFlowPoints">SCAETHFlowPoints.</param>
        /// <param name="ATT_NAME">Name of the pet .</param>
        public Capitalization(string SmallCamel = default(string), string CapitalCamel = default(string), string SmallSnake = default(string), string CapitalSnake = default(string), string SCAETHFlowPoints = default(string), string ATT_NAME = default(string))
        {
            this.SmallCamel = SmallCamel;
            this.CapitalCamel = CapitalCamel;
            this.SmallSnake = SmallSnake;
            this.CapitalSnake = CapitalSnake;
            this.SCAETHFlowPoints = SCAETHFlowPoints;
            this.ATT_NAME = ATT_NAME;
        }
        
        /// <summary>
        /// Gets or Sets SmallCamel
        /// </summary>
        [DataMember(Name="smallCamel", EmitDefaultValue=false)]
        public string SmallCamel { get; set; }
        /// <summary>
        /// Gets or Sets CapitalCamel
        /// </summary>
        [DataMember(Name="CapitalCamel", EmitDefaultValue=false)]
        public string CapitalCamel { get; set; }
        /// <summary>
        /// Gets or Sets SmallSnake
        /// </summary>
        [DataMember(Name="small_Snake", EmitDefaultValue=false)]
        public string SmallSnake { get; set; }
        /// <summary>
        /// Gets or Sets CapitalSnake
        /// </summary>
        [DataMember(Name="Capital_Snake", EmitDefaultValue=false)]
        public string CapitalSnake { get; set; }
        /// <summary>
        /// Gets or Sets SCAETHFlowPoints
        /// </summary>
        [DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=false)]
        public string SCAETHFlowPoints { get; set; }
        /// <summary>
        /// Name of the pet 
        /// </summary>
        /// <value>Name of the pet </value>
        [DataMember(Name="ATT_NAME", EmitDefaultValue=false)]
        public string ATT_NAME { get; set; }
        /// <summary>
        /// Returns the string presentation of the object
        /// </summary>
        /// <returns>String presentation of the object</returns>
        public override string ToString()
        {
            var sb = new StringBuilder();
            sb.Append("class Capitalization {\n");
            sb.Append("  SmallCamel: ").Append(SmallCamel).Append("\n");
            sb.Append("  CapitalCamel: ").Append(CapitalCamel).Append("\n");
            sb.Append("  SmallSnake: ").Append(SmallSnake).Append("\n");
            sb.Append("  CapitalSnake: ").Append(CapitalSnake).Append("\n");
            sb.Append("  SCAETHFlowPoints: ").Append(SCAETHFlowPoints).Append("\n");
            sb.Append("  ATT_NAME: ").Append(ATT_NAME).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 string ToJson()
        {
            return JsonConvert.SerializeObject(this, Formatting.Indented);
        }

        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        /// <param name="obj">Object to be compared</param>
        /// <returns>Boolean</returns>
        public override bool Equals(object obj)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            return this.Equals(obj as Capitalization);
        }

        /// <summary>
        /// Returns true if Capitalization instances are equal
        /// </summary>
        /// <param name="other">Instance of Capitalization to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Capitalization other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
                return false;

            return 
                (
                    this.SmallCamel == other.SmallCamel ||
                    this.SmallCamel != null &&
                    this.SmallCamel.Equals(other.SmallCamel)
                ) && 
                (
                    this.CapitalCamel == other.CapitalCamel ||
                    this.CapitalCamel != null &&
                    this.CapitalCamel.Equals(other.CapitalCamel)
                ) && 
                (
                    this.SmallSnake == other.SmallSnake ||
                    this.SmallSnake != null &&
                    this.SmallSnake.Equals(other.SmallSnake)
                ) && 
                (
                    this.CapitalSnake == other.CapitalSnake ||
                    this.CapitalSnake != null &&
                    this.CapitalSnake.Equals(other.CapitalSnake)
                ) && 
                (
                    this.SCAETHFlowPoints == other.SCAETHFlowPoints ||
                    this.SCAETHFlowPoints != null &&
                    this.SCAETHFlowPoints.Equals(other.SCAETHFlowPoints)
                ) && 
                (
                    this.ATT_NAME == other.ATT_NAME ||
                    this.ATT_NAME != null &&
                    this.ATT_NAME.Equals(other.ATT_NAME)
                );
        }

        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;
                // Suitable nullity checks etc, of course :)
                if (this.SmallCamel != null)
                    hash = hash * 59 + this.SmallCamel.GetHashCode();
                if (this.CapitalCamel != null)
                    hash = hash * 59 + this.CapitalCamel.GetHashCode();
                if (this.SmallSnake != null)
                    hash = hash * 59 + this.SmallSnake.GetHashCode();
                if (this.CapitalSnake != null)
                    hash = hash * 59 + this.CapitalSnake.GetHashCode();
                if (this.SCAETHFlowPoints != null)
                    hash = hash * 59 + this.SCAETHFlowPoints.GetHashCode();
                if (this.ATT_NAME != null)
                    hash = hash * 59 + this.ATT_NAME.GetHashCode();
                return hash;
            }
        }

        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
        { 
            yield break;
        }
    }

}
