io.orangebeard.client.entity.attachment.Attachment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Orangebeard Java Client, to be used in Orangebeard Java Listeners
package io.orangebeard.client.entity.attachment;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import java.time.ZonedDateTime;
import java.util.UUID;
@AllArgsConstructor
@Getter
public class Attachment {
private AttachmentFile file;
private AttachmentMetaData metaData;
@AllArgsConstructor
@Getter
@Builder
@NoArgsConstructor
public static class AttachmentFile {
private String name;
private byte[] content;
private String contentType;
}
@AllArgsConstructor
@Getter
@Builder
@NoArgsConstructor
public static class AttachmentMetaData {
private UUID testRunUUID;
private UUID testUUID;
private UUID stepUUID;
private UUID logUUID;
private ZonedDateTime attachmentTime;
}
}