# 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 service configuration
    #
    class ServiceConfiguration

      include MsRestAzure

      # @return [String] The version of the sync service.
      attr_accessor :version

      # @return [Integer] The service type of the server.
      attr_accessor :service_type

      # @return [String] The service account.
      attr_accessor :service_account

      # @return [String] The SQL server information.
      attr_accessor :sql_server

      # @return [String] The SQL version.
      attr_accessor :sql_version

      # @return [String] The SQL edition
      attr_accessor :sql_edition

      # @return [String] The SQL instance details.
      attr_accessor :sql_instance

      # @return [String] The SQL database.
      attr_accessor :sql_database_name

      # @return [Integer] The SQL database size.
      attr_accessor :sql_database_size


      #
      # Mapper for ServiceConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceConfiguration',
          type: {
            name: 'Composite',
            class_name: 'ServiceConfiguration',
            model_properties: {
              version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'version',
                type: {
                  name: 'String'
                }
              },
              service_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'serviceType',
                type: {
                  name: 'Number'
                }
              },
              service_account: {
                client_side_validation: true,
                required: false,
                serialized_name: 'serviceAccount',
                type: {
                  name: 'String'
                }
              },
              sql_server: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlServer',
                type: {
                  name: 'String'
                }
              },
              sql_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlVersion',
                type: {
                  name: 'String'
                }
              },
              sql_edition: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlEdition',
                type: {
                  name: 'String'
                }
              },
              sql_instance: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlInstance',
                type: {
                  name: 'String'
                }
              },
              sql_database_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlDatabaseName',
                type: {
                  name: 'String'
                }
              },
              sql_database_size: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlDatabaseSize',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
