generated/api/Models/ListSnapshots.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415) // 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>Response for Listing Snapshots</summary> public partial class ListSnapshots : Commvault.Powershell.Models.IListSnapshots, Commvault.Powershell.Models.IListSnapshotsInternal { /// <summary>Backing field for <see cref="AppTypeId" /> property.</summary> private long? _appTypeId; /// <summary>Id of the application type engine used</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? AppTypeId { get => this._appTypeId; set => this._appTypeId = value; } /// <summary>Backing field for <see cref="AppTypeName" /> property.</summary> private string _appTypeName; /// <summary>Name of the application type which the Engine used</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string AppTypeName { get => this._appTypeName; set => this._appTypeName = value; } /// <summary>Backing field for <see cref="ArrayId" /> property.</summary> private long? _arrayId; /// <summary>Id of the array</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ArrayId { get => this._arrayId; set => this._arrayId = value; } /// <summary>Backing field for <see cref="ArrayName" /> property.</summary> private string _arrayName; /// <summary>Name of the array</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ArrayName { get => this._arrayName; set => this._arrayName = value; } /// <summary>Backing field for <see cref="Capabilities" /> property.</summary> private long? _capabilities; /// <summary>The capability flags set for the snapshot</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Capabilities { get => this._capabilities; set => this._capabilities = value; } /// <summary>Backing field for <see cref="CreationTime" /> property.</summary> private long? _creationTime; /// <summary>Time of Creation</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? CreationTime { get => this._creationTime; set => this._creationTime = value; } /// <summary>Backing field for <see cref="JobId" /> property.</summary> private long? _jobId; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? JobId { get => this._jobId; set => this._jobId = value; } /// <summary>Backing field for <see cref="MasterJobId" /> property.</summary> private long? _masterJobId; /// <summary>Job Id of the master job</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MasterJobId { get => this._masterJobId; set => this._masterJobId = value; } /// <summary>Backing field for <see cref="MountHostId" /> property.</summary> private long? _mountHostId; /// <summary>Id of the MA where the mount is hosted</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MountHostId { get => this._mountHostId; set => this._mountHostId = value; } /// <summary>Backing field for <see cref="MountHostName" /> property.</summary> private string _mountHostName; /// <summary>Host on which the snapshot is mounted on</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MountHostName { get => this._mountHostName; set => this._mountHostName = value; } /// <summary>Backing field for <see cref="MountPath" /> property.</summary> private string _mountPath; /// <summary>Path to the mounted snapshot</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MountPath { get => this._mountPath; set => this._mountPath = value; } /// <summary>Backing field for <see cref="MountStatusId" /> property.</summary> private long? _mountStatusId; /// <summary>Id for the mount status</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MountStatusId { get => this._mountStatusId; set => this._mountStatusId = value; } /// <summary>Backing field for <see cref="MountStatusName" /> property.</summary> private string _mountStatusName; /// <summary>Whether the snapshot was taken sucessfully or not</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MountStatusName { get => this._mountStatusName; set => this._mountStatusName = value; } /// <summary>Backing field for <see cref="MountStatusUpdateTime" /> property.</summary> private long? _mountStatusUpdateTime; /// <summary>Last Status Update</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MountStatusUpdateTime { get => this._mountStatusUpdateTime; set => this._mountStatusUpdateTime = value; } /// <summary>Backing field for <see cref="SmVolumeId" /> property.</summary> private long? _smVolumeId; /// <summary>The Volume Id of the snapshots</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? SmVolumeId { get => this._smVolumeId; set => this._smVolumeId = value; } /// <summary>Backing field for <see cref="SnapshotType" /> property.</summary> private long? _snapshotType; /// <summary>The type of the snapshot</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? SnapshotType { get => this._snapshotType; set => this._snapshotType = value; } /// <summary>Backing field for <see cref="SourceClientId" /> property.</summary> private long? _sourceClientId; /// <summary>Id of the Source Client</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? SourceClientId { get => this._sourceClientId; set => this._sourceClientId = value; } /// <summary>Backing field for <see cref="SourceClientName" /> property.</summary> private string _sourceClientName; /// <summary>Source client for the engine</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourceClientName { get => this._sourceClientName; set => this._sourceClientName = value; } /// <summary>Backing field for <see cref="SourcePath" /> property.</summary> private string _sourcePath; /// <summary>Source path of the engine where disk is stored</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourcePath { get => this._sourcePath; set => this._sourcePath = value; } /// <summary>Creates an new <see cref="ListSnapshots" /> instance.</summary> public ListSnapshots() { } } /// Response for Listing Snapshots public partial interface IListSnapshots : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Id of the application type engine used</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the application type engine used", SerializedName = @"appTypeId", PossibleTypes = new [] { typeof(long) })] long? AppTypeId { get; set; } /// <summary>Name of the application type which the Engine used</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of the application type which the Engine used", SerializedName = @"appTypeName", PossibleTypes = new [] { typeof(string) })] string AppTypeName { get; set; } /// <summary>Id of the array</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the array", SerializedName = @"arrayId", PossibleTypes = new [] { typeof(long) })] long? ArrayId { get; set; } /// <summary>Name of the array</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of the array", SerializedName = @"arrayName", PossibleTypes = new [] { typeof(string) })] string ArrayName { get; set; } /// <summary>The capability flags set for the snapshot</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The capability flags set for the snapshot", SerializedName = @"capabilities", PossibleTypes = new [] { typeof(long) })] long? Capabilities { get; set; } /// <summary>Time of Creation</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Time of Creation", SerializedName = @"creationTime", PossibleTypes = new [] { typeof(long) })] long? CreationTime { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"jobId", PossibleTypes = new [] { typeof(long) })] long? JobId { get; set; } /// <summary>Job Id of the master job</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Job Id of the master job", SerializedName = @"masterJobId", PossibleTypes = new [] { typeof(long) })] long? MasterJobId { get; set; } /// <summary>Id of the MA where the mount is hosted</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the MA where the mount is hosted", SerializedName = @"mountHostId", PossibleTypes = new [] { typeof(long) })] long? MountHostId { get; set; } /// <summary>Host on which the snapshot is mounted on</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Host on which the snapshot is mounted on", SerializedName = @"mountHostName", PossibleTypes = new [] { typeof(string) })] string MountHostName { get; set; } /// <summary>Path to the mounted snapshot</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Path to the mounted snapshot", SerializedName = @"mountPath", PossibleTypes = new [] { typeof(string) })] string MountPath { get; set; } /// <summary>Id for the mount status</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id for the mount status", SerializedName = @"mountStatusId", PossibleTypes = new [] { typeof(long) })] long? MountStatusId { get; set; } /// <summary>Whether the snapshot was taken sucessfully or not</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Whether the snapshot was taken sucessfully or not", SerializedName = @"mountStatusName", PossibleTypes = new [] { typeof(string) })] string MountStatusName { get; set; } /// <summary>Last Status Update</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Last Status Update", SerializedName = @"mountStatusUpdateTime", PossibleTypes = new [] { typeof(long) })] long? MountStatusUpdateTime { get; set; } /// <summary>The Volume Id of the snapshots</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The Volume Id of the snapshots", SerializedName = @"smVolumeId", PossibleTypes = new [] { typeof(long) })] long? SmVolumeId { get; set; } /// <summary>The type of the snapshot</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The type of the snapshot", SerializedName = @"snapshotType", PossibleTypes = new [] { typeof(long) })] long? SnapshotType { get; set; } /// <summary>Id of the Source Client</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the Source Client", SerializedName = @"sourceClientId", PossibleTypes = new [] { typeof(long) })] long? SourceClientId { get; set; } /// <summary>Source client for the engine</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Source client for the engine", SerializedName = @"sourceClientName", PossibleTypes = new [] { typeof(string) })] string SourceClientName { get; set; } /// <summary>Source path of the engine where disk is stored</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Source path of the engine where disk is stored", SerializedName = @"sourcePath", PossibleTypes = new [] { typeof(string) })] string SourcePath { get; set; } } /// Response for Listing Snapshots internal partial interface IListSnapshotsInternal { /// <summary>Id of the application type engine used</summary> long? AppTypeId { get; set; } /// <summary>Name of the application type which the Engine used</summary> string AppTypeName { get; set; } /// <summary>Id of the array</summary> long? ArrayId { get; set; } /// <summary>Name of the array</summary> string ArrayName { get; set; } /// <summary>The capability flags set for the snapshot</summary> long? Capabilities { get; set; } /// <summary>Time of Creation</summary> long? CreationTime { get; set; } long? JobId { get; set; } /// <summary>Job Id of the master job</summary> long? MasterJobId { get; set; } /// <summary>Id of the MA where the mount is hosted</summary> long? MountHostId { get; set; } /// <summary>Host on which the snapshot is mounted on</summary> string MountHostName { get; set; } /// <summary>Path to the mounted snapshot</summary> string MountPath { get; set; } /// <summary>Id for the mount status</summary> long? MountStatusId { get; set; } /// <summary>Whether the snapshot was taken sucessfully or not</summary> string MountStatusName { get; set; } /// <summary>Last Status Update</summary> long? MountStatusUpdateTime { get; set; } /// <summary>The Volume Id of the snapshots</summary> long? SmVolumeId { get; set; } /// <summary>The type of the snapshot</summary> long? SnapshotType { get; set; } /// <summary>Id of the Source Client</summary> long? SourceClientId { get; set; } /// <summary>Source client for the engine</summary> string SourceClientName { get; set; } /// <summary>Source path of the engine where disk is stored</summary> string SourcePath { get; set; } } } |