Generate an instance variable using the API endpoint return value