generated/api/Models/PlanBackupDestinationBasicResp.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415) // 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 PlanBackupDestinationBasicResp : Commvault.Powershell.Models.IPlanBackupDestinationBasicResp, Commvault.Powershell.Models.IPlanBackupDestinationBasicRespInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>Id of the backup destination affected or created</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="IsDefault" /> property.</summary> private bool? _isDefault; /// <summary>Tells if this is the default (primary) backup destination</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsDefault { get => this._isDefault; set => this._isDefault = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of the backup destination affected or created</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="PlanBackupDestinationBasicResp" /> instance.</summary> public PlanBackupDestinationBasicResp() { } } public partial interface IPlanBackupDestinationBasicResp : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Id of the backup destination affected or created</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the backup destination affected or created", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Tells if this is the default (primary) backup destination</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Tells if this is the default (primary) backup destination", SerializedName = @"isDefault", PossibleTypes = new [] { typeof(bool) })] bool? IsDefault { get; set; } /// <summary>Name of the backup destination affected or created</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of the backup destination affected or created", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } internal partial interface IPlanBackupDestinationBasicRespInternal { /// <summary>Id of the backup destination affected or created</summary> long? Id { get; set; } /// <summary>Tells if this is the default (primary) backup destination</summary> bool? IsDefault { get; set; } /// <summary>Name of the backup destination affected or created</summary> string Name { get; set; } } } |