/*
 * 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>
    /// GetNodesSingleDisksDirectory200ResponseDataInner
    /// </summary>
    [DataContract(Name = "getNodesSingleDisksDirectory_200_response_data_inner")]
    public partial class GetNodesSingleDisksDirectory200ResponseDataInner : IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetNodesSingleDisksDirectory200ResponseDataInner" /> class.
        /// </summary>
        /// <param name="device">The mounted device..</param>
        /// <param name="options">The mount options..</param>
        /// <param name="path">The mount path..</param>
        /// <param name="type">The filesystem type..</param>
        /// <param name="unitfile">The path of the mount unit..</param>
        public GetNodesSingleDisksDirectory200ResponseDataInner(string device = default(string), string options = default(string), string path = default(string), string type = default(string), string unitfile = default(string))
        {
            this.Device = device;
            this.Options = options;
            this.Path = path;
            this.Type = type;
            this.Unitfile = unitfile;
        }

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

        /// <summary>
        /// The mount options.
        /// </summary>
        /// <value>The mount options.</value>
        [DataMember(Name = "options", EmitDefaultValue = false)]
        public string Options { get; set; }

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

        /// <summary>
        /// The filesystem type.
        /// </summary>
        /// <value>The filesystem type.</value>
        [DataMember(Name = "type", EmitDefaultValue = false)]
        public string Type { get; set; }

        /// <summary>
        /// The path of the mount unit.
        /// </summary>
        /// <value>The path of the mount unit.</value>
        [DataMember(Name = "unitfile", EmitDefaultValue = false)]
        public string Unitfile { 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 GetNodesSingleDisksDirectory200ResponseDataInner {\n");
            sb.Append("  Device: ").Append(Device).Append("\n");
            sb.Append("  Options: ").Append(Options).Append("\n");
            sb.Append("  Path: ").Append(Path).Append("\n");
            sb.Append("  Type: ").Append(Type).Append("\n");
            sb.Append("  Unitfile: ").Append(Unitfile).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;
        }
    }

}
