# 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/vertexai/property/endpoint_dmespxasgcfn_sigma'
require 'google/vertexai/property/endpoint_dmespxasgcfnsn_sigma'
module GoogleInSpec
  module VertexAI
    module Property
      class EndpointDeployedModelsExplanationSpecParametersXraiAttributionSmoothGradConfig
        attr_reader :feature_noise_sigma

        attr_reader :noise_sigma

        attr_reader :noisy_sample_count

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @feature_noise_sigma = GoogleInSpec::VertexAI::Property::EndpointDeployedModelsExplanationSpecParametersXraiAttributionSmoothGradConfigFeatureNoiseSigma.new(args['featureNoiseSigma'], to_s)
          @noise_sigma = args['noiseSigma']
          @noisy_sample_count = args['noisySampleCount']
        end

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