﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MigrationActorConfigurationState.cs" company="KlusterKite">
//   All rights reserved
// </copyright>
// <summary>
//   The <see cref="MigrationActor" /> state with no active migration
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace KlusterKite.NodeManager.Client.Messages.Migration
{
    using System.Collections.Generic;

    using KlusterKite.API.Attributes;
    using KlusterKite.NodeManager.Client.MigrationStates;

    /// <summary>
    /// The MigrationActor state with no active migration
    /// </summary>
    [ApiDescription("The MigrationActor state with no active migration", Name = "MigrationActorConfigurationState")] 
    public class MigrationActorConfigurationState
    {
        /// <summary>
        /// Gets or sets the list of template states
        /// </summary>
        [DeclareField("the list of template states")]
        public List<MigratorTemplateConfigurationState> States { get; set; }

        /// <summary>
        /// Gets or sets the list of resources that can be recovered
        /// </summary>
        [DeclareField("the list of resources that can be recovered")]
        public List<ResourceConfigurationState> MigratableResources { get; set; }
    }
}
