/*
 * 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>
    /// GetNodesSingleCephCfgDb200ResponseDataInner
    /// </summary>
    [DataContract(Name = "getNodesSingleCephCfgDb_200_response_data_inner")]
    public partial class GetNodesSingleCephCfgDb200ResponseDataInner : IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetNodesSingleCephCfgDb200ResponseDataInner" /> class.
        /// </summary>
        /// <param name="canUpdateAtRuntime">canUpdateAtRuntime.</param>
        /// <param name="level">level.</param>
        /// <param name="mask">mask.</param>
        /// <param name="name">name.</param>
        /// <param name="section">section.</param>
        /// <param name="value">value.</param>
        public GetNodesSingleCephCfgDb200ResponseDataInner(Int64 canUpdateAtRuntime = default(Int64), string level = default(string), string mask = default(string), string name = default(string), string section = default(string), string value = default(string))
        {
            this.CanUpdateAtRuntime = canUpdateAtRuntime;
            this.Level = level;
            this.Mask = mask;
            this.Name = name;
            this.Section = section;
            this.Value = value;
        }

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

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

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

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

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

        /// <summary>
        /// Gets or Sets Value
        /// </summary>
        [DataMember(Name = "value", EmitDefaultValue = false)]
        public string Value { 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 GetNodesSingleCephCfgDb200ResponseDataInner {\n");
            sb.Append("  CanUpdateAtRuntime: ").Append(CanUpdateAtRuntime).Append("\n");
            sb.Append("  Level: ").Append(Level).Append("\n");
            sb.Append("  Mask: ").Append(Mask).Append("\n");
            sb.Append("  Name: ").Append(Name).Append("\n");
            sb.Append("  Section: ").Append(Section).Append("\n");
            sb.Append("  Value: ").Append(Value).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;
        }
    }

}
