Skip to content

Commit 7f92fdf

Browse files
algolia-botmillotp
andcommitted
fix(specs): message is not required in WatchResponse (generated)
algolia/api-clients-automation#4723 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 1a08dd8 commit 7f92fdf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/ingestion/WatchResponse.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ import kotlinx.serialization.json.*
77
/**
88
* WatchResponse
99
*
10-
* @param message a message describing the outcome of a validate run.
1110
* @param runID Universally unique identifier (UUID) of a task run.
1211
* @param `data` when used with discovering or validating sources, the sampled data of your source is returned.
1312
* @param events in case of error, observability events will be added to the response, if any.
13+
* @param message a message describing the outcome of a validate run.
1414
*/
1515
@Serializable
1616
public data class WatchResponse(
1717

18-
/** a message describing the outcome of a validate run. */
19-
@SerialName(value = "message") val message: String,
20-
2118
/** Universally unique identifier (UUID) of a task run. */
22-
@SerialName(value = "runID") val runID: String? = null,
19+
@SerialName(value = "runID") val runID: String,
2320

2421
/** when used with discovering or validating sources, the sampled data of your source is returned. */
2522
@SerialName(value = "data") val `data`: List<JsonObject>? = null,
2623

2724
/** in case of error, observability events will be added to the response, if any. */
2825
@SerialName(value = "events") val events: List<Event>? = null,
26+
27+
/** a message describing the outcome of a validate run. */
28+
@SerialName(value = "message") val message: String? = null,
2929
)

0 commit comments

Comments
 (0)