Class SuiteApiConnectionInfo

  • All Implemented Interfaces:

    @Serializable() 
    public final class SuiteApiConnectionInfo
    
                        

    Class to hold Suite API connection information

    • Method Detail

      • getPort

         final Integer getPort()

        Determines the port to connect to the server with. Used for testing.

      • getVerify

         final Boolean getVerify()

        Determines if the SSL Certificate from the server should be verified. Used for testing.

      • getUrl

         final String getUrl(String endpoint)

        Given an API endpoint, prepend the protocol and hostname. If the endpoint does not include 'suite-api/', that is added between the hostname and endpoint (unless the endpoint is an internal API).

        Parameters:
        endpoint - Endpoint to turn into a full URL
        Returns:

        Full URL of the given endpoint