// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
    using Microsoft.Azure;
    using Microsoft.Azure.Management;
    using Microsoft.Azure.Management.RecoveryServices;
    using Microsoft.Azure.Management.RecoveryServices.SiteRecovery;
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// Recovery plan InMage failover input.
    /// </summary>
    [Newtonsoft.Json.JsonObject("InMage")]
    public partial class RecoveryPlanInMageFailoverInput : RecoveryPlanProviderSpecificFailoverInput
    {
        /// <summary>
        /// Initializes a new instance of the RecoveryPlanInMageFailoverInput
        /// class.
        /// </summary>
        public RecoveryPlanInMageFailoverInput()
        {
          CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the RecoveryPlanInMageFailoverInput
        /// class.
        /// </summary>
        /// <param name="recoveryPointType">The recovery point type. Possible
        /// values include: 'LatestTime', 'LatestTag', 'Custom'</param>
        public RecoveryPlanInMageFailoverInput(RpInMageRecoveryPointType recoveryPointType)
        {
            RecoveryPointType = recoveryPointType;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets the recovery point type. Possible values include:
        /// 'LatestTime', 'LatestTag', 'Custom'
        /// </summary>
        [JsonProperty(PropertyName = "recoveryPointType")]
        public RpInMageRecoveryPointType RecoveryPointType { get; set; }

        /// <summary>
        /// Validate the object.
        /// </summary>
        /// <exception cref="Rest.ValidationException">
        /// Thrown if validation fails
        /// </exception>
        public virtual void Validate()
        {
        }
    }
}
