diff --git a/allure-model/src/main/java/io/qameta/allure/model/Attachment.java b/allure-model/src/main/java/io/qameta/allure/model/Attachment.java index dc5b36e7..ef938f24 100644 --- a/allure-model/src/main/java/io/qameta/allure/model/Attachment.java +++ b/allure-model/src/main/java/io/qameta/allure/model/Attachment.java @@ -32,6 +32,7 @@ public class Attachment implements Serializable { private String name; private String source; private String type; + private Long size; /** * Gets name. @@ -93,4 +94,24 @@ public Attachment setType(final String value) { return this; } + /** + * Gets size. + * + * @return the size + */ + public Long getSize() { + return size; + } + + /** + * Sets size. + * + * @param value the value + * @return self for method chaining + */ + public Attachment setSize(final Long value) { + this.size = value; + return this; + } + }