Class PathParameter

java.lang.Object
dev.mayuna.simpleapi.PathParameter

public class PathParameter extends Object
Represents path parameter which will be replaced in your request
  • Method Details

    • of

      public static PathParameter of(@NotNull @NotNull String id, @NonNull @NonNull String replacement)
      Creates PathParameter with parameter name and its replacement
      Parameters:
      id - Non-null parameter name. Must be without {} symbols
      replacement - Non-null replacement which will replace your path parameter
      Returns:
      Non-null PathParameter instance