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
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
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.certificates.models.create_certificate_payload import (
CreateCertificatePayload,
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 @@ -31,9 +32,7 @@ class CreateCertificatePayload(BaseModel):
private_key: Optional[StrictStr] = Field(
default=None, description="The PEM encoded private key part", alias="privateKey"
)
project_id: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Project identifier", alias="projectId"
)
project_id: Optional[UUID] = Field(default=None, description="Project identifier", alias="projectId")
public_key: Optional[StrictStr] = Field(
default=None, description="The PEM encoded public key part", alias="publicKey"
)
Expand Down
Loading