generated/api/Models/CreateClusterResp.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; public partial class CreateClusterResp : Commvault.Powershell.Models.ICreateClusterResp, Commvault.Powershell.Models.ICreateClusterRespInternal { /// <summary>Backing field for <see cref="ClusterId" /> property.</summary> private long? _clusterId; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ClusterId { get => this._clusterId; set => this._clusterId = value; } /// <summary>Backing field for <see cref="ClusterName" /> property.</summary> private string _clusterName; /// <summary>Name of the cluster created</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ClusterName { get => this._clusterName; set => this._clusterName = value; } /// <summary>Backing field for <see cref="ErrorCode" /> property.</summary> private long? _errorCode; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ErrorCode { get => this._errorCode; set => this._errorCode = value; } /// <summary>Backing field for <see cref="ErrorMessage" /> property.</summary> private string _errorMessage; /// <summary>Response message</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ErrorMessage { get => this._errorMessage; set => this._errorMessage = value; } /// <summary>Backing field for <see cref="EtcdSubclientResponse" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ICreateEtcdSubclientResp> _etcdSubclientResponse; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ICreateEtcdSubclientResp> EtcdSubclientResponse { get => this._etcdSubclientResponse; set => this._etcdSubclientResponse = value; } /// <summary>Backing field for <see cref="WarningCode" /> property.</summary> private long? _warningCode; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? WarningCode { get => this._warningCode; set => this._warningCode = value; } /// <summary>Backing field for <see cref="WarningMessage" /> property.</summary> private string _warningMessage; /// <summary>Response message</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string WarningMessage { get => this._warningMessage; set => this._warningMessage = value; } /// <summary>Creates an new <see cref="CreateClusterResp" /> instance.</summary> public CreateClusterResp() { } } public partial interface ICreateClusterResp : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"clusterId", PossibleTypes = new [] { typeof(long) })] long? ClusterId { get; set; } /// <summary>Name of the cluster created</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the cluster created", SerializedName = @"clusterName", PossibleTypes = new [] { typeof(string) })] string ClusterName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"errorCode", PossibleTypes = new [] { typeof(long) })] long? ErrorCode { get; set; } /// <summary>Response message</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Response message", SerializedName = @"errorMessage", PossibleTypes = new [] { typeof(string) })] string ErrorMessage { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"etcdSubclientResponse", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ICreateEtcdSubclientResp) })] System.Collections.Generic.List<Commvault.Powershell.Models.ICreateEtcdSubclientResp> EtcdSubclientResponse { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"warningCode", PossibleTypes = new [] { typeof(long) })] long? WarningCode { get; set; } /// <summary>Response message</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Response message", SerializedName = @"warningMessage", PossibleTypes = new [] { typeof(string) })] string WarningMessage { get; set; } } internal partial interface ICreateClusterRespInternal { long? ClusterId { get; set; } /// <summary>Name of the cluster created</summary> string ClusterName { get; set; } long? ErrorCode { get; set; } /// <summary>Response message</summary> string ErrorMessage { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.ICreateEtcdSubclientResp> EtcdSubclientResponse { get; set; } long? WarningCode { get; set; } /// <summary>Response message</summary> string WarningMessage { get; set; } } } |