Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion services/intake/src/stackit/intake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
Do not edit the class manually.
""" # noqa: E501


__version__ = "1.0.0"

# Define package exports
Expand Down
439 changes: 175 additions & 264 deletions services/intake/src/stackit/intake/api/default_api.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion services/intake/src/stackit/intake/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
Do not edit the class manually.
""" # noqa: E501


# import models into model package
from stackit.intake.models.catalog_auth import CatalogAuth
from stackit.intake.models.catalog_auth_patch import CatalogAuthPatch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import pprint
import re # noqa: F401
from typing import Any, ClassVar, Dict, List, Optional, Set
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing_extensions import Annotated, Self
Expand All @@ -37,7 +38,7 @@ class CreateIntakePayload(BaseModel):
display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field(
description="The display name is a short name chosen by the user to identify the resource.", alias="displayName"
)
intake_runner_id: StrictStr = Field(
intake_runner_id: UUID = Field(
description="The unique id of the intake runner this intake should run on.", alias="intakeRunnerId"
)
labels: Optional[Dict[str, StrictStr]] = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import re # noqa: F401
from datetime import datetime
from typing import Any, ClassVar, Dict, List, Optional, Set
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
from typing_extensions import Annotated, Self
Expand Down Expand Up @@ -45,8 +46,8 @@ class IntakeResponse(BaseModel):
failure_message: Optional[StrictStr] = Field(
default=None, description="A human-readable description of the error, if the state is 'failed'."
)
id: StrictStr = Field(description="A auto generated unique id which identifies the resource.")
intake_runner_id: StrictStr = Field(
id: UUID = Field(description="A auto generated unique id which identifies the resource.")
intake_runner_id: UUID = Field(
description="The unique id of the intake runner this intake is running on.", alias="intakeRunnerId"
)
labels: Optional[Dict[str, StrictStr]] = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import re # noqa: F401
from datetime import datetime
from typing import Any, ClassVar, Dict, List, Optional, Set
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
from typing_extensions import Annotated, Self
Expand All @@ -36,7 +37,7 @@ class IntakeRunnerResponse(BaseModel):
display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field(
description="The display name is a short name chosen by the user to identify the resource.", alias="displayName"
)
id: StrictStr = Field(description="A auto generated unique id which identifies the resource.")
id: UUID = Field(description="A auto generated unique id which identifies the resource.")
labels: Optional[Dict[str, StrictStr]] = Field(
default=None, description="Labels are a set of key-value pairs assigned to resources."
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import re # noqa: F401
from datetime import datetime
from typing import Any, ClassVar, Dict, List, Optional, Set
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from typing_extensions import Annotated, Self
Expand All @@ -40,7 +41,7 @@ class IntakeUserResponse(BaseModel):
display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field(
description="The display name is a short name chosen by the user to identify the resource.", alias="displayName"
)
id: StrictStr = Field(description="A auto generated unique id which identifies the resource.")
id: UUID = Field(description="A auto generated unique id which identifies the resource.")
labels: Optional[Dict[str, StrictStr]] = Field(
default=None, description="Labels are a set of key-value pairs assigned to resources."
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import json
import pprint
from typing import Any, ClassVar, Dict, List, Optional, Set
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing_extensions import Annotated, Self
Expand All @@ -38,7 +39,7 @@ class UpdateIntakePayload(BaseModel):
description="The display name is a short name chosen by the user to identify the resource.",
alias="displayName",
)
intake_runner_id: StrictStr = Field(
intake_runner_id: UUID = Field(
description="The unique id of the intake runner this intake should run on.", alias="intakeRunnerId"
)
labels: Optional[Dict[str, StrictStr]] = Field(
Expand Down
Loading