# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_3_0_9 module Models # # Identity of the task related to deactivation operation on the node. # class NodeDeactivationTaskId include MsRestAzure # @return [String] Value of the task id. attr_accessor :id # @return [NodeDeactivationTaskType] The type of the task that performed # the node deactivation. Following are the possible values. Possible # values include: 'Invalid', 'Infrastructure', 'Repair', 'Client' attr_accessor :node_deactivation_task_type # # Mapper for NodeDeactivationTaskId class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeDeactivationTaskId', type: { name: 'Composite', class_name: 'NodeDeactivationTaskId', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'Id', type: { name: 'String' } }, node_deactivation_task_type: { client_side_validation: true, required: false, serialized_name: 'NodeDeactivationTaskType', type: { name: 'String' } } } } } end end end end