java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.Server

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Server extends Object
Server
  • Felddetails

    • description

      protected String description
      An optional string describing the host designated by the URL
    • url

      protected String url
      A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}
    • variables

      protected Map<String,ServerVariable> variables
      A map between a variable name and its value. The value is used for substitution in the server's URL template
    • vendorExtensions

      protected Map<String,Object> vendorExtensions
  • Konstruktordetails

    • Server

      public Server(Consumer<Server> spec)
      Constructs a validated instance of Server.
      Parameter:
      spec - the specification to process
    • Server

      @Internal public Server(String description, String url, Map<String,ServerVariable> variables, Map<String,Object> vendorExtensions)
      Constructs a validated instance of Server.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Server(Consumer) instead.

      Parameter:
      description - An optional string describing the host designated by the URL
      url - A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}
      variables - A map between a variable name and its value. The value is used for substitution in the server's URL template
      vendorExtensions - var.name
    • Server

      protected Server()
  • Methodendetails

    • builder

      public static Server.ServerBuilder builder()
    • description

      public String description()
      An optional string describing the host designated by the URL
    • url

      public String url()
      A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}
    • variables

      public Map<String,ServerVariable> variables()
      A map between a variable name and its value. The value is used for substitution in the server's URL template
    • vendorExtensions

      public Map<String,Object> vendorExtensions()
    • description

      public Server description(String description)
      An optional string describing the host designated by the URL
      Gibt zurück:
      this.
    • url

      public Server url(String url)
      A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}
      Gibt zurück:
      this.
    • variables

      public Server variables(Map<String,ServerVariable> variables)
      A map between a variable name and its value. The value is used for substitution in the server's URL template
      Gibt zurück:
      this.
    • vendorExtensions

      public Server vendorExtensions(Map<String,Object> vendorExtensions)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object