Set Dynamic SerializedName annotation for Gson data class

The response I’m returning from my api call via Retrofit has a dynamic value for each object. I need to be able to edit value in the @SerializedName annotation with each call.
Here’s the JSON response:

  "data": {
    "/storage/emulated/0/DCIM/Camera/IMG_20190920_110850.jpg": {
      "id": "4f7e74d1-afa8-4924-a8ab-ea9360400b",
      "location": "279dbcd7666b/4f7e74d1-afa8-4924-a8ab-ea9360400b.jpg",
      "bucket": "challenge-submit"

Here’s my data class:

data class UploadLinksResponse(
    val data: UploadData

data class UploadData(
    val media: MediaLink

data class MediaLink(
    val id: String,
    val bucket: String,
    val uploadLocation: String

How can I set the SerializedName, which will be a unique value each time I upload?

You will have to parse it as Map<String,MediaLink> in UploadLinksResponse class