de.gematik.ws.conn.eventservice.v7.GetSubscriptionResponse Maven / Gradle / Ivy
package de.gematik.ws.conn.eventservice.v7;
import java.util.ArrayList;
import java.util.List;
import de.gematik.ws.conn.connectorcommon.v5.Status;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://ws.gematik.de/conn/ConnectorCommon/v5.0}Status"/>
* <element name="Subscriptions">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://ws.gematik.de/conn/EventService/v7.2}Subscription" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"status",
"subscriptions"
})
@XmlRootElement(name = "GetSubscriptionResponse")
public class GetSubscriptionResponse {
@XmlElement(name = "Status", namespace = "http://ws.gematik.de/conn/ConnectorCommon/v5.0", required = true)
protected Status status;
@XmlElement(name = "Subscriptions", required = true)
protected GetSubscriptionResponse.Subscriptions subscriptions;
/**
* 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 subscriptions property.
*
* @return
* possible object is
* {@link GetSubscriptionResponse.Subscriptions }
*
*/
public GetSubscriptionResponse.Subscriptions getSubscriptions() {
return subscriptions;
}
/**
* Sets the value of the subscriptions property.
*
* @param value
* allowed object is
* {@link GetSubscriptionResponse.Subscriptions }
*
*/
public void setSubscriptions(GetSubscriptionResponse.Subscriptions value) {
this.subscriptions = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://ws.gematik.de/conn/EventService/v7.2}Subscription" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"subscription"
})
public static class Subscriptions {
@XmlElement(name = "Subscription")
protected List subscription;
/**
* Gets the value of the subscription 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 Jakarta XML Binding object.
* This is why there is not a set
method for the subscription property.
*
*
* For example, to add a new item, do as follows:
*
* getSubscription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubscriptionType }
*
*
*/
public List getSubscription() {
if (subscription == null) {
subscription = new ArrayList();
}
return this.subscription;
}
}
}