Resource

@Serializable
@SerialName(value = "resource")
data class Resource(val uri: String) : GrantTarget

One resource by IRI. A container (an IRI ending in /) covers its whole subtree; any other resource covers itself only.

Constructors

Link copied to clipboard
constructor(uri: String)

Properties

Link copied to clipboard
val uri: String

Functions

Link copied to clipboard
fun covers(resourceUri: String): Boolean

true when resourceUri is this resource or, for a container, lies anywhere below it.

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)