Skip to content

Commit 5d5e8b1

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 20fac2d commit 5d5e8b1

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

Diff for: algoliasearch/ingestion/models/authentication.py

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"type": "type",
2828
"name": "name",
2929
"platform": "platform",
30+
"owner": "owner",
3031
"input": "input",
3132
"created_at": "createdAt",
3233
"updated_at": "updatedAt",
@@ -48,6 +49,8 @@ class Authentication(BaseModel):
4849
name: str
4950
""" Descriptive name for the resource. """
5051
platform: Optional[Platform] = None
52+
owner: Optional[str] = None
53+
""" Owner of the resource. """
5154
input: AuthInputPartial
5255
created_at: str
5356
""" Date of creation in RFC 3339 format. """

Diff for: algoliasearch/ingestion/models/destination.py

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"destination_id": "destinationID",
2626
"type": "type",
2727
"name": "name",
28+
"owner": "owner",
2829
"input": "input",
2930
"created_at": "createdAt",
3031
"updated_at": "updatedAt",
@@ -47,6 +48,8 @@ class Destination(BaseModel):
4748
type: DestinationType
4849
name: str
4950
""" Descriptive name for the resource. """
51+
owner: Optional[str] = None
52+
""" Owner of the resource. """
5053
input: DestinationInput
5154
created_at: str
5255
""" Date of creation in RFC 3339 format. """

Diff for: algoliasearch/ingestion/models/source.py

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"source_id": "sourceID",
2626
"type": "type",
2727
"name": "name",
28+
"owner": "owner",
2829
"input": "input",
2930
"authentication_id": "authenticationID",
3031
"created_at": "createdAt",
@@ -45,6 +46,8 @@ class Source(BaseModel):
4546
""" Universally uniqud identifier (UUID) of a source. """
4647
type: SourceType
4748
name: str
49+
owner: Optional[str] = None
50+
""" Owner of the resource. """
4851
input: Optional[SourceInput] = None
4952
authentication_id: Optional[str] = None
5053
""" Universally unique identifier (UUID) of an authentication resource. """

Diff for: algoliasearch/ingestion/models/task.py

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"cron": "cron",
3131
"last_run": "lastRun",
3232
"next_run": "nextRun",
33+
"owner": "owner",
3334
"input": "input",
3435
"enabled": "enabled",
3536
"failure_threshold": "failureThreshold",
@@ -64,6 +65,8 @@ class Task(BaseModel):
6465
""" The last time the scheduled task ran in RFC 3339 format. """
6566
next_run: Optional[str] = None
6667
""" The next scheduled run of the task in RFC 3339 format. """
68+
owner: Optional[str] = None
69+
""" Owner of the resource. """
6770
input: Optional[TaskInput] = None
6871
enabled: bool
6972
""" Whether the task is enabled. """

Diff for: algoliasearch/ingestion/models/transformation.py

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"code": "code",
2525
"name": "name",
2626
"description": "description",
27+
"owner": "owner",
2728
"created_at": "createdAt",
2829
"updated_at": "updatedAt",
2930
}
@@ -48,6 +49,8 @@ class Transformation(BaseModel):
4849
""" The uniquely identified name of your transformation. """
4950
description: Optional[str] = None
5051
""" A descriptive name for your transformation of what it does. """
52+
owner: Optional[str] = None
53+
""" Owner of the resource. """
5154
created_at: str
5255
""" Date of creation in RFC 3339 format. """
5356
updated_at: Optional[str] = None

0 commit comments

Comments
 (0)