docs: def from_array(array):
          """
          Deserialize a new PassportElementErrorUnspecified from a given dictionary.
  
          :return: new PassportElementErrorUnspecified instance.
          :rtype: PassportElementErrorUnspecified
          """
          if array is None or not array:
              return None
          # end if
          assert_type_or_raise(array, dict, parameter_name="array")
  
          data = {}
          data['source'] = u(array.get('source'))
          data['type'] = u(array.get('type'))
          data['element_hash'] = u(array.get('element_hash'))
          data['message'] = u(array.get('message'))
  
          instance = PassportElementErrorUnspecified(**data)
          instance._raw = array
          return instance