# 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
[docs]class NodeResult(Model):
"""Contains information about a node that was targeted by a user-induced
operation.
:param node_name: The name of a Service Fabric node.
:type node_name: str
:param node_instance_id: The node instance id.
:type node_instance_id: str
"""
_attribute_map = {
'node_name': {'key': 'NodeName', 'type': 'str'},
'node_instance_id': {'key': 'NodeInstanceId', 'type': 'str'},
}
def __init__(self, *, node_name: str=None, node_instance_id: str=None, **kwargs) -> None:
super(NodeResult, self).__init__(**kwargs)
self.node_name = node_name
self.node_instance_id = node_instance_id