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.restPolicyException;
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({"policyException"})
33 public class RequestError {
35 @JsonProperty("policyException")
36 private PolicyException policyException;
38 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
41 * Gets the policy exception.
43 * @return The policyException
45 @JsonProperty("policyException")
46 public PolicyException getPolicyException() {
47 return policyException;
51 * Sets the policy exception.
53 * @param policyException The policyException
55 @JsonProperty("policyException")
56 public void setPolicyException(PolicyException policyException) {
57 this.policyException = policyException;
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);