Skip to content

Commit 461668e

Browse files
Generate mongodbflex
1 parent f49dc3a commit 461668e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

services/mongodbflex/src/stackit/mongodbflex/models/create_user_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CreateUserPayload(BaseModel):
2929

3030
database: StrictStr
3131
roles: List[StrictStr] = Field(
32-
description="The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**"
32+
description="The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**"
3333
)
3434
username: Optional[StrictStr] = None
3535
__properties: ClassVar[List[str]] = ["database", "roles", "username"]

services/mongodbflex/src/stackit/mongodbflex/models/partial_update_user_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PartialUpdateUserPayload(BaseModel):
3030
database: Optional[StrictStr] = None
3131
roles: Optional[List[StrictStr]] = Field(
3232
default=None,
33-
description="The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
33+
description="The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
3434
)
3535
__properties: ClassVar[List[str]] = ["database", "roles"]
3636

services/mongodbflex/src/stackit/mongodbflex/models/update_user_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class UpdateUserPayload(BaseModel):
2929

3030
database: StrictStr
3131
roles: List[StrictStr] = Field(
32-
description="The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**"
32+
description="The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**"
3333
)
3434
__properties: ClassVar[List[str]] = ["database", "roles"]
3535

services/mongodbflex/src/stackit/mongodbflex/models/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class User(BaseModel):
3434
port: Optional[StrictInt] = None
3535
roles: Optional[List[StrictStr]] = Field(
3636
default=None,
37-
description="The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
37+
description="The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**",
3838
)
3939
uri: Optional[StrictStr] = None
4040
username: Optional[StrictStr] = None

0 commit comments

Comments
 (0)