Class ReceiveResponseModel.Body.Validate
- java.lang.Object
-
- com.consol.citrus.model.testcase.http.ReceiveResponseModel.Body.Validate
-
- Enclosing class:
- ReceiveResponseModel.Body
public static class ReceiveResponseModel.Body.Validate extends Object
Java-Klasse für anonymous complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="script" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="groovy"/> </restriction> </simpleType> </attribute> <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> </element> <element name="xpath" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="json-path" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="namespace" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReceiveResponseModel.Body.Validate.JsonPath
Java-Klasse für anonymous complex type.static class
ReceiveResponseModel.Body.Validate.Namespace
Java-Klasse für anonymous complex type.static class
ReceiveResponseModel.Body.Validate.Script
Java-Klasse für anonymous complex type.static class
ReceiveResponseModel.Body.Validate.Xpath
Java-Klasse für anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<ReceiveResponseModel.Body.Validate.JsonPath>
jsonPaths
protected List<ReceiveResponseModel.Body.Validate.Namespace>
namespaces
protected String
path
protected String
resultType
protected ReceiveResponseModel.Body.Validate.Script
script
protected String
value
protected List<ReceiveResponseModel.Body.Validate.Xpath>
xpaths
-
Constructor Summary
Constructors Constructor Description Validate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReceiveResponseModel.Body.Validate.JsonPath>
getJsonPaths()
Gets the value of the jsonPaths property.List<ReceiveResponseModel.Body.Validate.Namespace>
getNamespaces()
Gets the value of the namespaces property.String
getPath()
Ruft den Wert der path-Eigenschaft ab.String
getResultType()
Ruft den Wert der resultType-Eigenschaft ab.ReceiveResponseModel.Body.Validate.Script
getScript()
Ruft den Wert der script-Eigenschaft ab.String
getValue()
Ruft den Wert der value-Eigenschaft ab.List<ReceiveResponseModel.Body.Validate.Xpath>
getXpaths()
Gets the value of the xpaths property.void
setPath(String value)
Legt den Wert der path-Eigenschaft fest.void
setResultType(String value)
Legt den Wert der resultType-Eigenschaft fest.void
setScript(ReceiveResponseModel.Body.Validate.Script value)
Legt den Wert der script-Eigenschaft fest.void
setValue(String value)
Legt den Wert der value-Eigenschaft fest.
-
-
-
Field Detail
-
script
protected ReceiveResponseModel.Body.Validate.Script script
-
xpaths
protected List<ReceiveResponseModel.Body.Validate.Xpath> xpaths
-
jsonPaths
protected List<ReceiveResponseModel.Body.Validate.JsonPath> jsonPaths
-
namespaces
protected List<ReceiveResponseModel.Body.Validate.Namespace> namespaces
-
path
protected String path
-
value
protected String value
-
resultType
protected String resultType
-
-
Method Detail
-
getScript
public ReceiveResponseModel.Body.Validate.Script getScript()
Ruft den Wert der script-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Body.Validate.Script
-
setScript
public void setScript(ReceiveResponseModel.Body.Validate.Script value)
Legt den Wert der script-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveResponseModel.Body.Validate.Script
-
getXpaths
public List<ReceiveResponseModel.Body.Validate.Xpath> getXpaths()
Gets the value of the xpaths property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the xpaths property.For example, to add a new item, do as follows:
getXpaths().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveResponseModel.Body.Validate.Xpath
-
getJsonPaths
public List<ReceiveResponseModel.Body.Validate.JsonPath> getJsonPaths()
Gets the value of the jsonPaths property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the jsonPaths property.For example, to add a new item, do as follows:
getJsonPaths().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveResponseModel.Body.Validate.JsonPath
-
getNamespaces
public List<ReceiveResponseModel.Body.Validate.Namespace> getNamespaces()
Gets the value of the namespaces property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the namespaces property.For example, to add a new item, do as follows:
getNamespaces().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveResponseModel.Body.Validate.Namespace
-
getPath
public String getPath()
Ruft den Wert der path-Eigenschaft ab.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Legt den Wert der path-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getValue
public String getValue()
Ruft den Wert der value-Eigenschaft ab.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Legt den Wert der value-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getResultType
public String getResultType()
Ruft den Wert der resultType-Eigenschaft ab.- Returns:
- possible object is
String
-
-