Class: Azure::Automation::Mgmt::V2015_10_31::Models::Statistics

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb

Overview

Definition of the statistic.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#counter_propertyString

Returns Gets the property value of the statistic.

Returns:

  • (String)

    Gets the property value of the statistic.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb', line 16

def counter_property
  @counter_property
end

#counter_valueInteger

Returns Gets the value of the statistic.

Returns:

  • (Integer)

    Gets the value of the statistic.



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb', line 19

def counter_value
  @counter_value
end

#end_timeDateTime

Returns Gets the endTime of the statistic.

Returns:

  • (DateTime)

    Gets the endTime of the statistic.



25
26
27
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb', line 25

def end_time
  @end_time
end

#idString

Returns Gets the id.

Returns:

  • (String)

    Gets the id.



28
29
30
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb', line 28

def id
  @id
end

#start_timeDateTime

Returns Gets the startTime of the statistic.

Returns:

  • (DateTime)

    Gets the startTime of the statistic.



22
23
24
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/statistics.rb', line 22

def start_time
  @start_time
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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