If you use the SerializedName annotation, you can set the key received from the server to the property when mapping JSON.
class LoginResponse{
@SerializedName("jwt-auth-token")
public String jwtAuthToken;
}
data class LoginResponse(
@SerializedName("jwt-auth-token")
val jwtAuthToken: String,
)