/*
 * ProxMox VE API
 *
 * ProxMox VE API
 *
 * The version of the OpenAPI document: 2.0
 * Contact: support@lumaserv.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 = ProxmoxSharp.Client.OpenAPIDateConverter;

namespace ProxmoxSharp.Model
{
    /// <summary>
    /// GetNodesSingleCephMon200ResponseDataInner
    /// </summary>
    [DataContract(Name = "getNodesSingleCephMon_200_response_data_inner")]
    public partial class GetNodesSingleCephMon200ResponseDataInner : IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetNodesSingleCephMon200ResponseDataInner" /> class.
        /// </summary>
        /// <param name="addr">addr.</param>
        /// <param name="cephVersion">cephVersion.</param>
        /// <param name="cephVersionShort">cephVersionShort.</param>
        /// <param name="direxists">direxists.</param>
        /// <param name="host">host.</param>
        /// <param name="name">name.</param>
        /// <param name="quorum">quorum.</param>
        /// <param name="rank">rank.</param>
        /// <param name="service">service.</param>
        /// <param name="state">state.</param>
        public GetNodesSingleCephMon200ResponseDataInner(string addr = default(string), string cephVersion = default(string), string cephVersionShort = default(string), string direxists = default(string), Int64 host = default(Int64), string name = default(string), Int64 quorum = default(Int64), Int64 rank = default(Int64), Int64 service = default(Int64), string state = default(string))
        {
            this.Addr = addr;
            this.CephVersion = cephVersion;
            this.CephVersionShort = cephVersionShort;
            this.Direxists = direxists;
            this.Host = host;
            this.Name = name;
            this.Quorum = quorum;
            this.Rank = rank;
            this.Service = service;
            this.State = state;
        }

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

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

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

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

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

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

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

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

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

        /// <summary>
        /// Gets or Sets State
        /// </summary>
        [DataMember(Name = "state", EmitDefaultValue = false)]
        public string State { 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 GetNodesSingleCephMon200ResponseDataInner {\n");
            sb.Append("  Addr: ").Append(Addr).Append("\n");
            sb.Append("  CephVersion: ").Append(CephVersion).Append("\n");
            sb.Append("  CephVersionShort: ").Append(CephVersionShort).Append("\n");
            sb.Append("  Direxists: ").Append(Direxists).Append("\n");
            sb.Append("  Host: ").Append(Host).Append("\n");
            sb.Append("  Name: ").Append(Name).Append("\n");
            sb.Append("  Quorum: ").Append(Quorum).Append("\n");
            sb.Append("  Rank: ").Append(Rank).Append("\n");
            sb.Append("  Service: ").Append(Service).Append("\n");
            sb.Append("  State: ").Append(State).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>
        /// To validate all properties of the instance
        /// </summary>
        /// <param name="validationContext">Validation context</param>
        /// <returns>Validation Result</returns>
        IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
        {
            yield break;
        }
    }

}
