Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::QuotaCounterCollection

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb

Overview

Paged Quota Counter list representation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#countInteger

Returns Total record count number across all pages.

Returns:

  • (Integer)

    Total record count number across all pages.



19
20
21
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb', line 19

def count
  @count
end

Returns Next page link if any.

Returns:

  • (String)

    Next page link if any.



22
23
24
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb', line 22

def next_link
  @next_link
end

#valueArray<QuotaCounterContract>

Returns Quota counter values.

Returns:



16
17
18
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb', line 16

def value
  @value
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
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
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'QuotaCounterCollection',
    type: {
      name: 'Composite',
      class_name: 'QuotaCounterCollection',
      model_properties: {
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'QuotaCounterContractElementType',
                type: {
                  name: 'Composite',
                  class_name: 'QuotaCounterContract'
                }
            }
          }
        },
        count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'count',
          type: {
            name: 'Number'
          }
        },
        next_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nextLink',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end