/** * Creates a new update action initialized with the given values to unset the staged label. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @return new object initialized with the given values */ public static SetImageLabel ofUnsetStaged(final Integer variantId, final String imageUrl) { return new SetImageLabel(variantId, imageUrl, null, null); }
/** * Creates a new update action initialized with the given values to unset the staged label. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @return new object initialized with the given values */ public static SetImageLabel ofUnsetStaged(final Integer variantId, final String imageUrl) { return new SetImageLabel(variantId, imageUrl, null, null); }
/** * Creates a new update action initialized with the given values. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @param label initial value for the property * @return new object initialized with the given values */ public static SetImageLabel ofStaged(final Integer variantId, final String imageUrl, @Nullable final String label) { return new SetImageLabel(variantId, imageUrl, label, null); }
/** * Creates a new update action initialized with the given values. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @param label initial value for the property * @return new object initialized with the given values */ public static SetImageLabel ofStaged(final Integer variantId, final String imageUrl, @Nullable final String label) { return new SetImageLabel(variantId, imageUrl, label, null); }
/** * Creates a new update action initialized with the given values to unset the label. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @param staged initial value for the property * @return new object initialized with the given values */ public static SetImageLabel ofUnset(final Integer variantId, final String imageUrl, @Nullable final Boolean staged) { return new SetImageLabel(variantId, imageUrl, null, staged); }
/** * Creates a new update action initialized with the given values to unset the label. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @param staged initial value for the property * @return new object initialized with the given values */ public static SetImageLabel ofUnset(final Integer variantId, final String imageUrl, @Nullable final Boolean staged) { return new SetImageLabel(variantId, imageUrl, null, staged); }
/** * Creates a new update action initialized with the given values. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @param label initial value for the property * @param staged initial value for the property * @return new object initialized with the given values */ public static SetImageLabel of(final Integer variantId, final String imageUrl, @Nullable final String label, @Nullable final Boolean staged) { return new SetImageLabel(variantId, imageUrl, label, staged); }
/** * Creates a new update action initialized with the given values. * * @param variantId initial value for the property * @param imageUrl initial value for the property * @param label initial value for the property * @param staged initial value for the property * @return new object initialized with the given values */ public static SetImageLabel of(final Integer variantId, final String imageUrl, @Nullable final String label, @Nullable final Boolean staged) { return new SetImageLabel(variantId, imageUrl, label, staged); }
/** * Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object. * @param label The image label. * @return new object initialized with the copied values from the original object */ public SetImageLabel withLabel(final String label) { return new SetImageLabel(getVariantId(), getImageUrl(), label, isStaged()); }
/** * Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object. * @param label The image label. * @return new object initialized with the copied values from the original object */ public SetImageLabel withLabel(final String label) { return new SetImageLabel(getVariantId(), getImageUrl(), label, isStaged()); }
/** * Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object. * @param staged specifiy if image is staged * @return new object initialized with the copied values from the original object */ public SetImageLabel withStaged(final Boolean staged) { return new SetImageLabel(getVariantId(), getImageUrl(), getLabel(), staged); } }
/** * Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object. * @param staged specifiy if image is staged * @return new object initialized with the copied values from the original object */ public SetImageLabel withStaged(final Boolean staged) { return new SetImageLabel(getVariantId(), getImageUrl(), getLabel(), staged); } }