def __init__(self, id, name, url, date, sensor='', location='', image_nb=0, size='0 MB', thumbnail='', altitude_in_m=0, resolution_in_cm=0, area_in_ha=0, drone_platform=''):
    if (type(id) != int):
        raise TypeError(('id must be an int, not a ' + str(type(id))))
    self.id = id
    if (type(image_nb) != int):
        raise TypeError(('image_nb must be an int, not a ' + str(type(image_nb))))
    self.image_nb = image_nb
    self.date = date
    try:
        self.date_obj = _rfc_date_str_to_datetime_object(self.date)
    except:
        raise TypeError(('date must respect the format                          YYYY-MM-DDTHH:MM:SS.sssZ, received : ' + date))
    self.name = name
    self.drone_platform = drone_platform
    self.sensor = sensor
    self.location = location
    self.date_str = _datetime_object_to_short_date_str(self.date_obj)
    self.size = size
    self.thumbnail = thumbnail
    self.altitude_in_m = altitude_in_m
    self.resolution_in_cm = resolution_in_cm
    self.area_in_ha = area_in_ha
def __init__(self, id, name, url, date, sensor=, location=, image_nb=0, size='0 MB', thumbnail=, altitude_in_m=0, resolution_in_cm=0, area_in_ha=0, drone_platform=):
    if (type(id) != int):
        raise TypeError(('id must be an int, not a ' + str(type(id))))
    self.id = id
    if (type(image_nb) != int):
        raise TypeError(('image_nb must be an int, not a ' + str(type(image_nb))))
    self.image_nb = image_nb
    self.date = date
    try:
        self.date_obj = _rfc_date_str_to_datetime_object(self.date)
    except:
        raise TypeError(('date must respect the format                          YYYY-MM-DDTHH:MM:SS.sssZ, received : ' + date))
    self.name = name
    self.drone_platform = drone_platform
    self.sensor = sensor
    self.location = location
    self.date_str = _datetime_object_to_short_date_str(self.date_obj)
    self.size = size
    self.thumbnail = thumbnail
    self.altitude_in_m = altitude_in_m
    self.resolution_in_cm = resolution_in_cm
    self.area_in_ha = area_in_ha