generated/api/Models/ClientScopeDetails.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; public partial class ClientScopeDetails : Commvault.Powershell.Models.IClientScopeDetails, Commvault.Powershell.Models.IClientScopeDetailsInternal { /// <summary>Backing field for <see cref="ClientScopeType" /> property.</summary> private string _clientScopeType; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ClientScopeType { get => this._clientScopeType; set => this._clientScopeType = value; } /// <summary>Internal Acessors for EntityInfo</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IClientScopeDetailsInternal.EntityInfo { get => (this._entityInfo = this._entityInfo ?? new Commvault.Powershell.Models.IdName()); set { {_entityInfo = value;} } } /// <summary>Backing field for <see cref="EntityInfo" /> property.</summary> private Commvault.Powershell.Models.IIdName _entityInfo; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName EntityInfo { get => (this._entityInfo = this._entityInfo ?? new Commvault.Powershell.Models.IdName()); set => this._entityInfo = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? EntityInfoId { get => ((Commvault.Powershell.Models.IIdNameInternal)EntityInfo).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)EntityInfo).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string EntityInfoName { get => ((Commvault.Powershell.Models.IIdNameInternal)EntityInfo).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)EntityInfo).Name = value ?? null; } /// <summary>Creates an new <see cref="ClientScopeDetails" /> instance.</summary> public ClientScopeDetails() { } } public partial interface IClientScopeDetails : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"clientScopeType", PossibleTypes = new [] { typeof(string) })] string ClientScopeType { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? EntityInfoId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string EntityInfoName { get; set; } } internal partial interface IClientScopeDetailsInternal { string ClientScopeType { get; set; } Commvault.Powershell.Models.IIdName EntityInfo { get; set; } long? EntityInfoId { get; set; } string EntityInfoName { get; set; } } } |