Klasse UpdateUserOperationSpec

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

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

Specification for the UpdateUser operation.

  • Felddetails

    • VALIDATION_ENABLED

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

    • UpdateUserOperationSpec

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

      @Internal public UpdateUserOperationSpec(String userId, User body)
      Constructs a validated instance of UpdateUserOperationSpec.

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

      Parameter:
      userId - The path parameter specifies the id of an user whose detail is to be updated in API Gateway.
      body - This parameter describes the request payload of a user that is to be updated in API Gateway.
    • UpdateUserOperationSpec

      protected UpdateUserOperationSpec()
  • Methodendetails

    • validate

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

    • userId

      @NotNull public @NotNull String userId()
      The path parameter specifies the id of an user whose detail is to be updated in API Gateway.
    • body

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

      public UpdateUserOperationSpec userId(@NotNull @NotNull String userId)
      The path parameter specifies the id of an user whose detail is to be updated in API Gateway.
      Gibt zurück:
      this.
    • body

      public UpdateUserOperationSpec body(@NotNull @NotNull User body)
      This parameter describes the request payload of a user that is to be updated 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