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

io.qameta.allure.graph.GraphData Maven / Gradle / Ivy

There is a newer version: 2.32.0
Show newest version

package io.qameta.allure.graph;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import io.qameta.allure.entity.Status;
import io.qameta.allure.entity.Time;
import io.qameta.allure.severity.SeverityLevel;


/**
 * 

Java class for GraphData complex type. * *

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

 * <complexType name="GraphData">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="time" type="{urn:allure.qameta.io}Time"/>
 *         <element name="status" type="{urn:allure.qameta.io}Status"/>
 *         <element name="severity" type="{urn:severity.allure.qameta.io}SeverityLevel"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GraphData", propOrder = { "uid", "name", "time", "status", "severity" }) public class GraphData implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String uid; @XmlElement(required = true) protected String name; @XmlElement(required = true) protected Time time; @XmlElement(required = true) protected Status status; @XmlElement(required = true) @XmlSchemaType(name = "string") protected SeverityLevel severity; /** * 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 time property. * * @return * possible object is * {@link Time } * */ public Time getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link Time } * */ public void setTime(Time value) { this.time = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link Status } * */ public Status getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Status } * */ public void setStatus(Status value) { this.status = value; } /** * Gets the value of the severity property. * * @return * possible object is * {@link SeverityLevel } * */ public SeverityLevel getSeverity() { return severity; } /** * Sets the value of the severity property. * * @param value * allowed object is * {@link SeverityLevel } * */ public void setSeverity(SeverityLevel value) { this.severity = value; } public GraphData withUid(String value) { setUid(value); return this; } public GraphData withName(String value) { setName(value); return this; } public GraphData withTime(Time value) { setTime(value); return this; } public GraphData withStatus(Status value) { setStatus(value); return this; } public GraphData withSeverity(SeverityLevel value) { setSeverity(value); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy