Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.31 KB

File metadata and controls

31 lines (22 loc) · 1.31 KB

ChunkNeighborsResponse

Response for chunk neighbor traversal. Returns items in the same SectionOrChunkItem discriminated union format used by the document version contents endpoint.

Properties

Name Type Description Notes
items List[SectionContentItemOrChunkContentItem] Ordered siblings: preceding → anchor → succeeding
anchor_index int Index of the anchor chunk in items

Example

from ksapi.models.chunk_neighbors_response import ChunkNeighborsResponse

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

# convert the object into a dict
chunk_neighbors_response_dict = chunk_neighbors_response_instance.to_dict()
# create an instance of ChunkNeighborsResponse from a dict
chunk_neighbors_response_from_dict = ChunkNeighborsResponse.from_dict(chunk_neighbors_response_dict)

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