public class Attachment
public Attachment(@NotNull
AttachmentType type,
@NotNull
Payload payload)
@NotNull public AttachmentType getType()
@NotNull public Payload getPayload()
@NotNull public AttachmentType component1()
@NotNull public Payload component2()
@NotNull public Attachment copy(@NotNull AttachmentType type, @NotNull Payload payload)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)