generated/api/Models/SyncStatus1.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>Sync status of the commcell</summary> public partial class SyncStatus1 : Commvault.Powershell.Models.ISyncStatus1, Commvault.Powershell.Models.ISyncStatus1Internal { /// <summary>Backing field for <see cref="ErrorMessage" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.INameMessage> _errorMessage; /// <summary>errorMessage if the commcell failed to sync</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.INameMessage> ErrorMessage { get => this._errorMessage; set => this._errorMessage = value; } /// <summary>Backing field for <see cref="LastSyncedWithIdp" /> property.</summary> private long? _lastSyncedWithIdp; /// <summary>returns the last synced time with IDP(unix time format)</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? LastSyncedWithIdp { get => this._lastSyncedWithIdp; set => this._lastSyncedWithIdp = value; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; /// <summary>status of the commcell</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Creates an new <see cref="SyncStatus1" /> instance.</summary> public SyncStatus1() { } } /// Sync status of the commcell public partial interface ISyncStatus1 : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>errorMessage if the commcell failed to sync</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"errorMessage if the commcell failed to sync", SerializedName = @"errorMessage", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.INameMessage) })] System.Collections.Generic.List<Commvault.Powershell.Models.INameMessage> ErrorMessage { get; set; } /// <summary>returns the last synced time with IDP(unix time format)</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"returns the last synced time with IDP(unix time format)", SerializedName = @"lastSyncedWithIDP", PossibleTypes = new [] { typeof(long) })] long? LastSyncedWithIdp { get; set; } /// <summary>status of the commcell</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"status of the commcell", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } } /// Sync status of the commcell internal partial interface ISyncStatus1Internal { /// <summary>errorMessage if the commcell failed to sync</summary> System.Collections.Generic.List<Commvault.Powershell.Models.INameMessage> ErrorMessage { get; set; } /// <summary>returns the last synced time with IDP(unix time format)</summary> long? LastSyncedWithIdp { get; set; } /// <summary>status of the commcell</summary> string Status { get; set; } } } |