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.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
CreatePromotionOperationSpec
(Promotion body, String fixingMissingVersions, Boolean overwrite, Boolean overwriteAlias) Constructs a validated instance ofCreatePromotionOperationSpec
.Constructs a validated instance ofCreatePromotionOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull Promotion
body()
Promotion request payloadPromotion request payloadbuilder()
protected boolean
boolean
@Nullable String
Option to fix the API version history.fixingMissingVersions
(@Nullable String fixingMissingVersions) Option to fix the API version history.int
hashCode()
@Nullable Boolean
Option to overwrite the assets except aliases in the destination stage during asset promotion.Option to overwrite the assets except aliases in the destination stage during asset promotion.@Nullable Boolean
Option to overwrite the asset type 'alias' in the destination stage during asset promotion.overwriteAlias
(@Nullable Boolean overwriteAlias) Option to overwrite the asset type 'alias' in the destination stage during asset promotion.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
CreatePromotionOperationSpec
Constructs a validated instance ofCreatePromotionOperationSpec
.- Parameter:
spec
- the specification to process
-
CreatePromotionOperationSpec
@Internal public CreatePromotionOperationSpec(Promotion body, String fixingMissingVersions, Boolean overwrite, Boolean overwriteAlias) Constructs a validated instance ofCreatePromotionOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
body
- Promotion request payloadfixingMissingVersions
- 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 falseoverwrite
- Option to overwrite the assets except aliases in the destination stage during asset promotion. The default value is falseoverwriteAlias
- 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
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. -
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
Option to overwrite the assets except aliases in the destination stage during asset promotion. The default value is false- Gibt zurück:
this
.
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-