# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class NodeDeactivationTask(Model):
    """The task representing the deactivation operation on the node.

    :param node_deactivation_task_id:
    :type node_deactivation_task_id: :class:`NodeDeactivationTaskId
     <azure.servicefabric.models.NodeDeactivationTaskId>`
    :param node_deactivation_intent: Possible values include: 'Invalid',
     'Pause', 'Restart', 'RemoveData', 'RemoveNode'
    :type node_deactivation_intent: str or :class:`enum
     <azure.servicefabric.models.enum>`
    """

    _attribute_map = {
        'node_deactivation_task_id': {'key': 'NodeDeactivationTaskId', 'type': 'NodeDeactivationTaskId'},
        'node_deactivation_intent': {'key': 'NodeDeactivationIntent', 'type': 'str'},
    }

    def __init__(self, node_deactivation_task_id=None, node_deactivation_intent=None):
        self.node_deactivation_task_id = node_deactivation_task_id
        self.node_deactivation_intent = node_deactivation_intent
