When we connect our apple devices via usb, we get the model number, not other basic details such as generation, storage, color etc. I made this small utility that will get you all required basic details for apple devices.