We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c36b5 commit b47e3b5Copy full SHA for b47e3b5
src/commonMain/kotlin/net/pearx/kpastebin/PastebinClient.kt
@@ -133,6 +133,7 @@ public class PastebinClient(
133
*
134
* @throws InvalidUserKeyException when [userKey] is null, expired or invalid.
135
*/
136
+ @ExperimentalUnsignedTypes
137
public suspend fun listPastes(resultsLimit: Int = 50): List<PasteDetails> {
138
require(resultsLimit in 1..1000) { "resultsLimit should be in range of 1 to 1000" }
139
val out = sendRequest(API_URL_POST, true) {
src/commonMain/kotlin/net/pearx/kpastebin/model/PasteDetails.kt
@@ -23,6 +23,7 @@ import net.pearx.kpastebin.internal.XML_PROPERTY_REGEX
23
* @property url Paste URL.
24
* @property hits Paste view count.
25
26
+@ExperimentalUnsignedTypes
27
public data class PasteDetails(
28
val key: String,
29
val date: ULong,
0 commit comments