# 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_2_0_9
  module Models
    #
    # Represents health state count for entities of the specified entity kind.
    #
    class EntityKindHealthStateCount

      include MsRestAzure

      # @return [EntityKind] The entity kind for which health states are
      # evaluated. Possible values include: 'Invalid', 'Node', 'Partition',
      # 'Service', 'Application', 'Replica', 'DeployedApplication',
      # 'DeployedServicePackage', 'Cluster'
      attr_accessor :entity_kind

      # @return [HealthStateCount] The health state count for the entities of
      # the specified kind.
      attr_accessor :health_state_count


      #
      # Mapper for EntityKindHealthStateCount class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EntityKindHealthStateCount',
          type: {
            name: 'Composite',
            class_name: 'EntityKindHealthStateCount',
            model_properties: {
              entity_kind: {
                client_side_validation: true,
                required: false,
                serialized_name: 'EntityKind',
                type: {
                  name: 'String'
                }
              },
              health_state_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthStateCount',
                type: {
                  name: 'Composite',
                  class_name: 'HealthStateCount'
                }
              }
            }
          }
        }
      end
    end
  end
end
