docs: def _from_dict(cls, _dict):
          """Initialize a ClassifyReturn object from a json dictionary."""
          args = {}
          if 'document' in _dict:
              args['document'] = Document._from_dict(_dict.get('document'))
          if 'model_id' in _dict:
              args['model_id'] = _dict.get('model_id')
          if 'model_version' in _dict:
              args['model_version'] = _dict.get('model_version')
          if 'elements' in _dict:
              args['elements'] = [
                  Element._from_dict(x) for x in (_dict.get('elements'))
              ]
          if 'tables' in _dict:
              args['tables'] = [
                  Tables._from_dict(x) for x in (_dict.get('tables'))
              ]
          if 'document_structure' in _dict:
              args['document_structure'] = DocStructure._from_dict(
                  _dict.get('document_structure'))
          if 'parties' in _dict:
              args['parties'] = [
                  Parties._from_dict(x) for x in (_dict.get('parties'))
              ]
          if 'effective_dates' in _dict:
              args['effective_dates'] = [
                  EffectiveDates._from_dict(x)
                  for x in (_dict.get('effective_dates'))
              ]
          if 'contract_amounts' in _dict:
              args['contract_amounts'] = [
                  ContractAmts._from_dict(x)
                  for x in (_dict.get('contract_amounts'))
              ]
          if 'termination_dates' in _dict:
              args['termination_dates'] = [
                  TerminationDates._from_dict(x)
                  for x in (_dict.get('termination_dates'))
              ]
          if 'contract_type' in _dict:
              args['contract_type'] = [
                  ContractType._from_dict(x) for x in (_dict.get('contract_type'))
              ]
          return cls(**args)