Class AnnouncementBannerConfiguration
java.lang.Object
io.github.primelib.jira4j.restv3.model.AnnouncementBannerConfiguration
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AnnouncementBannerConfiguration
extends Object
AnnouncementBannerConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumVisibility of the announcement banner. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringHash of the banner data.protected BooleanFlag indicating if the announcement banner can be dismissed by the user.protected BooleanFlag indicating if the announcement banner is enabled or not.protected StringThe text on the announcement banner.Visibility of the announcement banner. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnnouncementBannerConfiguration(String hashId, Boolean isDismissible, Boolean isEnabled, String message, AnnouncementBannerConfiguration.VisibilityEnum visibility) Constructs a validated instance ofAnnouncementBannerConfiguration.Constructs a validated instance ofAnnouncementBannerConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()hashId()Hash of the banner data.Hash of the banner data.Flag indicating if the announcement banner can be dismissed by the user.isDismissible(Boolean isDismissible) Flag indicating if the announcement banner can be dismissed by the user.Flag indicating if the announcement banner is enabled or not.Flag indicating if the announcement banner is enabled or not.message()The text on the announcement banner.The text on the announcement banner.toString()Visibility of the announcement banner.Visibility of the announcement banner.
-
Field Details
-
hashId
Hash of the banner data. The client detects updates by comparing hash IDs. -
isDismissible
Flag indicating if the announcement banner can be dismissed by the user. -
isEnabled
Flag indicating if the announcement banner is enabled or not. -
message
The text on the announcement banner. -
visibility
Visibility of the announcement banner.
-
-
Constructor Details
-
AnnouncementBannerConfiguration
Constructs a validated instance ofAnnouncementBannerConfiguration.- Parameters:
spec- the specification to process
-
AnnouncementBannerConfiguration
@Internal public AnnouncementBannerConfiguration(String hashId, Boolean isDismissible, Boolean isEnabled, String message, AnnouncementBannerConfiguration.VisibilityEnum visibility) Constructs a validated instance ofAnnouncementBannerConfiguration.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AnnouncementBannerConfiguration(Consumer)instead.- Parameters:
hashId- Hash of the banner data. The client detects updates by comparing hash IDs.isDismissible- Flag indicating if the announcement banner can be dismissed by the user.isEnabled- Flag indicating if the announcement banner is enabled or not.message- The text on the announcement banner.visibility- Visibility of the announcement banner.
-
AnnouncementBannerConfiguration
protected AnnouncementBannerConfiguration()
-
-
Method Details
-
builder
-
hashId
Hash of the banner data. The client detects updates by comparing hash IDs. -
isDismissible
Flag indicating if the announcement banner can be dismissed by the user. -
isEnabled
Flag indicating if the announcement banner is enabled or not. -
message
The text on the announcement banner. -
visibility
Visibility of the announcement banner. -
hashId
Hash of the banner data. The client detects updates by comparing hash IDs.- Returns:
this.
-
isDismissible
Flag indicating if the announcement banner can be dismissed by the user.- Returns:
this.
-
isEnabled
Flag indicating if the announcement banner is enabled or not.- Returns:
this.
-
message
The text on the announcement banner.- Returns:
this.
-
visibility
public AnnouncementBannerConfiguration visibility(AnnouncementBannerConfiguration.VisibilityEnum visibility) Visibility of the announcement banner.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-