# 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::TimeSeriesInsights::Mgmt::V2017_11_15
  module Models
    #
    # An object that represents the status of the environment, and its internal
    # state in the Time Series Insights service.
    #
    class EnvironmentStatus

      include MsRestAzure

      # @return [IngressEnvironmentStatus] An object that represents the status
      # of ingress on an environment.
      attr_accessor :ingress


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