Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.87 KB

File metadata and controls

36 lines (27 loc) · 1.87 KB

WebPageImportRequest

The Web Page Import request

Properties

Name Type Description Notes
embedding EmbeddingRequest [optional]
fetch_options WebPageImportFetchOptions [optional]
id str The Web Page id (or iri) in Graph when available. [optional]
id_generator str The entity id generator, by default uses the web page path. [optional] [default to 'default']
output_types List[str] The type of the generated entities, by default `http://schema.org/WebPage`. [optional] [default to ["http://schema.org/WebPage"]]
url str The Web Page url to import
write_strategy str The strategy used to write to the Graph: `createOrUpdateModel` (default) will replace existing entities; `patchReplaceModel` will replace the `type`, `headline`, `abstract` and `text` properties. [optional] [default to 'createOrUpdateModel']

Example

from wordlift_client.models.web_page_import_request import WebPageImportRequest

# TODO update the JSON string below
json = "{}"
# create an instance of WebPageImportRequest from a JSON string
web_page_import_request_instance = WebPageImportRequest.from_json(json)
# print the JSON string representation of the object
print(WebPageImportRequest.to_json())

# convert the object into a dict
web_page_import_request_dict = web_page_import_request_instance.to_dict()
# create an instance of WebPageImportRequest from a dict
web_page_import_request_from_dict = WebPageImportRequest.from_dict(web_page_import_request_dict)

[Back to Model list] [Back to API list] [Back to README]