Class AttachmentSettings
java.lang.Object
io.github.primelib.jira4j.restv2.model.AttachmentSettings
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AttachmentSettings
extends Object
AttachmentSettings
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttachmentSettings(Boolean enabled, Long uploadLimit) Constructs a validated instance ofAttachmentSettings.Constructs a validated instance ofAttachmentSettings. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanenabled()Whether the ability to add attachments is enabled.Whether the ability to add attachments is enabled.booleaninthashCode()toString()The maximum size of attachments permitted, in bytes.uploadLimit(Long uploadLimit) The maximum size of attachments permitted, in bytes.
-
Field Details
-
enabled
Whether the ability to add attachments is enabled. -
uploadLimit
The maximum size of attachments permitted, in bytes.
-
-
Constructor Details
-
AttachmentSettings
Constructs a validated instance ofAttachmentSettings.- Parameters:
spec- the specification to process
-
AttachmentSettings
Constructs a validated instance ofAttachmentSettings.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AttachmentSettings(Consumer)instead.- Parameters:
enabled- Whether the ability to add attachments is enabled.uploadLimit- The maximum size of attachments permitted, in bytes.
-
AttachmentSettings
protected AttachmentSettings()
-
-
Method Details
-
builder
-
enabled
Whether the ability to add attachments is enabled. -
uploadLimit
The maximum size of attachments permitted, in bytes. -
enabled
Whether the ability to add attachments is enabled.- Returns:
this.
-
uploadLimit
The maximum size of attachments permitted, in bytes.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-