Sha256: d29b8addadd7656facb2ecf51d8f6a3ebe0c646adf68f5b8eb5181ca60184415

Contents?: true

Size: 1.95 KB

Versions: 6

Compression:

Stored size: 1.95 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::Mgmt::V2016_09_01
  module Models
    #
    # ServiceFabric section settings
    #
    class SettingsSectionDescription

      include MsRestAzure

      # @return [String] The name of settings section
      attr_accessor :name

      # @return [Array<SettingsParameterDescription>] Collection of settings in
      # the section, each setting is a tuple consisting of setting name and
      # value
      attr_accessor :parameters


      #
      # Mapper for SettingsSectionDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SettingsSectionDescription',
          type: {
            name: 'Composite',
            class_name: 'SettingsSectionDescription',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                client_side_validation: true,
                required: true,
                serialized_name: 'parameters',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SettingsParameterDescriptionElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SettingsParameterDescription'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_service_fabric-0.17.3 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb
azure_mgmt_service_fabric-0.17.2 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb
azure_mgmt_service_fabric-0.17.1 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb
azure_mgmt_service_fabric-0.17.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb
azure_mgmt_service_fabric-0.16.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb
azure_mgmt_service_fabric-0.15.2 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb