ru.yandex.qatools.allure.data.AllureAttachment Maven / Gradle / Ivy
package ru.yandex.qatools.allure.data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for allure-attachment complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="allure-attachment">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="uid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "allure-attachment")
public class AllureAttachment {
@XmlAttribute(name = "title", required = true)
protected String title;
@XmlAttribute(name = "source", required = true)
protected String source;
@XmlAttribute(name = "type", required = true)
protected String type;
@XmlAttribute(name = "size", required = true)
protected int size;
@XmlAttribute(name = "uid", required = true)
protected String uid;
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the size property.
*
*/
public int getSize() {
return size;
}
/**
* Sets the value of the size property.
*
*/
public void setSize(int value) {
this.size = value;
}
/**
* Gets the value of the uid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUid() {
return uid;
}
/**
* Sets the value of the uid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUid(String value) {
this.uid = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy