Klasse CreatePromotionOperationSpec

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

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

Specification for the CreatePromotion operation.

  • Felddetails

    • VALIDATION_ENABLED

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

    • CreatePromotionOperationSpec

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

      @Internal public CreatePromotionOperationSpec(Promotion body, String fixingMissingVersions, Boolean overwrite, Boolean overwriteAlias)
      Constructs a validated instance of CreatePromotionOperationSpec.

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

      Parameter:
      body - Promotion request payload
      fixingMissingVersions - Option to fix the API version history. The discrepancy between the asset versions in the source and target stages, if any, are fixed. The default value is false
      overwrite - Option to overwrite the assets except aliases in the destination stage during asset promotion. The default value is false
      overwriteAlias - Option to overwrite the asset type 'alias' in the destination stage during asset promotion. The default value is 'false'. This parameter takes precedence over the 'overwrite' parameter.
    • CreatePromotionOperationSpec

      protected CreatePromotionOperationSpec()
  • 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 Promotion body()
      Promotion request payload
    • fixingMissingVersions

      @Nullable public @Nullable String fixingMissingVersions()
      Option to fix the API version history. The discrepancy between the asset versions in the source and target stages, if any, are fixed. The default value is false
    • overwrite

      @Nullable public @Nullable Boolean overwrite()
      Option to overwrite the assets except aliases in the destination stage during asset promotion. The default value is false
    • overwriteAlias

      @Nullable public @Nullable Boolean overwriteAlias()
      Option to overwrite the asset type 'alias' in the destination stage during asset promotion. The default value is 'false'. This parameter takes precedence over the 'overwrite' parameter.
    • body

      public CreatePromotionOperationSpec body(@NotNull @NotNull Promotion body)
      Promotion request payload
      Gibt zurück:
      this.
    • fixingMissingVersions

      public CreatePromotionOperationSpec fixingMissingVersions(@Nullable @Nullable String fixingMissingVersions)
      Option to fix the API version history. The discrepancy between the asset versions in the source and target stages, if any, are fixed. The default value is false
      Gibt zurück:
      this.
    • overwrite

      public CreatePromotionOperationSpec overwrite(@Nullable @Nullable Boolean overwrite)
      Option to overwrite the assets except aliases in the destination stage during asset promotion. The default value is false
      Gibt zurück:
      this.
    • overwriteAlias

      public CreatePromotionOperationSpec overwriteAlias(@Nullable @Nullable Boolean overwriteAlias)
      Option to overwrite the asset type 'alias' in the destination stage during asset promotion. The default value is 'false'. This parameter takes precedence over the 'overwrite' parameter.
      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