2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-2018 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=========================================================
21 package org.onap.aai.domain.restServiceException;
23 import com.fasterxml.jackson.annotation.*;
25 import java.util.HashMap;
28 import javax.annotation.Generated;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @Generated("org.jsonschema2pojo")
32 @JsonPropertyOrder({"serviceException"})
33 public class RequestError {
35 @JsonProperty("serviceException")
36 private ServiceException serviceException;
38 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
41 * Gets the service exception.
43 * @return The serviceException
45 @JsonProperty("serviceException")
46 public ServiceException getServiceException() {
47 return serviceException;
51 * Sets the service exception.
53 * @param serviceException The serviceException
55 @JsonProperty("serviceException")
56 public void setServiceException(ServiceException serviceException) {
57 this.serviceException = serviceException;
61 * Gets the additional properties.
63 * @return the additional properties
66 public Map<String, Object> getAdditionalProperties() {
67 return this.additionalProperties;
71 * Sets the additional property.
73 * @param name the name
74 * @param value the value
77 public void setAdditionalProperty(String name, Object value) {
78 this.additionalProperties.put(name, value);