generated/api/Models/CyberResilienceConfigureRequest.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>CyberResilienceConfigureRequest</summary>
    public partial class CyberResilienceConfigureRequest :
        Commvault.Powershell.Models.ICyberResilienceConfigureRequest,
        Commvault.Powershell.Models.ICyberResilienceConfigureRequestInternal
    {

        /// <summary>Backing field for <see cref="Credentials" /> property.</summary>
        private System.Collections.Generic.List<long> _credentials;

        /// <summary>List of Credential ids to be analysed</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<long> Credentials { get => this._credentials; set => this._credentials = value; }

        /// <summary>Backing field for <see cref="IndexServer" /> property.</summary>
        private long? _indexServer;

        /// <summary>Pseudo client id of the Index Server</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? IndexServer { get => this._indexServer; set => this._indexServer = value; }

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

        }
    }
    /// CyberResilienceConfigureRequest
    public partial interface ICyberResilienceConfigureRequest :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of Credential ids to be analysed</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of Credential ids to be analysed",
        SerializedName = @"credentials",
        PossibleTypes = new [] { typeof(long) })]
        System.Collections.Generic.List<long> Credentials { get; set; }
        /// <summary>Pseudo client id of the Index Server</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Pseudo client id of the Index Server",
        SerializedName = @"indexServer",
        PossibleTypes = new [] { typeof(long) })]
        long? IndexServer { get; set; }

    }
    /// CyberResilienceConfigureRequest
    internal partial interface ICyberResilienceConfigureRequestInternal

    {
        /// <summary>List of Credential ids to be analysed</summary>
        System.Collections.Generic.List<long> Credentials { get; set; }
        /// <summary>Pseudo client id of the Index Server</summary>
        long? IndexServer { get; set; }

    }
}