generated/api/Models/JobIdTime.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>Job ID and Time</summary>
    public partial class JobIdTime :
        Commvault.Powershell.Models.IJobIdTime,
        Commvault.Powershell.Models.IJobIdTimeInternal
    {

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

        /// <summary>Job ID of the backup job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? JobId { get => this._jobId; set => this._jobId = value; }

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

        /// <summary>Backup job time (in epochs)</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Time { get => this._time; set => this._time = value; }

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

        }
    }
    /// Job ID and Time
    public partial interface IJobIdTime :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <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? JobId { 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? Time { get; set; }

    }
    /// Job ID and Time
    internal partial interface IJobIdTimeInternal

    {
        /// <summary>Job ID of the backup job</summary>
        long? JobId { get; set; }
        /// <summary>Backup job time (in epochs)</summary>
        long? Time { get; set; }

    }
}