# frozen_string_literal: false

# ----------------------------------------------------------------------------
#
#     ***     AUTO GENERATED CODE    ***    Type: MMv1     ***
#
# ----------------------------------------------------------------------------
#
#     This file is automatically generated by Magic Modules and manual
#     changes will be clobbered when the file is regenerated.
#
#     Please read more about how to change this file in README.md and
#     CONTRIBUTING.md located at the root of this package.
#
# ----------------------------------------------------------------------------
require 'google/composer/property/projectlocationenvironment_config_software_config_airflow_config_overrides'
require 'google/composer/property/projectlocationenvironment_config_software_config_env_variables'
require 'google/composer/property/projectlocationenvironment_config_software_config_pypi_packages'
module GoogleInSpec
  module Composer
    module Property
      class ProjectLocationEnvironmentConfigSoftwareConfig
        attr_reader :image_version

        attr_reader :airflow_config_overrides

        attr_reader :pypi_packages

        attr_reader :env_variables

        attr_reader :python_version

        attr_reader :scheduler_count

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @image_version = args['imageVersion']
          @airflow_config_overrides = GoogleInSpec::Composer::Property::ProjectLocationEnvironmentConfigSoftwareConfigAirflowConfigOverrides.new(args['airflowConfigOverrides'], to_s)
          @pypi_packages = GoogleInSpec::Composer::Property::ProjectLocationEnvironmentConfigSoftwareConfigPypiPackages.new(args['pypiPackages'], to_s)
          @env_variables = GoogleInSpec::Composer::Property::ProjectLocationEnvironmentConfigSoftwareConfigEnvVariables.new(args['envVariables'], to_s)
          @python_version = args['pythonVersion']
          @scheduler_count = args['schedulerCount']
        end

        def to_s
          "#{@parent_identifier} ProjectLocationEnvironmentConfigSoftwareConfig"
        end
      end
    end
  end
end
