Sha256: ce06f2119f9902315deb562699b4213c902d4f7c10c9e1be5207e4d6087a421d

Contents?: true

Size: 1.69 KB

Versions: 2

Compression:

Stored size: 1.69 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::V7_0_0_42
  module Models
    #
    # Defines an item in ApplicationHealthPolicyMap.
    #
    class ApplicationHealthPolicyMapItem

      include MsRestAzure

      # @return [String] The key of the application health policy map item.
      # This is the name of the application.
      attr_accessor :key

      # @return [ApplicationHealthPolicy] The value of the application health
      # policy map item. This is the ApplicationHealthPolicy for this
      # application.
      attr_accessor :value


      #
      # Mapper for ApplicationHealthPolicyMapItem class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationHealthPolicyMapItem',
          type: {
            name: 'Composite',
            class_name: 'ApplicationHealthPolicyMapItem',
            model_properties: {
              key: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Key',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Value',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationHealthPolicy'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/application_health_policy_map_item.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/application_health_policy_map_item.rb