Retrofit Read Value dos cabeçalhos Kotlin Site: Stackoverflow.com
val responseData = response.body().data
//now you can get any values inside the data object as like below
val header = responseData?.header
val attributeName = header?.attributeName
Serial Koder