# fetch

@Incubating
inline fun <M : Any> BuildController.fetch(modelType: KClass<M>): FetchModelResult<Model, M>(source)
@Incubating
inline fun <T : Model, M : Any> BuildController.fetch(target: T, modelType: KClass<M>): FetchModelResult<T, M>(source)
@Incubating
inline fun <M : Any, P : Any> BuildController.fetch(modelType: KClass<M>, parameterType: KClass<P>, parameterInitializer: Action<in P>): FetchModelResult<Model, M>(source)
@Incubating
inline fun <T : Model, M : Any, P : Any> BuildController.fetch(target: T, modelType: KClass<M>, parameterType: KClass<P>, parameterInitializer: Action<in P>): FetchModelResult<T, M>(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.BuildController.fetch.

#### Since

9.3.0

#### See also

BuildController.fetch