# 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_5_0_36 module Models # # Represents the health state of the stateless service instance, which # contains the instance ID and the aggregated health state. # class StatelessServiceInstanceHealthState < ReplicaHealthState include MsRestAzure def initialize @ServiceKind = "Stateless" end attr_accessor :ServiceKind # @return [String] Id of the stateless service instance on the wire this # field is called ReplicaId. attr_accessor :replica_id # # Mapper for StatelessServiceInstanceHealthState class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Stateless', type: { name: 'Composite', class_name: 'StatelessServiceInstanceHealthState', model_properties: { aggregated_health_state: { client_side_validation: true, required: false, serialized_name: 'AggregatedHealthState', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: false, serialized_name: 'PartitionId', type: { name: 'String' } }, ServiceKind: { client_side_validation: true, required: true, serialized_name: 'ServiceKind', type: { name: 'String' } }, replica_id: { client_side_validation: true, required: false, serialized_name: 'ReplicaId', type: { name: 'String' } } } } } end end end end