docs: def __deserialize_model(self, data, klass):
          """
          Deserializes list or dict to model.
  
          :param data: dict, list.
          :param klass: class literal.
          :return: model object.
          """
          instance = klass()
  
          if not instance.swagger_types:
              return data
  
          for attr, attr_type in iteritems(instance.swagger_types):
              if data is not None \
                 and instance.attribute_map[attr] in data\
                 and isinstance(data, (list, dict)):
                  value = data[instance.attribute_map[attr]]
                  setattr(instance, '_' + attr, self.__deserialize(value, attr_type))
  
          return instance