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 URI
downloadUrl()
Content download URLURI
gitUrl()
Git blob API URLURI
htmlUrl()
Content URLString
name()
Content name.String
path()
The content path.Integer
size()
Content size in bytesString
type()
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
-
-