Uri

data class Uri(val value: String) : AclGrantee

Used for granting permissions to a predefined group.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
fun asId(): String

Casts this AclGrantee as a Id and retrieves its kotlin.String value. Throws an exception if the AclGrantee is not a Id.

Link copied to clipboard

Casts this AclGrantee as a Id and retrieves its kotlin.String value. Returns null if the AclGrantee is not a Id.

Link copied to clipboard
fun asUri(): String

Casts this AclGrantee as a Uri and retrieves its kotlin.String value. Throws an exception if the AclGrantee is not a Uri.

Link copied to clipboard

Casts this AclGrantee as a Uri and retrieves its kotlin.String value. Returns null if the AclGrantee is not a Uri.