# 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Model object.
    #
    #
    class ContainerInfo

      include MsRestAzure

      # @return [DateTime]
      attr_accessor :current_time_stamp

      # @return [DateTime]
      attr_accessor :previous_time_stamp

      # @return [ContainerCpuStatistics]
      attr_accessor :current_cpu_stats

      # @return [ContainerCpuStatistics]
      attr_accessor :previous_cpu_stats

      # @return [ContainerMemoryStatistics]
      attr_accessor :memory_stats

      # @return [String]
      attr_accessor :name

      # @return [String]
      attr_accessor :id

      # @return [ContainerNetworkInterfaceStatistics]
      attr_accessor :eth0


      #
      # Mapper for ContainerInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerInfo',
          type: {
            name: 'Composite',
            class_name: 'ContainerInfo',
            model_properties: {
              current_time_stamp: {
                client_side_validation: true,
                required: false,
                serialized_name: 'currentTimeStamp',
                type: {
                  name: 'DateTime'
                }
              },
              previous_time_stamp: {
                client_side_validation: true,
                required: false,
                serialized_name: 'previousTimeStamp',
                type: {
                  name: 'DateTime'
                }
              },
              current_cpu_stats: {
                client_side_validation: true,
                required: false,
                serialized_name: 'currentCpuStats',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerCpuStatistics'
                }
              },
              previous_cpu_stats: {
                client_side_validation: true,
                required: false,
                serialized_name: 'previousCpuStats',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerCpuStatistics'
                }
              },
              memory_stats: {
                client_side_validation: true,
                required: false,
                serialized_name: 'memoryStats',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerMemoryStatistics'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              eth0: {
                client_side_validation: true,
                required: false,
                serialized_name: 'eth0',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerNetworkInterfaceStatistics'
                }
              }
            }
          }
        }
      end
    end
  end
end
