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 java.net.URI
downloadUrl()
Content download URLjava.net.URI
gitUrl()
Git blob API URLjava.net.URI
htmlUrl()
Content URLjava.lang.String
name()
Content name.java.lang.String
path()
The content path.java.lang.Integer
size()
Content size in bytesjava.lang.String
type()
Content type.
-
-
-
Method Detail
-
type
@Nullable java.lang.String type()
Content type. E.g file, dir, symlink, submodule
-
size
@Nullable java.lang.Integer size()
Content size in bytes
-
name
@Nullable java.lang.String name()
Content name. E.g. file name
-
path
@Nullable java.lang.String path()
The content path.
-
gitUrl
@Nullable java.net.URI gitUrl()
Git blob API URL
-
htmlUrl
@Nullable java.net.URI htmlUrl()
Content URL
-
downloadUrl
@Nullable java.net.URI downloadUrl()
Content download URL
-
-