# 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_4_0_36 module Models # # Chaos Move Primary Fault Scheduled event. # class ChaosPartitionPrimaryMoveScheduledEvent < PartitionEvent include MsRestAzure def initialize @Kind = "ChaosPartitionPrimaryMoveScheduled" end attr_accessor :Kind # @return Id of fault group. attr_accessor :fault_group_id # @return Id of fault. attr_accessor :fault_id # @return [String] Service name. attr_accessor :service_name # @return [String] The name of a Service Fabric node. attr_accessor :node_to # @return [Boolean] Indicates a forced move. attr_accessor :forced_move # # Mapper for ChaosPartitionPrimaryMoveScheduledEvent class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ChaosPartitionPrimaryMoveScheduled', type: { name: 'Composite', class_name: 'ChaosPartitionPrimaryMoveScheduledEvent', model_properties: { event_instance_id: { client_side_validation: true, required: true, serialized_name: 'EventInstanceId', type: { name: 'String' } }, category: { client_side_validation: true, required: false, serialized_name: 'Category', type: { name: 'String' } }, time_stamp: { client_side_validation: true, required: true, serialized_name: 'TimeStamp', type: { name: 'DateTime' } }, has_correlated_events: { client_side_validation: true, required: false, serialized_name: 'HasCorrelatedEvents', type: { name: 'Boolean' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: true, serialized_name: 'PartitionId', type: { name: 'String' } }, fault_group_id: { client_side_validation: true, required: true, serialized_name: 'FaultGroupId', type: { name: 'String' } }, fault_id: { client_side_validation: true, required: true, serialized_name: 'FaultId', type: { name: 'String' } }, service_name: { client_side_validation: true, required: true, serialized_name: 'ServiceName', type: { name: 'String' } }, node_to: { client_side_validation: true, required: true, serialized_name: 'NodeTo', type: { name: 'String' } }, forced_move: { client_side_validation: true, required: true, serialized_name: 'ForcedMove', type: { name: 'Boolean' } } } } } end end end end