generated/api/Models/VMSecurity.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>VMSecurity</summary>
    public partial class VMSecurity :
        Commvault.Powershell.Models.IVMSecurity,
        Commvault.Powershell.Models.IVMSecurityInternal
    {

        /// <summary>Backing field for <see cref="Associations" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IVMSecurityAssoc> _associations;

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

        /// <summary>Backing field for <see cref="Owners" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityOwnersAssoc> _owners;

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

        /// <summary>Backing field for <see cref="Permissions" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IPermissionResp> _permissions;

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

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

        }
    }
    /// VMSecurity
    public partial interface IVMSecurity :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"associations",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVMSecurityAssoc) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IVMSecurityAssoc> Associations { get; set; }

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

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

    }
    /// VMSecurity
    internal partial interface IVMSecurityInternal

    {
        System.Collections.Generic.List<Commvault.Powershell.Models.IVMSecurityAssoc> Associations { get; set; }

        System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityOwnersAssoc> Owners { get; set; }

        System.Collections.Generic.List<Commvault.Powershell.Models.IPermissionResp> Permissions { get; set; }

    }
}