Class ServerConfiguration

java.lang.Object
com.binance.connector.client.common.ServerConfiguration

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.11.0") public class ServerConfiguration extends Object
Representing a Server configuration.
  • Constructor Details

    • ServerConfiguration

      public ServerConfiguration(String url, String description, Map<String,ServerVariable> variables)
      Parameters:
      url - A URL to the target host.
      description - A description of the host designated by the URL.
      variables - A map between a variable name and its value. The value is used for substitution in the server's URL template.
  • Method Details

    • setURL

      public String setURL(Map<String,String> variables)
      Format URL template using given variables.
      Parameters:
      variables - A map between a variable name and its value.
      Returns:
      Formatted URL.