/*
 * 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>
    /// GetNodesSingleDisksLvmthin200ResponseDataInner
    /// </summary>
    [DataContract(Name = "getNodesSingleDisksLvmthin_200_response_data_inner")]
    public partial class GetNodesSingleDisksLvmthin200ResponseDataInner : IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetNodesSingleDisksLvmthin200ResponseDataInner" /> class.
        /// </summary>
        /// <param name="lv">The name of the thinpool..</param>
        /// <param name="lvSize">The size of the thinpool in bytes..</param>
        /// <param name="metadataSize">The size of the metadata lv in bytes..</param>
        /// <param name="metadataUsed">The used bytes of the metadata lv..</param>
        /// <param name="used">The used bytes of the thinpool..</param>
        /// <param name="vg">The associated volume group..</param>
        public GetNodesSingleDisksLvmthin200ResponseDataInner(string lv = default(string), Int64 lvSize = default(Int64), Int64 metadataSize = default(Int64), Int64 metadataUsed = default(Int64), Int64 used = default(Int64), string vg = default(string))
        {
            this.Lv = lv;
            this.LvSize = lvSize;
            this.MetadataSize = metadataSize;
            this.MetadataUsed = metadataUsed;
            this.Used = used;
            this.Vg = vg;
        }

        /// <summary>
        /// The name of the thinpool.
        /// </summary>
        /// <value>The name of the thinpool.</value>
        [DataMember(Name = "lv", EmitDefaultValue = false)]
        public string Lv { get; set; }

        /// <summary>
        /// The size of the thinpool in bytes.
        /// </summary>
        /// <value>The size of the thinpool in bytes.</value>
        [DataMember(Name = "lv_size", EmitDefaultValue = false)]
        public Int64 LvSize { get; set; }

        /// <summary>
        /// The size of the metadata lv in bytes.
        /// </summary>
        /// <value>The size of the metadata lv in bytes.</value>
        [DataMember(Name = "metadata_size", EmitDefaultValue = false)]
        public Int64 MetadataSize { get; set; }

        /// <summary>
        /// The used bytes of the metadata lv.
        /// </summary>
        /// <value>The used bytes of the metadata lv.</value>
        [DataMember(Name = "metadata_used", EmitDefaultValue = false)]
        public Int64 MetadataUsed { get; set; }

        /// <summary>
        /// The used bytes of the thinpool.
        /// </summary>
        /// <value>The used bytes of the thinpool.</value>
        [DataMember(Name = "used", EmitDefaultValue = false)]
        public Int64 Used { get; set; }

        /// <summary>
        /// The associated volume group.
        /// </summary>
        /// <value>The associated volume group.</value>
        [DataMember(Name = "vg", EmitDefaultValue = false)]
        public string Vg { 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 GetNodesSingleDisksLvmthin200ResponseDataInner {\n");
            sb.Append("  Lv: ").Append(Lv).Append("\n");
            sb.Append("  LvSize: ").Append(LvSize).Append("\n");
            sb.Append("  MetadataSize: ").Append(MetadataSize).Append("\n");
            sb.Append("  MetadataUsed: ").Append(MetadataUsed).Append("\n");
            sb.Append("  Used: ").Append(Used).Append("\n");
            sb.Append("  Vg: ").Append(Vg).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;
        }
    }

}
