Class: Azure::ServiceFabric::V6_5_0_36::Models::SafetyCheck
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::SafetyCheck
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/safety_check.rb
Overview
Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SafetyCheck class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SafetyCheck
constructor
A new instance of SafetyCheck.
Constructor Details
#initialize ⇒ SafetyCheck
Returns a new instance of SafetyCheck.
27 28 29 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/safety_check.rb', line 27 def initialize @Kind = "SafetyCheck" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
31 32 33 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/safety_check.rb', line 31 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for SafetyCheck class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/safety_check.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SafetyCheck', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'SafetyCheck', class_name: 'SafetyCheck', model_properties: { } } } end |