# 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 ContainerCpuStatistics include MsRestAzure # @return [ContainerCpuUsage] attr_accessor :cpu_usage # @return [Integer] attr_accessor :system_cpu_usage # @return [Integer] attr_accessor :online_cpu_count # @return [ContainerThrottlingData] attr_accessor :throttling_data # # Mapper for ContainerCpuStatistics class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerCpuStatistics', type: { name: 'Composite', class_name: 'ContainerCpuStatistics', model_properties: { cpu_usage: { client_side_validation: true, required: false, serialized_name: 'cpuUsage', type: { name: 'Composite', class_name: 'ContainerCpuUsage' } }, system_cpu_usage: { client_side_validation: true, required: false, serialized_name: 'systemCpuUsage', type: { name: 'Number' } }, online_cpu_count: { client_side_validation: true, required: false, serialized_name: 'onlineCpuCount', type: { name: 'Number' } }, throttling_data: { client_side_validation: true, required: false, serialized_name: 'throttlingData', type: { name: 'Composite', class_name: 'ContainerThrottlingData' } } } } } end end end end