class Azure::Automation::Mgmt::V2015_10_31::Models::Statistics

Definition of the statistic.

Attributes

counter_property[RW]

@return [String] Gets the property value of the statistic.

counter_value[RW]

@return [Integer] Gets the value of the statistic.

end_time[RW]

@return [DateTime] Gets the endTime of the statistic.

id[RW]

@return [String] Gets the id.

start_time[RW]

@return [DateTime] Gets the startTime of the statistic.

Private Class Methods

mapper() click to toggle source

Mapper for Statistics class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Statistics',
    type: {
      name: 'Composite',
      class_name: 'Statistics',
      model_properties: {
        counter_property: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'counterProperty',
          type: {
            name: 'String'
          }
        },
        counter_value: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'counterValue',
          type: {
            name: 'Number'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end