
com.consol.citrus.model.testcase.kubernetes.CreateServiceModel Maven / Gradle / Ivy
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert
// Siehe https://javaee.github.io/jaxb-v2/
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2024.04.24 um 05:13:18 PM CEST
//
package com.consol.citrus.model.testcase.kubernetes;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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 ref="{http://www.citrusframework.org/schema/kubernetes/testcase}description" minOccurs="0"/>
* <element name="template" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="spec" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="selector">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ports" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" default="TCP" />
* <attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="target-port" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node-port" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="client" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"template",
"spec"
})
@XmlRootElement(name = "create-service")
public class CreateServiceModel {
protected String description;
protected CreateServiceModel.Template template;
protected CreateServiceModel.Spec spec;
@XmlAttribute(name = "client")
protected String client;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "namespace")
protected String namespace;
/**
* Ruft den Wert der description-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Legt den Wert der description-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Ruft den Wert der template-Eigenschaft ab.
*
* @return
* possible object is
* {@link CreateServiceModel.Template }
*
*/
public CreateServiceModel.Template getTemplate() {
return template;
}
/**
* Legt den Wert der template-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CreateServiceModel.Template }
*
*/
public void setTemplate(CreateServiceModel.Template value) {
this.template = value;
}
/**
* Ruft den Wert der spec-Eigenschaft ab.
*
* @return
* possible object is
* {@link CreateServiceModel.Spec }
*
*/
public CreateServiceModel.Spec getSpec() {
return spec;
}
/**
* Legt den Wert der spec-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CreateServiceModel.Spec }
*
*/
public void setSpec(CreateServiceModel.Spec value) {
this.spec = value;
}
/**
* Ruft den Wert der client-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClient() {
return client;
}
/**
* Legt den Wert der client-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClient(String value) {
this.client = value;
}
/**
* Ruft den Wert der name-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Legt den Wert der name-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Ruft den Wert der label-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Legt den Wert der label-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Ruft den Wert der namespace-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Legt den Wert der namespace-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
/**
* 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="selector">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ports" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" default="TCP" />
* <attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="target-port" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node-port" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"selector",
"ports"
})
public static class Spec {
@XmlElement(required = true)
protected CreateServiceModel.Spec.Selector selector;
protected CreateServiceModel.Spec.Ports ports;
/**
* Ruft den Wert der selector-Eigenschaft ab.
*
* @return
* possible object is
* {@link CreateServiceModel.Spec.Selector }
*
*/
public CreateServiceModel.Spec.Selector getSelector() {
return selector;
}
/**
* Legt den Wert der selector-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CreateServiceModel.Spec.Selector }
*
*/
public void setSelector(CreateServiceModel.Spec.Selector value) {
this.selector = value;
}
/**
* Ruft den Wert der ports-Eigenschaft ab.
*
* @return
* possible object is
* {@link CreateServiceModel.Spec.Ports }
*
*/
public CreateServiceModel.Spec.Ports getPorts() {
return ports;
}
/**
* Legt den Wert der ports-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CreateServiceModel.Spec.Ports }
*
*/
public void setPorts(CreateServiceModel.Spec.Ports value) {
this.ports = value;
}
/**
* 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">
* <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" default="TCP" />
* <attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="target-port" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node-port" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Ports {
@XmlAttribute(name = "protocol")
protected String protocol;
@XmlAttribute(name = "port", required = true)
protected String port;
@XmlAttribute(name = "target-port")
protected String targetPort;
@XmlAttribute(name = "node-port")
protected String nodePort;
/**
* Ruft den Wert der protocol-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProtocol() {
if (protocol == null) {
return "TCP";
} else {
return protocol;
}
}
/**
* Legt den Wert der protocol-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProtocol(String value) {
this.protocol = value;
}
/**
* Ruft den Wert der port-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPort() {
return port;
}
/**
* Legt den Wert der port-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPort(String value) {
this.port = value;
}
/**
* Ruft den Wert der targetPort-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetPort() {
return targetPort;
}
/**
* Legt den Wert der targetPort-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetPort(String value) {
this.targetPort = value;
}
/**
* Ruft den Wert der nodePort-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNodePort() {
return nodePort;
}
/**
* Legt den Wert der nodePort-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNodePort(String value) {
this.nodePort = value;
}
}
/**
* 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">
* <attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Selector {
@XmlAttribute(name = "label", required = true)
protected String label;
/**
* Ruft den Wert der label-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Legt den Wert der label-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
}
}
/**
* 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">
* <attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Template {
@XmlAttribute(name = "file", required = true)
protected String file;
/**
* Ruft den Wert der file-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFile() {
return file;
}
/**
* Legt den Wert der file-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFile(String value) {
this.file = value;
}
}
}