Sha256: 46942d1ab69dd9731bd158419440afb3df3543cf8bea1d9c1f963d5979aab18f

Contents?: true

Size: 1.61 KB

Versions: 5

Compression:

Stored size: 1.61 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_3_0_9
  module Models
    #
    # A wrapper for the safety check object. Safety checks are performed by
    # service fabric before continuing with the operations. These checks ensure
    # the availability of the service and the reliability of the state.
    #
    class SafetyCheckWrapper

      include MsRestAzure

      # @return [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.
      attr_accessor :safety_check


      #
      # Mapper for SafetyCheckWrapper class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SafetyCheckWrapper',
          type: {
            name: 'Composite',
            class_name: 'SafetyCheckWrapper',
            model_properties: {
              safety_check: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SafetyCheck',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'Kind',
                  uber_parent: 'SafetyCheck',
                  class_name: 'SafetyCheck'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.3.0.9/generated/azure_service_fabric/models/safety_check_wrapper.rb
azure_service_fabric-0.18.0 lib/6.3.0.9/generated/azure_service_fabric/models/safety_check_wrapper.rb
azure_service_fabric-0.17.2 lib/6.3.0.9/generated/azure_service_fabric/models/safety_check_wrapper.rb
azure_service_fabric-0.17.1 lib/6.3.0.9/generated/azure_service_fabric/models/safety_check_wrapper.rb
azure_service_fabric-0.17.0 lib/6.3.0.9/generated/azure_service_fabric/models/safety_check_wrapper.rb