@@ -37,14 +37,26 @@ class Artifactory(BaseModel):
3737 create_time: datetime = Field(
3838 description="The date and time the creation of the STACKIT Artifactory was triggered."
3939 )
40+ error_description: Optional[StrictStr] = Field(
41+ default=None, description="Describes the reason for the error state."
42+ )
4043 id: UUID = Field(description="A auto generated unique id which identifies the STACKIT Artifactory.")
4144 name: Annotated[str, Field(strict=True, max_length=255)] = Field(
4245 description="A user chosen name to distinguish multiple STACKIT Artifactories."
4346 )
4447 proxy: Optional[Proxy] = None
4548 state: StrictStr = Field(description="The current state of the STACKIT Artifactory.")
4649 url: StrictStr = Field(description="The base URL of the STACKIT Artifactory.")
47- __properties: ClassVar[List[str]] = ["consumed_quota_bytes", "create_time", "id", "name", "proxy", "state", "url"]
50+ __properties: ClassVar[List[str]] = [
51+ "consumed_quota_bytes",
52+ "create_time",
53+ "error_description",
54+ "id",
55+ "name",
56+ "proxy",
57+ "state",
58+ "url",
59+ ]
4860
4961 @field_validator("create_time", mode="before")
5062 def create_time_change_year_zero_to_one(cls, value):
@@ -121,6 +133,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
121133 {
122134 "consumed_quota_bytes": obj.get("consumed_quota_bytes"),
123135 "create_time": obj.get("create_time"),
136+ "error_description": obj.get("error_description"),
124137 "id": obj.get("id"),
125138 "name": obj.get("name"),
126139 "proxy": Proxy.from_dict(obj["proxy"]) if obj.get("proxy") is not None else None,
0 commit comments