generated/api/Models/AlertDefinitionsCreateAlertType.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/powershell@3.0.494) // 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>AlertDefinitionsCreateAlertType</summary> public partial class AlertDefinitionsCreateAlertType : Commvault.Powershell.Models.IAlertDefinitionsCreateAlertType, Commvault.Powershell.Models.IAlertDefinitionsCreateAlertTypeInternal { /// <summary>Backing field for <see cref="Category" /> property.</summary> private string _category; /// <summary>Defines the category of the alert</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Category { get => this._category; set => this._category = value; } /// <summary>Backing field for <see cref="Criteria" /> property.</summary> private string _criteria; /// <summary>Defines the criteria of the alert</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Criteria { get => this._criteria; set => this._criteria = value; } /// <summary>Backing field for <see cref="ParamsList" /> property.</summary> private Commvault.Powershell.Models.IAlertDefinitionsCriteriaParams[] _paramsList; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.IAlertDefinitionsCriteriaParams[] ParamsList { get => this._paramsList; set => this._paramsList = value; } /// <summary>Creates an new <see cref="AlertDefinitionsCreateAlertType" /> instance.</summary> public AlertDefinitionsCreateAlertType() { } } /// AlertDefinitionsCreateAlertType public partial interface IAlertDefinitionsCreateAlertType : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Defines the category of the alert</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Defines the category of the alert", SerializedName = @"category", PossibleTypes = new [] { typeof(string) })] string Category { get; set; } /// <summary>Defines the criteria of the alert</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Defines the criteria of the alert", SerializedName = @"criteria", PossibleTypes = new [] { typeof(string) })] string Criteria { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"paramsList", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IAlertDefinitionsCriteriaParams) })] Commvault.Powershell.Models.IAlertDefinitionsCriteriaParams[] ParamsList { get; set; } } /// AlertDefinitionsCreateAlertType internal partial interface IAlertDefinitionsCreateAlertTypeInternal { /// <summary>Defines the category of the alert</summary> string Category { get; set; } /// <summary>Defines the criteria of the alert</summary> string Criteria { get; set; } Commvault.Powershell.Models.IAlertDefinitionsCriteriaParams[] ParamsList { get; set; } } } |