generated/api/Models/DbRecoveryConfigurationDatabase.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>DBRecoveryConfigurationDatabase</summary> public partial class DbRecoveryConfigurationDatabase : Commvault.Powershell.Models.IDbRecoveryConfigurationDatabase, Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseInternal { /// <summary>Backing field for <see cref="DestinationName" /> property.</summary> private string _destinationName; /// <summary>Name of the destination database</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DestinationName { get => this._destinationName; set => this._destinationName = value; } /// <summary>Backing field for <see cref="FileMappings" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMapping> _fileMappings; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMapping> FileMappings { get => this._fileMappings; set => this._fileMappings = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>ID of the source database</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="SourceName" /> property.</summary> private string _sourceName; /// <summary>Name of the source database</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourceName { get => this._sourceName; set => this._sourceName = value; } /// <summary>Creates an new <see cref="DbRecoveryConfigurationDatabase" /> instance.</summary> public DbRecoveryConfigurationDatabase() { } } /// DBRecoveryConfigurationDatabase public partial interface IDbRecoveryConfigurationDatabase : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Name of the destination database</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the destination database", SerializedName = @"destinationName", PossibleTypes = new [] { typeof(string) })] string DestinationName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"fileMappings", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMapping) })] System.Collections.Generic.List<Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMapping> FileMappings { get; set; } /// <summary>ID of the source database</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"ID of the source database", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Name of the source database</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the source database", SerializedName = @"sourceName", PossibleTypes = new [] { typeof(string) })] string SourceName { get; set; } } /// DBRecoveryConfigurationDatabase internal partial interface IDbRecoveryConfigurationDatabaseInternal { /// <summary>Name of the destination database</summary> string DestinationName { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IDbRecoveryConfigurationDatabaseFileMapping> FileMappings { get; set; } /// <summary>ID of the source database</summary> long? Id { get; set; } /// <summary>Name of the source database</summary> string SourceName { get; set; } } } |