Retrofit an GSON: deserialize a specific object type based on the value of a field

sorry, my English is very poor

I wanted to say if
Could you help me with that?