Skip to content

Commit 6ba9297

Browse files
Generate logme
1 parent 0f573e1 commit 6ba9297

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

services/logme/src/stackit/logme/api/default_api.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -3039,7 +3039,7 @@ def _list_instances_serialize(
30393039
@validate_call
30403040
def list_offerings(
30413041
self,
3042-
project_id: StrictStr,
3042+
project_id: Annotated[StrictStr, Field(description="Project id on which user has permissions")],
30433043
_request_timeout: Union[
30443044
None,
30453045
Annotated[StrictFloat, Field(gt=0)],
@@ -3054,7 +3054,7 @@ def list_offerings(
30543054
30553055
Get the service offerings that the service broker offers.
30563056
3057-
:param project_id: (required)
3057+
:param project_id: Project id on which user has permissions (required)
30583058
:type project_id: str
30593059
:param _request_timeout: timeout setting for this request. If one
30603060
number provided, it will be total request
@@ -3099,7 +3099,7 @@ def list_offerings(
30993099
@validate_call
31003100
def list_offerings_with_http_info(
31013101
self,
3102-
project_id: StrictStr,
3102+
project_id: Annotated[StrictStr, Field(description="Project id on which user has permissions")],
31033103
_request_timeout: Union[
31043104
None,
31053105
Annotated[StrictFloat, Field(gt=0)],
@@ -3114,7 +3114,7 @@ def list_offerings_with_http_info(
31143114
31153115
Get the service offerings that the service broker offers.
31163116
3117-
:param project_id: (required)
3117+
:param project_id: Project id on which user has permissions (required)
31183118
:type project_id: str
31193119
:param _request_timeout: timeout setting for this request. If one
31203120
number provided, it will be total request
@@ -3159,7 +3159,7 @@ def list_offerings_with_http_info(
31593159
@validate_call
31603160
def list_offerings_without_preload_content(
31613161
self,
3162-
project_id: StrictStr,
3162+
project_id: Annotated[StrictStr, Field(description="Project id on which user has permissions")],
31633163
_request_timeout: Union[
31643164
None,
31653165
Annotated[StrictFloat, Field(gt=0)],
@@ -3174,7 +3174,7 @@ def list_offerings_without_preload_content(
31743174
31753175
Get the service offerings that the service broker offers.
31763176
3177-
:param project_id: (required)
3177+
:param project_id: Project id on which user has permissions (required)
31783178
:type project_id: str
31793179
:param _request_timeout: timeout setting for this request. If one
31803180
number provided, it will be total request

services/logme/src/stackit/logme/models/instance_parameters.py

-13
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ class InstanceParameters(BaseModel):
8484
description="Comma separated list of IP networks in CIDR notation which are allowed to access this instance.",
8585
)
8686
syslog: Optional[List[StrictStr]] = None
87-
syslog_use_udp: Optional[StrictStr] = Field(default=None, alias="syslog-use-udp")
8887
__properties: ClassVar[List[str]] = [
8988
"enable_monitoring",
9089
"fluentd-tcp",
@@ -109,7 +108,6 @@ class InstanceParameters(BaseModel):
109108
"opensearch-tls-protocols",
110109
"sgw_acl",
111110
"syslog",
112-
"syslog-use-udp",
113111
]
114112

115113
@field_validator("opensearch_tls_ciphers")
@@ -123,16 +121,6 @@ def opensearch_tls_ciphers_validate_enum(cls, value):
123121
raise ValueError("each list item must be one of ('TLSv1.2', 'TLSv1.3')")
124122
return value
125123

126-
@field_validator("syslog_use_udp")
127-
def syslog_use_udp_validate_enum(cls, value):
128-
"""Validates the enum"""
129-
if value is None:
130-
return value
131-
132-
if value not in set(["yes", "no"]):
133-
raise ValueError("must be one of enum values ('yes', 'no')")
134-
return value
135-
136124
model_config = ConfigDict(
137125
populate_by_name=True,
138126
validate_assignment=True,
@@ -223,7 +211,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
223211
"opensearch-tls-protocols": obj.get("opensearch-tls-protocols"),
224212
"sgw_acl": obj.get("sgw_acl"),
225213
"syslog": obj.get("syslog"),
226-
"syslog-use-udp": obj.get("syslog-use-udp"),
227214
}
228215
)
229216
return _obj

0 commit comments

Comments
 (0)