generated/api/Models/NameMessage.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 NameMessage : Commvault.Powershell.Models.INameMessage, Commvault.Powershell.Models.INameMessageInternal { /// <summary>Backing field for <see cref="Message" /> property.</summary> private string _message; /// <summary>Description of the error</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Message { get => this._message; set => this._message = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of the error</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="NameMessage" /> instance.</summary> public NameMessage() { } } public partial interface INameMessage : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Description of the error</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Description of the error", SerializedName = @"message", PossibleTypes = new [] { typeof(string) })] string Message { get; set; } /// <summary>Name of the error</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the error", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } internal partial interface INameMessageInternal { /// <summary>Description of the error</summary> string Message { get; set; } /// <summary>Name of the error</summary> string Name { get; set; } } } |