# getModel

inline fun <T : Any> ProjectConnection. getModel(modelType: KClass<T>): T(source)
inline fun <T : Any> ProjectConnection. getModel(modelType: KClass<T>): T(source)
inline fun <T : Any> ProjectConnection. getModel(modelType: KClass<T>, handler: ResultHandler<in T>)(source)
inline fun <T : Any> ProjectConnection. getModel(modelType: KClass<T>, handler: ResultHandler<in T>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.tooling.ProjectConnection.getModel.

#### Since

1.0-milestone-3

#### See also

org.gradle.tooling.ProjectConnection.getModel

inline fun <T : Any> BuildController. getModel(modelType: KClass<T>): T(source)
inline fun <T : Any> BuildController. getModel(modelType: KClass<T>): T(source)
inline fun <T : Any> BuildController. getModel(target: Model, modelType: KClass<T>): T(source)
inline fun <T : Any> BuildController. getModel(target: Model, modelType: KClass<T>): T(source)

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

#### Since

1.8

#### See also

org.gradle.tooling.BuildController.getModel

inline fun <T : Any, P : Any> BuildController. getModel(modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
inline fun <T : Any, P : Any> BuildController. getModel(modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
inline fun <T : Any, P : Any> BuildController. getModel(target: Model, modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)
inline fun <T : Any, P : Any> BuildController. getModel(target: Model, modelType: KClass<T>, parameterType: KClass<P>, parameterInitializer: Action<in P>): T(source)

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

#### Since

4.4

#### See also

org.gradle.tooling.BuildController.getModel