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

io.qameta.allure.entity.Attachment Maven / Gradle / Ivy

There is a newer version: 2.30.0
Show newest version

package io.qameta.allure.entity;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for Attachment complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Attachment">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="size" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Attachment", propOrder = { }) public class Attachment implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String uid; @XmlElement(required = true) protected String name; @XmlElement(required = true) protected String source; @XmlElement(required = true) protected String type; @XmlElement(required = true, type = Long.class, nillable = true) protected Long size; /** * 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; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = 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. * * @return * possible object is * {@link Long } * */ public Long getSize() { return size; } /** * Sets the value of the size property. * * @param value * allowed object is * {@link Long } * */ public void setSize(Long value) { this.size = value; } public Attachment withUid(String value) { setUid(value); return this; } public Attachment withName(String value) { setName(value); return this; } public Attachment withSource(String value) { setSource(value); return this; } public Attachment withType(String value) { setType(value); return this; } public Attachment withSize(Long value) { setSize(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy