Files
2025-09-07 00:21:05 +00:00

26 lines
2.1 KiB
Markdown

# ContentsResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_links** | [**FileLinksResponse**](FileLinksResponse.md) | | [optional]
**content** | **String** | `content` is populated when `type` is `file`, otherwise null | [optional]
**downloadUrl** | **String** | DownloadURL is the direct download URL for this file | [optional]
**encoding** | **String** | `encoding` is populated when `type` is `file`, otherwise null | [optional]
**gitUrl** | **String** | GitURL is the Git API URL for this blob or tree | [optional]
**htmlUrl** | **String** | HTMLURL is the web URL for this file or directory | [optional]
**lastAuthorDate** | [**Date**](Date.md) | | [optional]
**lastCommitMessage** | **String** | LastCommitMessage is the message of the last commit that affected this file | [optional]
**lastCommitSha** | **String** | LastCommitSHA is the SHA of the last commit that affected this file | [optional]
**lastCommitterDate** | [**Date**](Date.md) | | [optional]
**lfsOid** | **String** | LfsOid is the Git LFS object ID if this file is stored in LFS | [optional]
**lfsSize** | **Long** | LfsSize is the file size if this file is stored in LFS | [optional]
**name** | **String** | Name is the file or directory name | [optional]
**path** | **String** | Path is the full path to the file or directory | [optional]
**sha** | **String** | SHA is the Git blob or tree SHA | [optional]
**size** | **Long** | Size is the file size in bytes | [optional]
**submoduleGitUrl** | **String** | `submodule_git_url` is populated when `type` is `submodule`, otherwise null | [optional]
**target** | **String** | `target` is populated when `type` is `symlink`, otherwise null | [optional]
**type** | **String** | `type` will be `file`, `dir`, `symlink`, or `submodule` | [optional]
**url** | **String** | URL is the API URL for this file or directory | [optional]