generated/api/Models/KubernetesAppGroupBrowseNamespaceItem.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>Details for individual namespace item of for Kubernetes Application Group</summary>
    public partial class KubernetesAppGroupBrowseNamespaceItem :
        Commvault.Powershell.Models.IKubernetesAppGroupBrowseNamespaceItem,
        Commvault.Powershell.Models.IKubernetesAppGroupBrowseNamespaceItemInternal
    {

        /// <summary>Backing field for <see cref="ApplicationSize" /> property.</summary>
        private long? _applicationSize;

        /// <summary>Backup size of the Application</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ApplicationSize { get => this._applicationSize; set => this._applicationSize = value; }

        /// <summary>Backing field for <see cref="BackupJob" /> property.</summary>
        private Commvault.Powershell.Models.IJobIdTime _backupJob;

        /// <summary>Job ID and Time</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IJobIdTime BackupJob { get => (this._backupJob = this._backupJob ?? new Commvault.Powershell.Models.JobIdTime()); set => this._backupJob = value; }

        /// <summary>Job ID of the backup job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? BackupJobId { get => ((Commvault.Powershell.Models.IJobIdTimeInternal)BackupJob).JobId; set => ((Commvault.Powershell.Models.IJobIdTimeInternal)BackupJob).JobId = value ?? default(long); }

        /// <summary>Backup job time (in epochs)</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? BackupJobTime { get => ((Commvault.Powershell.Models.IJobIdTimeInternal)BackupJob).Time; set => ((Commvault.Powershell.Models.IJobIdTimeInternal)BackupJob).Time = value ?? default(long); }

        /// <summary>Internal Acessors for BackupJob</summary>
        Commvault.Powershell.Models.IJobIdTime Commvault.Powershell.Models.IKubernetesAppGroupBrowseNamespaceItemInternal.BackupJob { get => (this._backupJob = this._backupJob ?? new Commvault.Powershell.Models.JobIdTime()); set { {_backupJob = value;} } }

        /// <summary>Backing field for <see cref="Guid" /> property.</summary>
        private string _guid;

        /// <summary>GUID of the Application</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Guid { get => this._guid; set => this._guid = value; }

        /// <summary>Backing field for <see cref="Kind" /> property.</summary>
        private string _kind;

        /// <summary>Kubernetes resource Kind of the Application</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Kind { get => this._kind; set => this._kind = value; }

        /// <summary>Backing field for <see cref="ModificationTime" /> property.</summary>
        private long? _modificationTime;

        /// <summary>Modification time of the Application in epochs</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ModificationTime { get => this._modificationTime; set => this._modificationTime = value; }

        /// <summary>Backing field for <see cref="Name" /> property.</summary>
        private string _name;

        /// <summary>Name of the Application</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

        /// <summary>Backing field for <see cref="Path" /> property.</summary>
        private string _path;

        /// <summary>Browse path of the Application</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Path { get => this._path; set => this._path = value; }

        /// <summary>Creates an new <see cref="KubernetesAppGroupBrowseNamespaceItem" /> instance.</summary>
        public KubernetesAppGroupBrowseNamespaceItem()
        {

        }
    }
    /// Details for individual namespace item of for Kubernetes Application Group
    public partial interface IKubernetesAppGroupBrowseNamespaceItem :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Backup size of the Application</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Backup size of the Application",
        SerializedName = @"applicationSize",
        PossibleTypes = new [] { typeof(long) })]
        long? ApplicationSize { get; set; }
        /// <summary>Job ID of the backup job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Job ID of the backup job",
        SerializedName = @"jobId",
        PossibleTypes = new [] { typeof(long) })]
        long? BackupJobId { get; set; }
        /// <summary>Backup job time (in epochs)</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Backup job time (in epochs)",
        SerializedName = @"time",
        PossibleTypes = new [] { typeof(long) })]
        long? BackupJobTime { get; set; }
        /// <summary>GUID of the Application</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"GUID of the Application",
        SerializedName = @"GUID",
        PossibleTypes = new [] { typeof(string) })]
        string Guid { get; set; }
        /// <summary>Kubernetes resource Kind of the Application</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Kubernetes resource Kind of the Application",
        SerializedName = @"kind",
        PossibleTypes = new [] { typeof(string) })]
        string Kind { get; set; }
        /// <summary>Modification time of the Application in epochs</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Modification time of the Application in epochs",
        SerializedName = @"modificationTime",
        PossibleTypes = new [] { typeof(long) })]
        long? ModificationTime { get; set; }
        /// <summary>Name of the Application</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Name of the Application",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>Browse path of the Application</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Browse path of the Application",
        SerializedName = @"path",
        PossibleTypes = new [] { typeof(string) })]
        string Path { get; set; }

    }
    /// Details for individual namespace item of for Kubernetes Application Group
    internal partial interface IKubernetesAppGroupBrowseNamespaceItemInternal

    {
        /// <summary>Backup size of the Application</summary>
        long? ApplicationSize { get; set; }
        /// <summary>Job ID and Time</summary>
        Commvault.Powershell.Models.IJobIdTime BackupJob { get; set; }
        /// <summary>Job ID of the backup job</summary>
        long? BackupJobId { get; set; }
        /// <summary>Backup job time (in epochs)</summary>
        long? BackupJobTime { get; set; }
        /// <summary>GUID of the Application</summary>
        string Guid { get; set; }
        /// <summary>Kubernetes resource Kind of the Application</summary>
        string Kind { get; set; }
        /// <summary>Modification time of the Application in epochs</summary>
        long? ModificationTime { get; set; }
        /// <summary>Name of the Application</summary>
        string Name { get; set; }
        /// <summary>Browse path of the Application</summary>
        string Path { get; set; }

    }
}