Class: Azure::ServiceBus::Mgmt::V2015_08_01::Models::MessageCountDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb

Overview

Message Count Details.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#active_message_countInteger

subscription.



17
18
19
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb', line 17

def active_message_count
  @active_message_count
end

#dead_letter_message_countInteger



20
21
22
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb', line 20

def dead_letter_message_count
  @dead_letter_message_count
end

#scheduled_message_countInteger



23
24
25
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb', line 23

def scheduled_message_count
  @scheduled_message_count
end

#transfer_dead_letter_message_countInteger



26
27
28
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb', line 26

def transfer_dead_letter_message_count
  @transfer_dead_letter_message_count
end

#transfer_message_countInteger

topic, or subscription.



30
31
32
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb', line 30

def transfer_message_count
  @transfer_message_count
end

Class Method Details

.mapperObject

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



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
93
94
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MessageCountDetails',
    type: {
      name: 'Composite',
      class_name: 'MessageCountDetails',
      model_properties: {
        active_message_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'activeMessageCount',
          type: {
            name: 'Number'
          }
        },
        dead_letter_message_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deadLetterMessageCount',
          type: {
            name: 'Number'
          }
        },
        scheduled_message_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'scheduledMessageCount',
          type: {
            name: 'Number'
          }
        },
        transfer_dead_letter_message_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'transferDeadLetterMessageCount',
          type: {
            name: 'Number'
          }
        },
        transfer_message_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'transferMessageCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end