20 lines
557 B
Python
20 lines
557 B
Python
from pydantic import Field
|
|||
|
|
|
||
|
|
import dynamix_sdk.base as _base
|
||
|
|
|
||
|
|
|
||
|
|
class CloudbrokerUserGetMatchingUsernamesResult(_base.ResultModel):
|
||
|
|
username: str
|
||
|
|
gravatar_url: str = Field(validation_alias='gravatarurl')
|
||
|
|
|
||
|
|
|
||
|
|
class CloudbrokerUserGetMatchingUsernamesImpl(_base.APIFunctionImpl):
|
||
|
|
http_method = _base.HTTPMethod.POST
|
||
|
|
|
||
|
|
def __call__(
|
||
|
|
self,
|
||
|
|
*,
|
||
|
|
username_regex: str = Field(serialization_alias='usernameregex'),
|
||
|
|
limit: int = 5,
|
||
|
|
) -> list[CloudbrokerUserGetMatchingUsernamesResult]:
|
||
|
|
raise NotImplementedError
|