Skip to content

ark_pcloud_api

ArkPCloudAPI

Source code in ark_sdk_python/services/pcloud/ark_pcloud_api.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
class ArkPCloudAPI:
    def __init__(self, isp_auth: ArkISPAuth) -> None:
        self.__accounts_service = ArkPCloudAccountsService(isp_auth)
        self.__platforms_service = ArkPCloudPlatformsService(isp_auth)
        self.__safes_service = ArkPCloudSafesService(isp_auth)
        self.__applications_service = ArkPCloudApplicationsService(isp_auth)

    @property
    def accounts(self) -> ArkPCloudAccountsService:
        """
        Getter for the accounts service

        Returns:
            ArkPCloudAccountsService: _description_
        """
        return self.__accounts_service

    @property
    def platforms(self) -> ArkPCloudPlatformsService:
        """
        Getter for the platforms service

        Returns:
            ArkPCloudPlatformsService: _description_
        """
        return self.__platforms_service

    @property
    def safes(self) -> ArkPCloudSafesService:
        """
        Getter for the safes service

        Returns:
            ArkPCloudSafesService: _description_
        """
        return self.__safes_service

    @property
    def applications(self) -> ArkPCloudApplicationsService:
        """
        Getter for the applications service

        Returns:
            ArkPCloudApplicationsService: _description_
        """
        return self.__applications_service

accounts property

Getter for the accounts service

Returns:

Name Type Description
ArkPCloudAccountsService ArkPCloudAccountsService

description

applications property

Getter for the applications service

Returns:

Name Type Description
ArkPCloudApplicationsService ArkPCloudApplicationsService

description

platforms property

Getter for the platforms service

Returns:

Name Type Description
ArkPCloudPlatformsService ArkPCloudPlatformsService

description

safes property

Getter for the safes service

Returns:

Name Type Description
ArkPCloudSafesService ArkPCloudSafesService

description