generated/api/Models/AlertTypeIdName1.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 AlertTypeIdName1 : Commvault.Powershell.Models.IAlertTypeIdName1, Commvault.Powershell.Models.IAlertTypeIdName1Internal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>id of the alert definition</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>type of the alert definitions</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="AlertTypeIdName1" /> instance.</summary> public AlertTypeIdName1() { } } public partial interface IAlertTypeIdName1 : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>id of the alert definition</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"id of the alert definition", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>type of the alert definitions</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"type of the alert definitions", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } internal partial interface IAlertTypeIdName1Internal { /// <summary>id of the alert definition</summary> long? Id { get; set; } /// <summary>type of the alert definitions</summary> string Name { get; set; } } } |