rbtools.api.resource.hosting_service_account¶
Resource definitions for hosting service accounts.
Added in version 6.0.
Classes
Params for the hosting service account list GET operation |
|
|
Item resource for hosting service accounts. |
|
List resource for hosting service accounts. |
- class rbtools.api.resource.hosting_service_account.HostingServiceAccountGetListParams[source]¶
Bases:
BaseGetListParamsParams for the hosting service account list GET operation
Added in version 6.0.
- __firstlineno__ = 78¶
- __static_attributes__ = ()¶
- class rbtools.api.resource.hosting_service_account.HostingServiceAccountItemResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, **kwargs)[source]¶
Bases:
ItemResourceItem resource for hosting service accounts.
This corresponds to Review Board`s Hosting Service Account Resource.
Added in version 6.0.
- __firstlineno__ = 29¶
- __static_attributes__ = ()¶
- get_remote_repositories(**kwargs: Unpack[RemoteRepositoryGetListParams]) RemoteRepositoryListResource[source]¶
Get the remote repositories for this hosting service.
- Parameters:
**kwargs (
dict) – Query arguments to include with the request.- Returns:
The remote repository list resource.
- Return type:
rbtools.api.resource.RemoteRepositoryListResource- Raises:
rbtools.api.errors.APIError – The Review Board API returned an error.
rbtools.api.errors.ServerInterfaceError – An error occurred while communicating with the server.
- class rbtools.api.resource.hosting_service_account.HostingServiceAccountListResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, item_mime_type: str | None = None, **kwargs)[source]¶
Bases:
ListResource[HostingServiceItemResource]List resource for hosting service accounts.
This corresponds to Review Board`s Hosting Service Account List Resource.
Added in version 6.0.
- __annotations_cache__ = {}¶
- __firstlineno__ = 92¶
- __static_attributes__ = ()¶