code: def interface_type(self):
          
          return self.visalib.parse_resource(self._resource_manager.session,
                                             self.resource_name)[0].interface_type
docs: The interface type of the resource as a number.