Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.28 KB

File metadata and controls

34 lines (25 loc) · 1.28 KB

CreateChunkRequest

Request to create a new chunk.

Properties

Name Type Description Notes
parent_path_id UUID Parent PathPart ID (must be DOCUMENT_VERSION or SECTION)
content str Chunk text content
chunk_type ChunkType
chunk_metadata ChunkMetadataInput
prev_sibling_path_id UUID PathPart ID to insert after (null = append to tail) [optional]

Example

from ksapi.models.create_chunk_request import CreateChunkRequest

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

# convert the object into a dict
create_chunk_request_dict = create_chunk_request_instance.to_dict()
# create an instance of CreateChunkRequest from a dict
create_chunk_request_from_dict = CreateChunkRequest.from_dict(create_chunk_request_dict)

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