Skip to content

Commit cb946bb

Browse files
algolia-botmillotp
andcommitted
feat(specs): add the owner attributes to ingestion resources (generated)
algolia/api-clients-automation#4616 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 34e2f6c commit cb946bb

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import kotlinx.serialization.json.*
1313
* @param input
1414
* @param createdAt Date of creation in RFC 3339 format.
1515
* @param platform
16+
* @param owner Owner of the resource.
1617
* @param updatedAt Date of last update in RFC 3339 format.
1718
*/
1819
@Serializable
@@ -33,6 +34,9 @@ public data class Authentication(
3334

3435
@SerialName(value = "platform") val platform: Platform? = null,
3536

37+
/** Owner of the resource. */
38+
@SerialName(value = "owner") val owner: String? = null,
39+
3640
/** Date of last update in RFC 3339 format. */
3741
@SerialName(value = "updatedAt") val updatedAt: String? = null,
3842
)

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

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import kotlinx.serialization.json.*
1212
* @param name Descriptive name for the resource.
1313
* @param input
1414
* @param createdAt Date of creation in RFC 3339 format.
15+
* @param owner Owner of the resource.
1516
* @param updatedAt Date of last update in RFC 3339 format.
1617
* @param authenticationID Universally unique identifier (UUID) of an authentication resource.
1718
* @param transformationIDs
@@ -32,6 +33,9 @@ public data class Destination(
3233
/** Date of creation in RFC 3339 format. */
3334
@SerialName(value = "createdAt") val createdAt: String,
3435

36+
/** Owner of the resource. */
37+
@SerialName(value = "owner") val owner: String? = null,
38+
3539
/** Date of last update in RFC 3339 format. */
3640
@SerialName(value = "updatedAt") val updatedAt: String? = null,
3741

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

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import kotlinx.serialization.json.*
1111
* @param type
1212
* @param name
1313
* @param createdAt Date of creation in RFC 3339 format.
14+
* @param owner Owner of the resource.
1415
* @param input
1516
* @param authenticationID Universally unique identifier (UUID) of an authentication resource.
1617
* @param updatedAt Date of last update in RFC 3339 format.
@@ -28,6 +29,9 @@ public data class Source(
2829
/** Date of creation in RFC 3339 format. */
2930
@SerialName(value = "createdAt") val createdAt: String,
3031

32+
/** Owner of the resource. */
33+
@SerialName(value = "owner") val owner: String? = null,
34+
3135
@SerialName(value = "input") val input: SourceInput? = null,
3236

3337
/** Universally unique identifier (UUID) of an authentication resource. */

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

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import kotlinx.serialization.json.*
1515
* @param cron Cron expression for the task's schedule.
1616
* @param lastRun The last time the scheduled task ran in RFC 3339 format.
1717
* @param nextRun The next scheduled run of the task in RFC 3339 format.
18+
* @param owner Owner of the resource.
1819
* @param input
1920
* @param failureThreshold Maximum accepted percentage of failures for a task run to finish successfully.
2021
* @param action
@@ -51,6 +52,9 @@ public data class Task(
5152
/** The next scheduled run of the task in RFC 3339 format. */
5253
@SerialName(value = "nextRun") val nextRun: String? = null,
5354

55+
/** Owner of the resource. */
56+
@SerialName(value = "owner") val owner: String? = null,
57+
5458
@SerialName(value = "input") val input: TaskInput? = null,
5559

5660
/** Maximum accepted percentage of failures for a task run to finish successfully. */

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

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import kotlinx.serialization.json.*
1313
* @param createdAt Date of creation in RFC 3339 format.
1414
* @param authenticationIDs The authentications associated with the current transformation.
1515
* @param description A descriptive name for your transformation of what it does.
16+
* @param owner Owner of the resource.
1617
* @param updatedAt Date of last update in RFC 3339 format.
1718
*/
1819
@Serializable
@@ -36,6 +37,9 @@ public data class Transformation(
3637
/** A descriptive name for your transformation of what it does. */
3738
@SerialName(value = "description") val description: String? = null,
3839

40+
/** Owner of the resource. */
41+
@SerialName(value = "owner") val owner: String? = null,
42+
3943
/** Date of last update in RFC 3339 format. */
4044
@SerialName(value = "updatedAt") val updatedAt: String? = null,
4145
)

0 commit comments

Comments
 (0)