URN_NBN structure¶
- class cz_urnnbn_api.api_structures.urn_nbn.URN_NBN(value, status=None, country_code=None, registrar_code=None, document_code=None, digital_document_id=None, registered=None)¶
Bases: str
Class used to hold URN:NBN string and also other informations returned from server.
Note
This class subclasses str, so URN:NBN string can be obtained painlessly.
- status¶
str – ACTIVE for example.
- registered¶
str – ISO 8601 date string.
- registrar_code¶
str – Identification of registrar.
- digital_document_id¶
str – ID of the document.
- static from_xmldict(xdom, tag_picker=<function <lambda> at 0x7fe2245be320>)¶
Parse itself from xmldict structure.