Skip to content

Commit b799dd5

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 3515bae commit b799dd5

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

src/main/scala/algoliasearch/ingestion/Authentication.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ import algoliasearch.ingestion.Platform._
2828
* Universally unique identifier (UUID) of an authentication resource.
2929
* @param name
3030
* Descriptive name for the resource.
31+
* @param owner
32+
* Owner of the resource.
3133
* @param createdAt
3234
* Date of creation in RFC 3339 format.
3335
* @param updatedAt
@@ -38,6 +40,7 @@ case class Authentication(
3840
`type`: AuthenticationType,
3941
name: String,
4042
platform: Option[Platform] = scala.None,
43+
owner: Option[String] = scala.None,
4144
input: AuthInputPartial,
4245
createdAt: String,
4346
updatedAt: Option[String] = scala.None

src/main/scala/algoliasearch/ingestion/Destination.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import algoliasearch.ingestion.DestinationType._
2727
* Universally unique identifier (UUID) of a destination resource.
2828
* @param name
2929
* Descriptive name for the resource.
30+
* @param owner
31+
* Owner of the resource.
3032
* @param createdAt
3133
* Date of creation in RFC 3339 format.
3234
* @param updatedAt
@@ -38,6 +40,7 @@ case class Destination(
3840
destinationID: String,
3941
`type`: DestinationType,
4042
name: String,
43+
owner: Option[String] = scala.None,
4144
input: DestinationInput,
4245
createdAt: String,
4346
updatedAt: Option[String] = scala.None,

src/main/scala/algoliasearch/ingestion/Source.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import algoliasearch.ingestion.SourceType._
2525
*
2626
* @param sourceID
2727
* Universally uniqud identifier (UUID) of a source.
28+
* @param owner
29+
* Owner of the resource.
2830
* @param authenticationID
2931
* Universally unique identifier (UUID) of an authentication resource.
3032
* @param createdAt
@@ -36,6 +38,7 @@ case class Source(
3638
sourceID: String,
3739
`type`: SourceType,
3840
name: String,
41+
owner: Option[String] = scala.None,
3942
input: Option[SourceInput] = scala.None,
4043
authenticationID: Option[String] = scala.None,
4144
createdAt: String,

src/main/scala/algoliasearch/ingestion/Task.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ import algoliasearch.ingestion.ActionType._
3535
* The last time the scheduled task ran in RFC 3339 format.
3636
* @param nextRun
3737
* The next scheduled run of the task in RFC 3339 format.
38+
* @param owner
39+
* Owner of the resource.
3840
* @param enabled
3941
* Whether the task is enabled.
4042
* @param failureThreshold
@@ -53,6 +55,7 @@ case class Task(
5355
cron: Option[String] = scala.None,
5456
lastRun: Option[String] = scala.None,
5557
nextRun: Option[String] = scala.None,
58+
owner: Option[String] = scala.None,
5659
input: Option[TaskInput] = scala.None,
5760
enabled: Boolean,
5861
failureThreshold: Option[Int] = scala.None,

src/main/scala/algoliasearch/ingestion/Transformation.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ package algoliasearch.ingestion
3131
* The uniquely identified name of your transformation.
3232
* @param description
3333
* A descriptive name for your transformation of what it does.
34+
* @param owner
35+
* Owner of the resource.
3436
* @param createdAt
3537
* Date of creation in RFC 3339 format.
3638
* @param updatedAt
@@ -42,6 +44,7 @@ case class Transformation(
4244
code: String,
4345
name: String,
4446
description: Option[String] = scala.None,
47+
owner: Option[String] = scala.None,
4548
createdAt: String,
4649
updatedAt: Option[String] = scala.None
4750
)

0 commit comments

Comments
 (0)