fix: add id() and url()

This commit is contained in:
Manuel Jenny 2021-03-16 14:47:05 +01:00
parent 9e3d0a91dc
commit 85e2b16232
No known key found for this signature in database
GPG Key ID: 1C80FE62B2BEAA18

View File

@ -14,6 +14,14 @@ class PCloudCloudModel(cloud: Cloud) : CloudModel(cloud) {
return cloud().username()
}
fun url(): String {
return cloud().url()
}
fun id(): Long {
return cloud().id()
}
private fun cloud(): PCloudCloud {
return toCloud() as PCloudCloud
}