genai.user.user_service module#

class genai.user.user_service.UserService[source]#

Bases: BaseService[BaseServiceConfig, BaseServiceServices]

create(*, first_name=None, last_name=None)[source]#
Raises:
Parameters:
  • first_name (str | None) –

  • last_name (str | None) –

Return type:

UserCreateResponse

delete()[source]#
Raises:
Return type:

None

retrieve()[source]#
Raises:
Return type:

UserRetrieveResponse

update(*, tou_accepted=None)[source]#
Raises:
Parameters:

tou_accepted (bool | None) –

Return type:

UserPatchResponse