/*
 * 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>
    /// GetNodesSingleDisksList200ResponseDataInner
    /// </summary>
    [DataContract(Name = "getNodesSingleDisksList_200_response_data_inner")]
    public partial class GetNodesSingleDisksList200ResponseDataInner : IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetNodesSingleDisksList200ResponseDataInner" /> class.
        /// </summary>
        /// <param name="devpath">The device path.</param>
        /// <param name="gpt">gpt.</param>
        /// <param name="health">health.</param>
        /// <param name="model">model.</param>
        /// <param name="mounted">mounted.</param>
        /// <param name="osdid">osdid.</param>
        /// <param name="osdidList">osdidList.</param>
        /// <param name="parent">For partitions only. The device path of the disk the partition resides on..</param>
        /// <param name="serial">serial.</param>
        /// <param name="size">size.</param>
        /// <param name="used">used.</param>
        /// <param name="vendor">vendor.</param>
        /// <param name="wwn">wwn.</param>
        public GetNodesSingleDisksList200ResponseDataInner(string devpath = default(string), Int64 gpt = default(Int64), string health = default(string), string model = default(string), Int64 mounted = default(Int64), Int64 osdid = default(Int64), List<Int64> osdidList = default(List<Int64>), string parent = default(string), string serial = default(string), Int64 size = default(Int64), string used = default(string), string vendor = default(string), string wwn = default(string))
        {
            this.Devpath = devpath;
            this.Gpt = gpt;
            this.Health = health;
            this.Model = model;
            this.Mounted = mounted;
            this.Osdid = osdid;
            this.OsdidList = osdidList;
            this.Parent = parent;
            this.Serial = serial;
            this.Size = size;
            this.Used = used;
            this.Vendor = vendor;
            this.Wwn = wwn;
        }

        /// <summary>
        /// The device path
        /// </summary>
        /// <value>The device path</value>
        [DataMember(Name = "devpath", EmitDefaultValue = false)]
        public string Devpath { get; set; }

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

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

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

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

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

        /// <summary>
        /// Gets or Sets OsdidList
        /// </summary>
        [DataMember(Name = "osdid-list", EmitDefaultValue = false)]
        public List<Int64> OsdidList { get; set; }

        /// <summary>
        /// For partitions only. The device path of the disk the partition resides on.
        /// </summary>
        /// <value>For partitions only. The device path of the disk the partition resides on.</value>
        [DataMember(Name = "parent", EmitDefaultValue = false)]
        public string Parent { get; set; }

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

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

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

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

        /// <summary>
        /// Gets or Sets Wwn
        /// </summary>
        [DataMember(Name = "wwn", EmitDefaultValue = false)]
        public string Wwn { 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 GetNodesSingleDisksList200ResponseDataInner {\n");
            sb.Append("  Devpath: ").Append(Devpath).Append("\n");
            sb.Append("  Gpt: ").Append(Gpt).Append("\n");
            sb.Append("  Health: ").Append(Health).Append("\n");
            sb.Append("  Model: ").Append(Model).Append("\n");
            sb.Append("  Mounted: ").Append(Mounted).Append("\n");
            sb.Append("  Osdid: ").Append(Osdid).Append("\n");
            sb.Append("  OsdidList: ").Append(OsdidList).Append("\n");
            sb.Append("  Parent: ").Append(Parent).Append("\n");
            sb.Append("  Serial: ").Append(Serial).Append("\n");
            sb.Append("  Size: ").Append(Size).Append("\n");
            sb.Append("  Used: ").Append(Used).Append("\n");
            sb.Append("  Vendor: ").Append(Vendor).Append("\n");
            sb.Append("  Wwn: ").Append(Wwn).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;
        }
    }

}
