def __init__(self, data) -> None:
    self.id = data['id']
    self.name = data['name']
    self.type = data['type']
    if data.get('image_url'):
        self.image_url = data['image_url']
    if data.get('svg_image_url'):
        self.svg_image_url = data['svg_image_url']
def __init__(self, data) -> None:
    self.id = data['id']
    self.name = data['name']
    self.type = data['type']
    if data.get('image_url'):
        self.image_url = data['image_url']
    if data.get('svg_image_url'):
        self.svg_image_url = data['svg_image_url']