Class AttachmentArchiveMetadataReadable
java.lang.Object
io.github.primelib.jira4j.restv2.model.AttachmentArchiveMetadataReadable
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AttachmentArchiveMetadataReadable
extends Object
AttachmentArchiveMetadataReadable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AttachmentArchiveItemReadable>
The list of the items included in the archive.protected Long
The ID of the attachment.protected String
The MIME type of the attachment.protected String
The name of the archive file.protected Long
The number of items included in the archive. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a validated instance ofAttachmentArchiveMetadataReadable
.AttachmentArchiveMetadataReadable
(List<AttachmentArchiveItemReadable> entries, Long id, String mediaType, String name, Long totalEntryCount) Constructs a validated instance ofAttachmentArchiveMetadataReadable
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
entries()
The list of the items included in the archive.entries
(List<AttachmentArchiveItemReadable> entries) The list of the items included in the archive.boolean
int
hashCode()
id()
The ID of the attachment.The ID of the attachment.The MIME type of the attachment.The MIME type of the attachment.name()
The name of the archive file.The name of the archive file.toString()
The number of items included in the archive.totalEntryCount
(Long totalEntryCount) The number of items included in the archive.
-
Field Details
-
entries
The list of the items included in the archive. -
id
The ID of the attachment. -
mediaType
The MIME type of the attachment. -
name
The name of the archive file. -
totalEntryCount
The number of items included in the archive.
-
-
Constructor Details
-
AttachmentArchiveMetadataReadable
Constructs a validated instance ofAttachmentArchiveMetadataReadable
.- Parameters:
spec
- the specification to process
-
AttachmentArchiveMetadataReadable
@Internal public AttachmentArchiveMetadataReadable(List<AttachmentArchiveItemReadable> entries, Long id, String mediaType, String name, Long totalEntryCount) Constructs a validated instance ofAttachmentArchiveMetadataReadable
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AttachmentArchiveMetadataReadable(Consumer)
instead.- Parameters:
entries
- The list of the items included in the archive.id
- The ID of the attachment.mediaType
- The MIME type of the attachment.name
- The name of the archive file.totalEntryCount
- The number of items included in the archive.
-
AttachmentArchiveMetadataReadable
protected AttachmentArchiveMetadataReadable()
-
-
Method Details
-
builder
-
entries
The list of the items included in the archive. -
id
The ID of the attachment. -
mediaType
The MIME type of the attachment. -
name
The name of the archive file. -
totalEntryCount
The number of items included in the archive. -
entries
The list of the items included in the archive.- Returns:
this
.
-
id
The ID of the attachment.- Returns:
this
.
-
mediaType
The MIME type of the attachment.- Returns:
this
.
-
name
The name of the archive file.- Returns:
this
.
-
totalEntryCount
The number of items included in the archive.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-