Reduce the number of problems in aai-common by removing unused imports
[aai/aai-common.git] / aai-els-onap-logging / src / main / java / org / onap / aai / domain / restServiceException / RequestError.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
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
10  *
11  *    http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.onap.aai.domain.restServiceException;
22
23 import com.fasterxml.jackson.annotation.*;
24
25 import java.util.HashMap;
26 import java.util.Map;
27
28 import javax.annotation.Generated;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @Generated("org.jsonschema2pojo")
32 @JsonPropertyOrder({"serviceException"})
33 public class RequestError {
34
35     @JsonProperty("serviceException")
36     private ServiceException serviceException;
37     @JsonIgnore
38     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
39
40     /**
41      * Gets the service exception.
42      *
43      * @return The serviceException
44      */
45     @JsonProperty("serviceException")
46     public ServiceException getServiceException() {
47         return serviceException;
48     }
49
50     /**
51      * Sets the service exception.
52      *
53      * @param serviceException The serviceException
54      */
55     @JsonProperty("serviceException")
56     public void setServiceException(ServiceException serviceException) {
57         this.serviceException = serviceException;
58     }
59
60     /**
61      * Gets the additional properties.
62      *
63      * @return the additional properties
64      */
65     @JsonAnyGetter
66     public Map<String, Object> getAdditionalProperties() {
67         return this.additionalProperties;
68     }
69
70     /**
71      * Sets the additional property.
72      *
73      * @param name the name
74      * @param value the value
75      */
76     @JsonAnySetter
77     public void setAdditionalProperty(String name, Object value) {
78         this.additionalProperties.put(name, value);
79     }
80
81 }