generated/api/Models/ServerPlanBackupRequest.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>Server plan immediate backup request</summary>
    public partial class ServerPlanBackupRequest :
        Commvault.Powershell.Models.IServerPlanBackupRequest,
        Commvault.Powershell.Models.IServerPlanBackupRequestInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? PolicyId { get => this._policyId; set => this._policyId = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ScheduleId { get => this._scheduleId; set => this._scheduleId = value; }

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

        }
    }
    /// Server plan immediate backup request
    public partial interface IServerPlanBackupRequest :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"policyId",
        PossibleTypes = new [] { typeof(long) })]
        long? PolicyId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"scheduleId",
        PossibleTypes = new [] { typeof(long) })]
        long? ScheduleId { get; set; }

    }
    /// Server plan immediate backup request
    internal partial interface IServerPlanBackupRequestInternal

    {
        long? PolicyId { get; set; }

        long? ScheduleId { get; set; }

    }
}