/*
 * 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>
    /// GetNodesSingleCephPool200ResponseDataInner
    /// </summary>
    [DataContract(Name = "getNodesSingleCephPool_200_response_data_inner")]
    public partial class GetNodesSingleCephPool200ResponseDataInner : IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetNodesSingleCephPool200ResponseDataInner" /> class.
        /// </summary>
        /// <param name="applicationMetadata">applicationMetadata.</param>
        /// <param name="autoscaleStatus">autoscaleStatus.</param>
        /// <param name="bytesUsed">bytesUsed.</param>
        /// <param name="crushRule">crushRule.</param>
        /// <param name="crushRuleName">crushRuleName.</param>
        /// <param name="minSize">minSize.</param>
        /// <param name="percentUsed">percentUsed.</param>
        /// <param name="pgAutoscaleMode">pgAutoscaleMode.</param>
        /// <param name="pgNum">pgNum.</param>
        /// <param name="pgNumFinal">pgNumFinal.</param>
        /// <param name="pgNumMin">pgNumMin.</param>
        /// <param name="pool">pool.</param>
        /// <param name="poolName">poolName.</param>
        /// <param name="size">size.</param>
        /// <param name="targetSize">targetSize.</param>
        /// <param name="targetSizeRatio">targetSizeRatio.</param>
        /// <param name="type">type.</param>
        public GetNodesSingleCephPool200ResponseDataInner(Object applicationMetadata = default(Object), Object autoscaleStatus = default(Object), Int64 bytesUsed = default(Int64), Int64 crushRule = default(Int64), string crushRuleName = default(string), Int64 minSize = default(Int64), decimal percentUsed = default(decimal), string pgAutoscaleMode = default(string), Int64 pgNum = default(Int64), Int64 pgNumFinal = default(Int64), Int64 pgNumMin = default(Int64), Int64 pool = default(Int64), string poolName = default(string), Int64 size = default(Int64), Int64 targetSize = default(Int64), decimal targetSizeRatio = default(decimal), string type = default(string))
        {
            this.ApplicationMetadata = applicationMetadata;
            this.AutoscaleStatus = autoscaleStatus;
            this.BytesUsed = bytesUsed;
            this.CrushRule = crushRule;
            this.CrushRuleName = crushRuleName;
            this.MinSize = minSize;
            this.PercentUsed = percentUsed;
            this.PgAutoscaleMode = pgAutoscaleMode;
            this.PgNum = pgNum;
            this.PgNumFinal = pgNumFinal;
            this.PgNumMin = pgNumMin;
            this.Pool = pool;
            this.PoolName = poolName;
            this.Size = size;
            this.TargetSize = targetSize;
            this.TargetSizeRatio = targetSizeRatio;
            this.Type = type;
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        /// <summary>
        /// Gets or Sets Type
        /// </summary>
        [DataMember(Name = "type", EmitDefaultValue = false)]
        public string Type { 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 GetNodesSingleCephPool200ResponseDataInner {\n");
            sb.Append("  ApplicationMetadata: ").Append(ApplicationMetadata).Append("\n");
            sb.Append("  AutoscaleStatus: ").Append(AutoscaleStatus).Append("\n");
            sb.Append("  BytesUsed: ").Append(BytesUsed).Append("\n");
            sb.Append("  CrushRule: ").Append(CrushRule).Append("\n");
            sb.Append("  CrushRuleName: ").Append(CrushRuleName).Append("\n");
            sb.Append("  MinSize: ").Append(MinSize).Append("\n");
            sb.Append("  PercentUsed: ").Append(PercentUsed).Append("\n");
            sb.Append("  PgAutoscaleMode: ").Append(PgAutoscaleMode).Append("\n");
            sb.Append("  PgNum: ").Append(PgNum).Append("\n");
            sb.Append("  PgNumFinal: ").Append(PgNumFinal).Append("\n");
            sb.Append("  PgNumMin: ").Append(PgNumMin).Append("\n");
            sb.Append("  Pool: ").Append(Pool).Append("\n");
            sb.Append("  PoolName: ").Append(PoolName).Append("\n");
            sb.Append("  Size: ").Append(Size).Append("\n");
            sb.Append("  TargetSize: ").Append(TargetSize).Append("\n");
            sb.Append("  TargetSizeRatio: ").Append(TargetSizeRatio).Append("\n");
            sb.Append("  Type: ").Append(Type).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;
        }
    }

}
