# 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/dataproc/property/workflowtemplate_gke_cluster_config_node_pool_target_node_pool_config_autoscaling'
require 'google/dataproc/property/workflowtemplate_gke_cluster_config_node_pool_target_node_pool_config_config'
require 'google/dataproc/property/workflowtemplate_gke_cluster_config_node_pool_target_node_pool_config_config_accelerators'
module GoogleInSpec
  module Dataproc
    module Property
      class WorkflowTemplateGkeClusterConfigNodePoolTargetNodePoolConfig
        attr_reader :config

        attr_reader :locations

        attr_reader :autoscaling

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @config = GoogleInSpec::Dataproc::Property::WorkflowTemplateGkeClusterConfigNodePoolTargetNodePoolConfigConfig.new(args['config'], to_s)
          @locations = args['locations']
          @autoscaling = GoogleInSpec::Dataproc::Property::WorkflowTemplateGkeClusterConfigNodePoolTargetNodePoolConfigAutoscaling.new(args['autoscaling'], to_s)
        end

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