Declaration
add_attachment_cid
add_attachment_cid(cid: str) -> Declaration
Appends the CID to the attachment cid list of the declaration.
add_control_cid
add_control_cid(cid: str) -> Declaration
Appends the CID to the control cid list of the declaration.
add_extra
add_extra(key: str, val: str) -> Declaration
Adds or Overwrites the key/value in the extra field of the declaration.
to_dict
to_dict() -> Dict[str, Any]
Convert to dictionary, omitting empty/None values.
to_json
to_json() -> str
Convert to JSON string.