Class TerminalActionsCompanyLevel

    • Constructor Detail

      • TerminalActionsCompanyLevel

        public TerminalActionsCompanyLevel​(Client client)
    • Method Detail

      • listAndroidApps

        public AndroidAppsResponse listAndroidApps​(String companyId,
                                                   Map<String,​String> queryParams)
                                            throws ApiException,
                                                   IOException
        Get a list of Android apps
        Parameters:
        companyId - The unique identifier of the company account. (required)
        queryParams - (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)
        Returns:
        AndroidAppsResponse
        Throws:
        ApiException - if fails to make API call
        IOException
      • listAndroidCertificates

        public AndroidCertificatesResponse listAndroidCertificates​(String companyId,
                                                                   Map<String,​String> queryParams)
                                                            throws ApiException,
                                                                   IOException
        Get a list of Android certificates
        Parameters:
        companyId - The unique identifier of the company account. (required)
        queryParams - (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)
        Returns:
        AndroidCertificatesResponse
        Throws:
        ApiException - if fails to make API call
        IOException
      • listTerminalActions

        public ListExternalTerminalActionsResponse listTerminalActions​(String companyId,
                                                                       Map<String,​String> queryParams)
                                                                throws ApiException,
                                                                       IOException
        Get a list of terminal actions
        Parameters:
        companyId - The unique identifier of the company account. (required)
        queryParams - (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional) status: Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**. (optional) type: Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**. (optional)
        Returns:
        ListExternalTerminalActionsResponse
        Throws:
        ApiException - if fails to make API call
        IOException
      • getTerminalAction

        public ExternalTerminalAction getTerminalAction​(String companyId,
                                                        String actionId)
                                                 throws ApiException,
                                                        IOException
        Get terminal action
        Parameters:
        companyId - The unique identifier of the company account. (required)
        actionId - The unique identifier of the terminal action. (required)
        Returns:
        ExternalTerminalAction
        Throws:
        ApiException - if fails to make API call
        IOException