Package org.openapitools.client
Class ServerConfiguration
java.lang.Object
org.openapitools.client.ServerConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-12-04T04:53:25.428492722Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ServerConfiguration
extends Object
Representing a Server configuration.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionServerConfiguration
(String URL, String description, Map<String, ServerVariable> variables) -
Method Summary
-
Field Details
-
URL
-
description
-
variables
-
-
Constructor Details
-
ServerConfiguration
- 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
-
URL
Format URL template using given variables.- Parameters:
variables
- A map between a variable name and its value.- Returns:
- Formatted URL.
-
URL
Format URL template using default server variables.- Returns:
- Formatted URL.
-