class Azure::ServiceFabric::V6_4_0_36::Models::SafetyCheck

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.

Attributes

Kind[RW]

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.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
new() click to toggle source
# File lib/6.4.0.36/generated/azure_service_fabric/models/safety_check.rb, line 27
def initialize
  @Kind = "SafetyCheck"
end