generated/api/Models/ArchivingServicePolicy.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; /// <summary>Create Archiving Service Policy Model for Archive Plan</summary> public partial class ArchivingServicePolicy : Commvault.Powershell.Models.IArchivingServicePolicy, Commvault.Powershell.Models.IArchivingServicePolicyInternal { /// <summary>Backing field for <see cref="PolicyId" /> property.</summary> private string _policyId; /// <summary>Archiving service policy id</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string PolicyId { get => this._policyId; set => this._policyId = value; } /// <summary>Backing field for <see cref="Tags" /> property.</summary> private string _tags; /// <summary>Tag ids</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Tags { get => this._tags; set => this._tags = value; } /// <summary>Creates an new <see cref="ArchivingServicePolicy" /> instance.</summary> public ArchivingServicePolicy() { } } /// Create Archiving Service Policy Model for Archive Plan public partial interface IArchivingServicePolicy : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Archiving service policy id</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Archiving service policy id", SerializedName = @"policyId", PossibleTypes = new [] { typeof(string) })] string PolicyId { get; set; } /// <summary>Tag ids</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Tag ids", SerializedName = @"tags", PossibleTypes = new [] { typeof(string) })] string Tags { get; set; } } /// Create Archiving Service Policy Model for Archive Plan internal partial interface IArchivingServicePolicyInternal { /// <summary>Archiving service policy id</summary> string PolicyId { get; set; } /// <summary>Tag ids</summary> string Tags { get; set; } } } |