# 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.
#
# ----------------------------------------------------------------------------
module GoogleInSpec
  module Compute
    module Property
      class MachineImageInstancePropertiesAdvancedMachineFeatures
        attr_reader :enable_nested_virtualization

        attr_reader :threads_per_core

        attr_reader :visible_core_count

        attr_reader :enable_uefi_networking

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @enable_nested_virtualization = args['enableNestedVirtualization']
          @threads_per_core = args['threadsPerCore']
          @visible_core_count = args['visibleCoreCount']
          @enable_uefi_networking = args['enableUefiNetworking']
        end

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