java.lang.Object
com.sap.cloud.sdk.services.openapi.apache.Pair

public final class Pair extends Object
Represents a name-value pair used for query parameters and form data.
  • Constructor Details

    • Pair

      public Pair(@Nonnull String name, @Nonnull String value)
  • Method Details

    • getName

      @Nonnull public String getName()
    • getValue

      @Nonnull public String getValue()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object