of

fun <R : Resource> of(klass: CPGRequestResource<*>, resource: R): CPGRequestResource<R>


fun <R : Resource> of(resource: R): CPGRequestResource<R>

the resource.meta.profile describes the activity and should be used to create particular cpg request