kommon
Toggle table of contents
0.0.0-SNAPSHOT
release
Target filter
release
Switch theme
Search in API
Skip to content
kommon
sync
/
io.github.maniramezan.kommon.sync
/
SyncRequest
Sync
Request
@
Serializable
data
class
SyncRequest
<
Upsert
,
Delete
>
(
val
since
:
String
?
=
null
,
val
limit
:
Int
=
SyncEngine.DEFAULT_LIMIT
,
val
upserts
:
List
<
Upsert
>
=
emptyList()
,
val
deletes
:
List
<
Delete
>
=
emptyList()
)
Wire request envelope for one sync pass against a single resource.
Members
Constructors
Sync
Request
Link copied to clipboard
constructor
(
since
:
String
?
=
null
,
limit
:
Int
=
SyncEngine.DEFAULT_LIMIT
,
upserts
:
List
<
Upsert
>
=
emptyList()
,
deletes
:
List
<
Delete
>
=
emptyList()
)
Properties
deletes
Link copied to clipboard
@
SerialName
(
value
=
"deletes"
)
val
deletes
:
List
<
Delete
>
limit
Link copied to clipboard
@
SerialName
(
value
=
"limit"
)
val
limit
:
Int
since
Link copied to clipboard
@
SerialName
(
value
=
"since"
)
val
since
:
String
?
upserts
Link copied to clipboard
@
SerialName
(
value
=
"upserts"
)
val
upserts
:
List
<
Upsert
>