retrofit read value from headers 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