Package com.spotify.github.v3.repos
Interface FolderContent
-
- All Superinterfaces:
ShaLink
- All Known Subinterfaces:
Content
- All Known Implementing Classes:
ImmutableContent,ImmutableFolderContent
@Immutable public interface FolderContent extends ShaLink
Repository file content resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIdownloadUrl()Content download URLURIgitUrl()Git blob API URLURIhtmlUrl()Content URLStringname()Content name.Stringpath()The content path.Integersize()Content size in bytesStringtype()Content type.
-
-
-
Method Detail
-
type
@Nullable String type()
Content type. E.g file, dir, symlink, submodule
-
size
@Nullable Integer size()
Content size in bytes
-
name
@Nullable String name()
Content name. E.g. file name
-
path
@Nullable String path()
The content path.
-
gitUrl
@Nullable URI gitUrl()
Git blob API URL
-
htmlUrl
@Nullable URI htmlUrl()
Content URL
-
downloadUrl
@Nullable URI downloadUrl()
Content download URL
-
-