Convert tabs to spaces
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / openecomp / sdnc / sli / aai / data / ErrorResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.sdnc.sli.aai.data;
23
24 import java.util.HashMap;
25 import java.util.Map;
26
27 import javax.annotation.Generated;
28
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonAnySetter;
31 import com.fasterxml.jackson.annotation.JsonIgnore;
32 import com.fasterxml.jackson.annotation.JsonInclude;
33 import com.fasterxml.jackson.annotation.JsonProperty;
34 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
35
36 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @Generated("org.jsonschema2pojo")
38 @JsonPropertyOrder({
39     "requestError"
40 })
41 public class ErrorResponse {
42
43     @JsonProperty("requestError")
44     private RequestError requestError;
45     @JsonIgnore
46     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
47
48     /**
49      * 
50      * @return
51      *     The requestError
52      */
53     @JsonProperty("requestError")
54     public RequestError getRequestError() {
55         return requestError;
56     }
57
58     /**
59      * 
60      * @param requestError
61      *     The requestError
62      */
63     @JsonProperty("requestError")
64     public void setRequestError(RequestError requestError) {
65         this.requestError = requestError;
66     }
67
68     @JsonAnyGetter
69     public Map<String, Object> getAdditionalProperties() {
70         return this.additionalProperties;
71     }
72
73     @JsonAnySetter
74     public void setAdditionalProperty(String name, Object value) {
75         this.additionalProperties.put(name, value);
76     }
77
78 }