Class AccountRepository

    • Constructor Summary

      Constructors 
      Constructor Description
      AccountRepository​(java.lang.String projectId, java.lang.String apiToken, java.lang.String spaceUrl)  
    • Constructor Detail

      • AccountRepository

        public AccountRepository​(java.lang.String projectId,
                                 java.lang.String apiToken,
                                 java.lang.String spaceUrl)
    • Method Detail

      • getAccountByName

        public AccountResponse getAccountByName​(java.lang.String friendlyName)
        Get the Account information by friendlyName
        Specified by:
        getAccountByName in interface AccountInterface
        Parameters:
        friendlyName - Name registered on the account
        Returns:
        AccountResponse
      • getAccountBySid

        public Account getAccountBySid​(java.lang.String sid)
        Get an account information using the SID
        Specified by:
        getAccountBySid in interface AccountInterface
        Parameters:
        sid - unique account SID
        Returns:
        Account