generated/api/Models/CreateCvfss3BucketClone.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;

    /// <summary>CreateCVFSS3BucketClone</summary>
    public partial class CreateCvfss3BucketClone :
        Commvault.Powershell.Models.ICreateCvfss3BucketClone,
        Commvault.Powershell.Models.ICreateCvfss3BucketCloneInternal
    {

        /// <summary>Backing field for <see cref="CopyPrecedence" /> property.</summary>
        private long _copyPrecedence;

        /// <summary>The copy precedence to use for the clone operation</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long CopyPrecedence { get => this._copyPrecedence; set => this._copyPrecedence = value; }

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

        /// <summary>
        /// Clone objects in the bucket created on or after the specified time in unix format.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? FromTime { get => this._fromTime; set => this._fromTime = value; }

        /// <summary>Backing field for <see cref="ReservationTime" /> property.</summary>
        private long _reservationTime;

        /// <summary>
        /// Clone reservation time in seconds. The clone will be automatically deleted after the specified duration.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long ReservationTime { get => this._reservationTime; set => this._reservationTime = value; }

        /// <summary>Backing field for <see cref="ToTime" /> property.</summary>
        private long _toTime;

        /// <summary>
        /// Clone objects in the bucket created on or before the specified time in unix format.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long ToTime { get => this._toTime; set => this._toTime = value; }

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

        }
    }
    /// CreateCVFSS3BucketClone
    public partial interface ICreateCvfss3BucketClone :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>The copy precedence to use for the clone operation</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"The copy precedence to use for the clone operation",
        SerializedName = @"copyPrecedence",
        PossibleTypes = new [] { typeof(long) })]
        long CopyPrecedence { get; set; }
        /// <summary>
        /// Clone objects in the bucket created on or after the specified time in unix format.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Clone objects in the bucket created on or after the specified time in unix format.",
        SerializedName = @"fromTime",
        PossibleTypes = new [] { typeof(long) })]
        long? FromTime { get; set; }
        /// <summary>
        /// Clone reservation time in seconds. The clone will be automatically deleted after the specified duration.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Clone reservation time in seconds. The clone will be automatically deleted after the specified duration.",
        SerializedName = @"reservationTime",
        PossibleTypes = new [] { typeof(long) })]
        long ReservationTime { get; set; }
        /// <summary>
        /// Clone objects in the bucket created on or before the specified time in unix format.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Clone objects in the bucket created on or before the specified time in unix format.",
        SerializedName = @"toTime",
        PossibleTypes = new [] { typeof(long) })]
        long ToTime { get; set; }

    }
    /// CreateCVFSS3BucketClone
    internal partial interface ICreateCvfss3BucketCloneInternal

    {
        /// <summary>The copy precedence to use for the clone operation</summary>
        long CopyPrecedence { get; set; }
        /// <summary>
        /// Clone objects in the bucket created on or after the specified time in unix format.
        /// </summary>
        long? FromTime { get; set; }
        /// <summary>
        /// Clone reservation time in seconds. The clone will be automatically deleted after the specified duration.
        /// </summary>
        long ReservationTime { get; set; }
        /// <summary>
        /// Clone objects in the bucket created on or before the specified time in unix format.
        /// </summary>
        long ToTime { get; set; }

    }
}