generated/api/Models/ReplicationGroupSummary.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>Summary of replication group</summary> public partial class ReplicationGroupSummary : Commvault.Powershell.Models.IReplicationGroupSummary, Commvault.Powershell.Models.IReplicationGroupSummaryInternal { /// <summary>Backing field for <see cref="DestinationVendor" /> property.</summary> private string _destinationVendor; /// <summary>Vendor used as destination for replication.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DestinationVendor { get => this._destinationVendor; set => this._destinationVendor = value; } /// <summary>Backing field for <see cref="RecoveryTarget" /> property.</summary> private string _recoveryTarget; /// <summary>Can be used to identify destination for full VM restore</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string RecoveryTarget { get => this._recoveryTarget; set => this._recoveryTarget = value; } /// <summary>Backing field for <see cref="ReplicationType" /> property.</summary> private string _replicationType; /// <summary>The field specifies the type of replication that is to be performed</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ReplicationType { get => this._replicationType; set => this._replicationType = value; } /// <summary>Backing field for <see cref="Source" /> property.</summary> private string _source; /// <summary>Source hypervisor</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Source { get => this._source; set => this._source = value; } /// <summary>Backing field for <see cref="State" /> property.</summary> private string _state; /// <summary>State of replication group. Values are case sensitive</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string State { get => this._state; set => this._state = value; } /// <summary>Creates an new <see cref="ReplicationGroupSummary" /> instance.</summary> public ReplicationGroupSummary() { } } /// Summary of replication group public partial interface IReplicationGroupSummary : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Vendor used as destination for replication.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Vendor used as destination for replication.", SerializedName = @"destinationVendor", PossibleTypes = new [] { typeof(string) })] string DestinationVendor { get; set; } /// <summary>Can be used to identify destination for full VM restore</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Can be used to identify destination for full VM restore", SerializedName = @"recoveryTarget", PossibleTypes = new [] { typeof(string) })] string RecoveryTarget { get; set; } /// <summary>The field specifies the type of replication that is to be performed</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The field specifies the type of replication that is to be performed", SerializedName = @"replicationType", PossibleTypes = new [] { typeof(string) })] string ReplicationType { get; set; } /// <summary>Source hypervisor</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Source hypervisor", SerializedName = @"source", PossibleTypes = new [] { typeof(string) })] string Source { get; set; } /// <summary>State of replication group. Values are case sensitive</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"State of replication group. Values are case sensitive", SerializedName = @"state", PossibleTypes = new [] { typeof(string) })] string State { get; set; } } /// Summary of replication group internal partial interface IReplicationGroupSummaryInternal { /// <summary>Vendor used as destination for replication.</summary> string DestinationVendor { get; set; } /// <summary>Can be used to identify destination for full VM restore</summary> string RecoveryTarget { get; set; } /// <summary>The field specifies the type of replication that is to be performed</summary> string ReplicationType { get; set; } /// <summary>Source hypervisor</summary> string Source { get; set; } /// <summary>State of replication group. Values are case sensitive</summary> string State { get; set; } } } |