original_docstring: Generate a dict for this object's attributes.
  
          :return: A dict representing an :class:`Asset`
          
docstring: Generate a dict for this object's attributes.
docstring_tokens: Generate a dict for this object ' s attributes .
code: def to_dict(self) -> dict:
          """Generate a dict for this object's attributes.
  
          :return: A dict representing an :class:`Asset`
          """
          rv: Dict[str, Optional[str]] = {"type": self.type}
          if not self.is_native():
              rv["code"] = self.code
              rv["issuer"] = self.issuer
          return rv
code_tokens: def to_dict ( self ) -> dict : rv : Dict [ str , Optional [ str ] ] = { "type" : self . type } if not self . is_native ( ) : rv [ "code" ] = self . code rv [ "issuer" ] = self . issuer return rv
short_docstring: Generate a dict for this object's attributes.
short_docstring_tokens: Generate a dict for this object ' s attributes .
comment: """Generate a dict for this object's attributes.
  
          :return: A dict representing an :class:`Asset`
          """