docs: def NewFromJSON(data):
          """
          Create a new SharedFile instance from a JSON dict.
  
          Args:
              data (dict): JSON dictionary representing a SharedFile.
  
          Returns:
              A SharedFile instance.
          """
          return SharedFile(
              sharekey=data.get('sharekey', None),
              name=data.get('name', None),
              user=User.NewFromJSON(data.get('user', None)),
              title=data.get('title', None),
              description=data.get('description', None),
              posted_at=data.get('posted_at', None),
              permalink=data.get('permalink', None),
              width=data.get('width', None),
              height=data.get('height', None),
              views=data.get('views', 0),
              likes=data.get('likes', 0),
              saves=data.get('saves', 0),
              comments=data.get('comments', None),
              nsfw=data.get('nsfw', False),
              image_url=data.get('image_url', None),
              source_url=data.get('source_url', None),
              saved=data.get('saved', False),
              liked=data.get('liked', False),
          )