code: def bvlpdu_contents(self, use_dict=None, as_class=dict):
          
          # make/extend the dictionary of content
          if use_dict is None:
              use_dict = as_class()
  
          # save the content
          use_dict.__setitem__('address', str(self.fdAddress))
          use_dict.__setitem__('ttl', self.fdTTL)
          use_dict.__setitem__('remaining', self.fdRemain)
  
          # return what we built/updated
          return use_dict
docs: Return the contents of an object as a dict.