2.2 KiB
2.2 KiB
ContentsResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| _links | Option<models::FileLinksResponse> | [optional] | |
| content | Option<String> | content is populated when type is file, otherwise null |
[optional] |
| download_url | Option<String> | DownloadURL is the direct download URL for this file | [optional] |
| encoding | Option<String> | encoding is populated when type is file, otherwise null |
[optional] |
| git_url | Option<String> | GitURL is the Git API URL for this blob or tree | [optional] |
| html_url | Option<String> | HTMLURL is the web URL for this file or directory | [optional] |
| last_author_date | Option<String> | [optional] | |
| last_commit_message | Option<String> | LastCommitMessage is the message of the last commit that affected this file | [optional] |
| last_commit_sha | Option<String> | LastCommitSHA is the SHA of the last commit that affected this file | [optional] |
| last_committer_date | Option<String> | [optional] | |
| lfs_oid | Option<String> | LfsOid is the Git LFS object ID if this file is stored in LFS | [optional] |
| lfs_size | Option<i64> | LfsSize is the file size if this file is stored in LFS | [optional] |
| name | Option<String> | Name is the file or directory name | [optional] |
| path | Option<String> | Path is the full path to the file or directory | [optional] |
| sha | Option<String> | SHA is the Git blob or tree SHA | [optional] |
| size | Option<i64> | Size is the file size in bytes | [optional] |
| submodule_git_url | Option<String> | submodule_git_url is populated when type is submodule, otherwise null |
[optional] |
| target | Option<String> | target is populated when type is symlink, otherwise null |
[optional] |
| r#type | Option<String> | type will be file, dir, symlink, or submodule |
[optional] |
| url | Option<String> | URL is the API URL for this file or directory | [optional] |