# 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_unmanaged_container_model_container_spec'
require 'google/vertexai/property/batchpredictionjob_unmanaged_container_model_container_spec_env'
require 'google/vertexai/property/batchpredictionjob_unmanaged_container_model_container_spec_ports'
require 'google/vertexai/property/batchpredictionjob_unmanaged_container_model_predict_schemata'
module GoogleInSpec
  module VertexAI
    module Property
      class BatchPredictionJobUnmanagedContainerModel
        attr_reader :artifact_uri

        attr_reader :predict_schemata

        attr_reader :container_spec

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @artifact_uri = args['artifactUri']
          @predict_schemata = GoogleInSpec::VertexAI::Property::BatchPredictionJobUnmanagedContainerModelPredictSchemata.new(args['predictSchemata'], to_s)
          @container_spec = GoogleInSpec::VertexAI::Property::BatchPredictionJobUnmanagedContainerModelContainerSpec.new(args['containerSpec'], to_s)
        end

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