generated/api/Models/TestK8SModifierReq.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;

    /// <summary>Request body for K8s Modifier Test Operation</summary>
    public partial class TestK8SModifierReq :
        Commvault.Powershell.Models.ITestK8SModifierReq,
        Commvault.Powershell.Models.ITestK8SModifierReqInternal
    {

        /// <summary>Backing field for <see cref="ResourceYaml" /> property.</summary>
        private string _resourceYaml;

        /// <summary>Payload(Yaml) to test against the restore modifiers.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ResourceYaml { get => this._resourceYaml; set => this._resourceYaml = value; }

        /// <summary>Backing field for <see cref="RestoreModifierListYaml" /> property.</summary>
        private string _restoreModifierListYaml;

        /// <summary>YAML of Restore Modifier(s) to be tested.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string RestoreModifierListYaml { get => this._restoreModifierListYaml; set => this._restoreModifierListYaml = value; }

        /// <summary>Creates an new <see cref="TestK8SModifierReq" /> instance.</summary>
        public TestK8SModifierReq()
        {

        }
    }
    /// Request body for K8s Modifier Test Operation
    public partial interface ITestK8SModifierReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Payload(Yaml) to test against the restore modifiers.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Payload(Yaml) to test against the restore modifiers.",
        SerializedName = @"resourceYAML",
        PossibleTypes = new [] { typeof(string) })]
        string ResourceYaml { get; set; }
        /// <summary>YAML of Restore Modifier(s) to be tested.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"YAML of Restore Modifier(s) to be tested.",
        SerializedName = @"restoreModifierListYAML",
        PossibleTypes = new [] { typeof(string) })]
        string RestoreModifierListYaml { get; set; }

    }
    /// Request body for K8s Modifier Test Operation
    internal partial interface ITestK8SModifierReqInternal

    {
        /// <summary>Payload(Yaml) to test against the restore modifiers.</summary>
        string ResourceYaml { get; set; }
        /// <summary>YAML of Restore Modifier(s) to be tested.</summary>
        string RestoreModifierListYaml { get; set; }

    }
}