# 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::Labservices::Mgmt::V2018_10_15
  module Models
    #
    # Properties for creating a managed lab and a default environment setting
    #
    class CreateLabProperties

      include MsRestAzure

      # @return [EnvironmentSettingCreationParameters] Settings related to
      # creating an environment setting
      attr_accessor :environment_setting_creation_parameters

      # @return [LabCreationParameters] Settings related to creating a lab
      attr_accessor :lab_creation_parameters

      # @return [String] The name of the resource
      attr_accessor :name

      # @return [String] The location of the resource
      attr_accessor :location

      # @return [Hash{String => String}] The tags of the resource.
      attr_accessor :tags


      #
      # Mapper for CreateLabProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CreateLabProperties',
          type: {
            name: 'Composite',
            class_name: 'CreateLabProperties',
            model_properties: {
              environment_setting_creation_parameters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'environmentSettingCreationParameters',
                type: {
                  name: 'Composite',
                  class_name: 'EnvironmentSettingCreationParameters'
                }
              },
              lab_creation_parameters: {
                client_side_validation: true,
                required: true,
                serialized_name: 'labCreationParameters',
                type: {
                  name: 'Composite',
                  class_name: 'LabCreationParameters'
                }
              },
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              location: {
                client_side_validation: true,
                required: false,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
