ConnectionItem
¶
Source code in docs_src/capo_assurance/types/connection_item.py
id
instance-attribute
¶
id: ConnectionItemId
The identifier of the item. To list the contents of the item, pass this value as parentId. This doesn't apply to a FILE.
kind
instance-attribute
¶
kind: ConnectionItemKind
The type of item. Valid values:
-
FILE– A document that you can link as evidence. -
FOLDER– A folder that contains other items. -
LIBRARY– A SharePoint document library. -
REPOSITORY– A GitHub repository. -
SITE– A SharePoint site.
size_bytes
instance-attribute
¶
size_bytes: NotRequired[int]
The size of the item in bytes. This field is present for a FILE.
updated_at
instance-attribute
¶
updated_at: NotRequired[datetime]
The time when the provider last recorded a change to the item. This field is present for a FILE.
url
instance-attribute
¶
url: NotRequired[ConnectionItemUrl]
The URL of the item. This field is present for a FILE. To add the file as evidence, pass this value as reference to PutEvidence.