generated/api/Models/VaultTrackerOperationReq.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>Payload for VaultTracker Operation</summary>
    public partial class VaultTrackerOperationReq :
        Commvault.Powershell.Models.IVaultTrackerOperationReq,
        Commvault.Powershell.Models.IVaultTrackerOperationReqInternal
    {

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

        /// <summary>Supported operations for VaultTracker Action</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string OpType { get => this._opType; set => this._opType = value; }

        /// <summary>Backing field for <see cref="VtActionList" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IVaultTrackerOperationInfo> _vtActionList;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.IVaultTrackerOperationInfo> VtActionList { get => this._vtActionList; set => this._vtActionList = value; }

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

        }
    }
    /// Payload for VaultTracker Operation
    public partial interface IVaultTrackerOperationReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Supported operations for VaultTracker Action</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Supported operations for VaultTracker Action",
        SerializedName = @"opType",
        PossibleTypes = new [] { typeof(string) })]
        string OpType { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"vtActionList",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVaultTrackerOperationInfo) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IVaultTrackerOperationInfo> VtActionList { get; set; }

    }
    /// Payload for VaultTracker Operation
    internal partial interface IVaultTrackerOperationReqInternal

    {
        /// <summary>Supported operations for VaultTracker Action</summary>
        string OpType { get; set; }

        System.Collections.Generic.List<Commvault.Powershell.Models.IVaultTrackerOperationInfo> VtActionList { get; set; }

    }
}