generated/api/Models/DbRecoveryConfigurationDatabaseFileMapping.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>DBRecoveryConfigurationDatabaseFile</summary> public partial class DbRecoveryConfigurationDatabaseFileMapping : Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMapping, Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMappingInternal { /// <summary>Internal Acessors for Destination</summary> Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMappingInternal.Destination { get => (this._destination = this._destination ?? new Commvault.Powershell.Models.DbRecoveryConfigurationDatabaseFile()); set { {_destination = value;} } } /// <summary>Internal Acessors for Source</summary> Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMappingInternal.Source { get => (this._source = this._source ?? new Commvault.Powershell.Models.DbRecoveryConfigurationDatabaseFile()); set { {_source = value;} } } /// <summary>Backing field for <see cref="Destination" /> property.</summary> private Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile _destination; /// <summary>DBRecoveryConfigurationDatabaseFile</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile Destination { get => (this._destination = this._destination ?? new Commvault.Powershell.Models.DbRecoveryConfigurationDatabaseFile()); set => this._destination = value; } /// <summary>Logical name of the file</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string DestinationLogicalName { get => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Destination).LogicalName; set => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Destination).LogicalName = value ?? null; } /// <summary>Physical path of the file</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string DestinationPhysicalPath { get => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Destination).PhysicalPath; set => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Destination).PhysicalPath = value ?? null; } /// <summary>Backing field for <see cref="Source" /> property.</summary> private Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile _source; /// <summary>DBRecoveryConfigurationDatabaseFile</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile Source { get => (this._source = this._source ?? new Commvault.Powershell.Models.DbRecoveryConfigurationDatabaseFile()); set => this._source = value; } /// <summary>Logical name of the file</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SourceLogicalName { get => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Source).LogicalName; set => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Source).LogicalName = value ?? null; } /// <summary>Physical path of the file</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SourcePhysicalPath { get => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Source).PhysicalPath; set => ((Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileInternal)Source).PhysicalPath = value ?? null; } /// <summary> /// Creates an new <see cref="DbRecoveryConfigurationDatabaseFileMapping" /> instance. /// </summary> public DbRecoveryConfigurationDatabaseFileMapping() { } } /// DBRecoveryConfigurationDatabaseFile public partial interface IDbRecoveryConfigurationDatabaseFileMapping : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Logical name of the file</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Logical name of the file", SerializedName = @"logicalName", PossibleTypes = new [] { typeof(string) })] string DestinationLogicalName { get; set; } /// <summary>Physical path of the file</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Physical path of the file", SerializedName = @"physicalPath", PossibleTypes = new [] { typeof(string) })] string DestinationPhysicalPath { get; set; } /// <summary>Logical name of the file</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Logical name of the file", SerializedName = @"logicalName", PossibleTypes = new [] { typeof(string) })] string SourceLogicalName { get; set; } /// <summary>Physical path of the file</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Physical path of the file", SerializedName = @"physicalPath", PossibleTypes = new [] { typeof(string) })] string SourcePhysicalPath { get; set; } } /// DBRecoveryConfigurationDatabaseFile internal partial interface IDbRecoveryConfigurationDatabaseFileMappingInternal { /// <summary>DBRecoveryConfigurationDatabaseFile</summary> Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile Destination { get; set; } /// <summary>Logical name of the file</summary> string DestinationLogicalName { get; set; } /// <summary>Physical path of the file</summary> string DestinationPhysicalPath { get; set; } /// <summary>DBRecoveryConfigurationDatabaseFile</summary> Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFile Source { get; set; } /// <summary>Logical name of the file</summary> string SourceLogicalName { get; set; } /// <summary>Physical path of the file</summary> string SourcePhysicalPath { get; set; } } } |