Klasse EnableMockAPIOperationSpec

java.lang.Object
io.github.primelib.webmethodsapigateway4j.spec.EnableMockAPIOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class EnableMockAPIOperationSpec extends Object
EnableMockAPISpec

Specification for the EnableMockAPI operation.

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • apiId

      @NotNull public @NotNull String apiId()
      API Id for the API to be activated
    • retainDefaultMockResponses

      @Nullable public @Nullable Boolean retainDefaultMockResponses()
      Flag to retain generated mocked responses. When this is set to true, default mocked responses will be retained. If it's set to false, new default mocked responses will be generated using the examples, schema in the API
    • apiId

      public EnableMockAPIOperationSpec apiId(@NotNull @NotNull String apiId)
      API Id for the API to be activated
      Gibt zurück:
      this.
    • retainDefaultMockResponses

      public EnableMockAPIOperationSpec retainDefaultMockResponses(@Nullable @Nullable Boolean retainDefaultMockResponses)
      Flag to retain generated mocked responses. When this is set to true, default mocked responses will be retained. If it's set to false, new default mocked responses will be generated using the examples, schema in the API
      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