generated/api/Models/GenericResp.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 GenericResp : Commvault.Powershell.Models.IGenericResp, Commvault.Powershell.Models.IGenericRespInternal { /// <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; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ErrorMessage { get => this._errorMessage; set => this._errorMessage = value; } /// <summary>Creates an new <see cref="GenericResp" /> instance.</summary> public GenericResp() { } } public partial interface IGenericResp : Commvault.Powershell.Runtime.IJsonSerializable { [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; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"errorMessage", PossibleTypes = new [] { typeof(string) })] string ErrorMessage { get; set; } } internal partial interface IGenericRespInternal { long? ErrorCode { get; set; } string ErrorMessage { get; set; } } } |