# 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/batchpredictionjob_explanation_spec_metadata_inputs'
require 'google/vertexai/property/batchpredictionjob_explanation_spec_metadata_outputs'
module GoogleInSpec
  module VertexAI
    module Property
      class BatchPredictionJobExplanationSpecMetadata
        attr_reader :feature_attributions_schema_uri

        attr_reader :latent_space_source

        attr_reader :outputs

        attr_reader :inputs

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @feature_attributions_schema_uri = args['featureAttributionsSchemaUri']
          @latent_space_source = args['latentSpaceSource']
          @outputs = GoogleInSpec::VertexAI::Property::BatchPredictionJobExplanationSpecMetadataOutputs.new(args['outputs'], to_s)
          @inputs = GoogleInSpec::VertexAI::Property::BatchPredictionJobExplanationSpecMetadataInputs.new(args['inputs'], to_s)
        end

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