2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END=========================================================
\r
21 package org.openecomp.vid.mso.rest;
\r
23 import java.util.HashMap;
\r
24 import java.util.Map;
\r
26 import javax.annotation.Generated;
\r
28 import com.fasterxml.jackson.annotation.JsonAnyGetter;
\r
29 import com.fasterxml.jackson.annotation.JsonAnySetter;
\r
30 import com.fasterxml.jackson.annotation.JsonIgnore;
\r
31 import com.fasterxml.jackson.annotation.JsonInclude;
\r
32 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
\r
34 //import com.fasterxml.jackson.annotation.JsonInclude;
\r
35 //import com.fasterxml.jackson.annotation.JsonProperty;
\r
36 //import com.fasterxml.jackson.annotation.JsonPropertyOrder;
\r
37 import org.apache.commons.lang.builder.EqualsBuilder;
\r
38 import org.apache.commons.lang.builder.HashCodeBuilder;
\r
39 import org.apache.commons.lang.builder.ToStringBuilder;
\r
40 import java.util.List;
\r
43 * List of relatedModel structures that are related to a modelInfo being operated on.
\r
45 @JsonInclude(JsonInclude.Include.NON_NULL)
\r
46 @Generated("org.jsonschema2pojo")
\r
47 @JsonPropertyOrder({
\r
58 public class RequestList {
\r
60 /** The request list. */
\r
61 private List<RequestWrapper> requestList;
\r
63 /** The additional properties. */
\r
65 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
\r
70 * @return The RelatedModel List
\r
72 public List<RequestWrapper> getRequestList() {
\r
77 * Sets the request list.
\r
79 * @param l the new request list
\r
81 public void setRequestList(List<RequestWrapper> l) {
\r
82 this.requestList = l;
\r
86 * @see java.lang.Object#toString()
\r
89 public String toString() {
\r
90 return ToStringBuilder.reflectionToString(this);
\r
94 * Gets the additional properties.
\r
96 * @return the additional properties
\r
99 public Map<String, Object> getAdditionalProperties() {
\r
100 return this.additionalProperties;
\r
104 * Sets the additional property.
\r
106 * @param name the name
\r
107 * @param value the value
\r
110 public void setAdditionalProperty(String name, Object value) {
\r
111 this.additionalProperties.put(name, value);
\r
115 * @see java.lang.Object#hashCode()
\r
118 public int hashCode() {
\r
119 return new HashCodeBuilder().append(getRequestList()).append(additionalProperties).toHashCode();
\r
123 * @see java.lang.Object#equals(java.lang.Object)
\r
126 public boolean equals(Object other) {
\r
127 if (other == this) {
\r
130 if ((other instanceof RequestList) == false) {
\r
133 RequestList rhs = ((RequestList) other);
\r
134 return new EqualsBuilder().append(getRequestList(), rhs.getRequestList()).append(additionalProperties, rhs.additionalProperties).isEquals();
\r