Class: Azure::ServiceFabric::V6_5_0_36::Models::HealthStateCount
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::HealthStateCount
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/health_state_count.rb
Overview
Represents information about how many health entities are in Ok, Warning and Error health state.
Instance Attribute Summary collapse
-
#error_count ⇒ Integer
state Error.
-
#ok_count ⇒ Integer
state Ok.
-
#warning_count ⇒ Integer
state Warning.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for HealthStateCount class as Ruby Hash.
Instance Attribute Details
#error_count ⇒ Integer
state Error.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/health_state_count.rb', line 26 def error_count @error_count end |
#ok_count ⇒ Integer
state Ok.
18 19 20 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/health_state_count.rb', line 18 def ok_count @ok_count end |
#warning_count ⇒ Integer
state Warning.
22 23 24 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/health_state_count.rb', line 22 def warning_count @warning_count end |
Class Method Details
.mapper ⇒ Object
Mapper for HealthStateCount class as Ruby Hash. This will be used for serialization/deserialization.
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 75 76 77 78 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/health_state_count.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HealthStateCount', type: { name: 'Composite', class_name: 'HealthStateCount', model_properties: { ok_count: { client_side_validation: true, required: false, serialized_name: 'OkCount', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } }, warning_count: { client_side_validation: true, required: false, serialized_name: 'WarningCount', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } }, error_count: { client_side_validation: true, required: false, serialized_name: 'ErrorCount', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |