We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad4638 commit 5f69c28Copy full SHA for 5f69c28
allure-model/src/main/java/io/qameta/allure/model/Attachment.java
@@ -32,6 +32,7 @@ public class Attachment implements Serializable {
32
private String name;
33
private String source;
34
private String type;
35
+ private Long size;
36
37
/**
38
* Gets name.
@@ -93,4 +94,24 @@ public Attachment setType(final String value) {
93
94
return this;
95
}
96
97
+ /**
98
+ * Gets size.
99
+ *
100
+ * @return the size
101
+ */
102
+ public Long getSize() {
103
+ return size;
104
+ }
105
+
106
107
+ * Sets size.
108
109
+ * @param value the value
110
+ * @return self for method chaining
111
112
+ public Attachment setSize(final Long value) {
113
+ this.size = value;
114
+ return this;
115
116
117
0 commit comments