# 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::ADHybridHealthService::Mgmt::V2014_01_01
  module Models
    #
    # The module configuration as required by the Agent service.
    #
    class ModuleConfiguration

      include MsRestAzure

      # @return [String] The name of agent service.
      attr_accessor :agent_service

      # @return [String] The name of the module for which the configuration is
      # applicable.
      attr_accessor :module_name

      # @return [Hash{String => String}] The key value pairs of properties
      # required for configuration.
      attr_accessor :properties


      #
      # Mapper for ModuleConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ModuleConfiguration',
          type: {
            name: 'Composite',
            class_name: 'ModuleConfiguration',
            model_properties: {
              agent_service: {
                client_side_validation: true,
                required: false,
                serialized_name: 'agentService',
                type: {
                  name: 'String'
                }
              },
              module_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'moduleName',
                type: {
                  name: 'String'
                }
              },
              properties: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
