Klasse CreateUserOperationSpec

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

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

Specification for the CreateUser operation.

  • Felddetails

    • VALIDATION_ENABLED

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

    • CreateUserOperationSpec

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

      @Internal public CreateUserOperationSpec(User body)
      Constructs a validated instance of CreateUserOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      body - This parameter describes the request payload of a user that is to be created in API Gateway.
    • CreateUserOperationSpec

      protected CreateUserOperationSpec()
  • Methodendetails

    • validate

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

    • body

      @NotNull public @NotNull User body()
      This parameter describes the request payload of a user that is to be created in API Gateway.
    • body

      public CreateUserOperationSpec body(@NotNull @NotNull User body)
      This parameter describes the request payload of a user that is to be created in API Gateway.
      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