getId

@NotNull
abstract fun getId(): @NotNull Identifier(source)

Returns the ID of the given resource.