[api] have a subclass for each request type

This is just a rename of the column name, but this allows in the future
to have functions overload per type