2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
24 // Any modifications to this file will be lost upon recompilation of the source schema.
25 // Generated on: 2016.04.07 at 08:25:52 AM CDT
29 package org.onap.so.serviceinstancebeans;
31 import javax.xml.bind.annotation.XmlAccessType;
32 import javax.xml.bind.annotation.XmlAccessorType;
33 import javax.xml.bind.annotation.XmlRootElement;
34 import javax.xml.bind.annotation.XmlType;
35 import org.apache.commons.lang3.builder.ToStringBuilder;
36 import com.fasterxml.jackson.annotation.JsonRootName;
41 * Java class for anonymous complex type.
44 * The following schema fragment specifies the expected content contained within this class.
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
52 * <element name="policyException" type="{http://org.onap/so/request/types/v1}policyException"/>
53 * <element name="serviceException" type="{http://org.onap/so/request/types/v1}serviceException"/>
57 * </complexContent>
63 @XmlAccessorType(XmlAccessType.FIELD)
64 @XmlType(name = "", propOrder = {"policyException", "serviceException"})
65 @XmlRootElement(name = "requestError")
66 @JsonRootName(value = "requestError")
67 public class RequestError {
69 protected PolicyException policyException;
70 protected ServiceException serviceException;
73 * Gets the value of the policyException property.
75 * @return possible object is {@link PolicyException }
78 public PolicyException getPolicyException() {
79 return policyException;
83 * Sets the value of the policyException property.
85 * @param value allowed object is {@link PolicyException }
88 public void setPolicyException(PolicyException value) {
89 this.policyException = value;
93 * Gets the value of the serviceException property.
95 * @return possible object is {@link ServiceException }
98 public ServiceException getServiceException() {
99 return serviceException;
103 * Sets the value of the serviceException property.
105 * @param value allowed object is {@link ServiceException }
108 public void setServiceException(ServiceException value) {
109 this.serviceException = value;
113 public String toString() {
114 return new ToStringBuilder(this).append("policyException", policyException)
115 .append("serviceException", serviceException).toString();