# 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/dataflow/property/projectlocationjob_environment_debug_options_data_sampling'
module GoogleInSpec
  module Dataflow
    module Property
      class ProjectLocationJobEnvironmentDebugOptions
        attr_reader :enable_hot_key_logging

        attr_reader :data_sampling

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @enable_hot_key_logging = args['enableHotKeyLogging']
          @data_sampling = GoogleInSpec::Dataflow::Property::ProjectLocationJobEnvironmentDebugOptionsDataSampling.new(args['dataSampling'], to_s)
        end

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