I'm looking at this Kotlin object declaration:

```
object A : B({
    variableName1 = "text1"
    variableName2 = "text2"

    params {
        param("Foo", "Bar")
    }
})

```

And I cannot figure out what the argument to class B's constructor is.

I have purposefully abstracted away information in this example but class B is actually

```
jetbrains.buildServer.configs.kotlin.v10.BuildType

```

And I cannot find the documentation for the type. [I have found something that was close](http://javadoc.jetbrains.net/teamcity/openapi/10.0/) but it's a definition for an interface and thus doesn't have a constructor. 

To summarise, what is this the following construct in Kotlin?

```
{
    variableName1 = "text1"
    variableName2 = "text2"

    params {
        param("Foo", "Bar")
    }
}

```