All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.orangebeard.client.entity.attachment.Attachment Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy