@@ -11,13 +11,13 @@ import kotlinx.serialization.json.*
11
11
* @param sourceID Universally uniqud identifier (UUID) of a source.
12
12
* @param destinationID Universally unique identifier (UUID) of a destination resource.
13
13
* @param enabled Whether the task is enabled.
14
- * @param action
15
14
* @param createdAt Date of creation in RFC 3339 format.
16
15
* @param cron Cron expression for the task's schedule.
17
16
* @param lastRun The last time the scheduled task ran in RFC 3339 format.
18
17
* @param nextRun The next scheduled run of the task in RFC 3339 format.
19
18
* @param input
20
19
* @param failureThreshold Maximum accepted percentage of failures for a task run to finish successfully.
20
+ * @param action
21
21
* @param cursor Date of the last cursor in RFC 3339 format.
22
22
* @param updatedAt Date of last update in RFC 3339 format.
23
23
*/
@@ -36,8 +36,6 @@ public data class Task(
36
36
/* * Whether the task is enabled. */
37
37
@SerialName(value = " enabled" ) val enabled : Boolean ,
38
38
39
- @SerialName(value = " action" ) val action : ActionType ,
40
-
41
39
/* * Date of creation in RFC 3339 format. */
42
40
@SerialName(value = " createdAt" ) val createdAt : String ,
43
41
@@ -55,6 +53,8 @@ public data class Task(
55
53
/* * Maximum accepted percentage of failures for a task run to finish successfully. */
56
54
@SerialName(value = " failureThreshold" ) val failureThreshold : Int? = null ,
57
55
56
+ @SerialName(value = " action" ) val action : ActionType ? = null ,
57
+
58
58
/* * Date of the last cursor in RFC 3339 format. */
59
59
@SerialName(value = " cursor" ) val cursor : String? = null ,
60
60
0 commit comments