New VID UI - distribution fix
[vid.git] / vid-automation / src / test / java / org / opencomp / vid / model / mso / UserParam.java
1
2 package org.opencomp.vid.model.mso;
3
4 import com.fasterxml.jackson.annotation.*;
5 import org.apache.commons.lang3.builder.EqualsBuilder;
6 import org.apache.commons.lang3.builder.HashCodeBuilder;
7 import org.apache.commons.lang3.builder.ToStringBuilder;
8
9 import javax.annotation.Generated;
10 import java.util.HashMap;
11 import java.util.Map;
12
13 @JsonInclude(JsonInclude.Include.NON_NULL)
14 @Generated("org.jsonschema2pojo")
15 @JsonPropertyOrder({
16     "name",
17     "value"
18 })
19 public class UserParam {
20
21     @JsonProperty("name")
22     private String name;
23     @JsonProperty("value")
24     private String value;
25     @JsonIgnore
26     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
27
28     /**
29      * 
30      * @return
31      *     The name
32      */
33     @JsonProperty("name")
34     public String getName() {
35         return name;
36     }
37
38     /**
39      * 
40      * @param name
41      *     The name
42      */
43     @JsonProperty("name")
44     public void setName(String name) {
45         this.name = name;
46     }
47
48     /**
49      * 
50      * @return
51      *     The value
52      */
53     @JsonProperty("value")
54     public String getValue() {
55         return value;
56     }
57
58     /**
59      * 
60      * @param value
61      *     The value
62      */
63     @JsonProperty("value")
64     public void setValue(String value) {
65         this.value = value;
66     }
67
68     @Override
69     public String toString() {
70         return ToStringBuilder.reflectionToString(this);
71     }
72
73     @JsonAnyGetter
74     public Map<String, Object> getAdditionalProperties() {
75         return this.additionalProperties;
76     }
77
78     @JsonAnySetter
79     public void setAdditionalProperty(String name, Object value) {
80         this.additionalProperties.put(name, value);
81     }
82
83     @Override
84     public int hashCode() {
85         return new HashCodeBuilder().append(name).append(value).append(additionalProperties).toHashCode();
86     }
87
88     @Override
89     public boolean equals(Object other) {
90         if (other == this) {
91             return true;
92         }
93         if ((other instanceof UserParam) == false) {
94             return false;
95         }
96         UserParam rhs = ((UserParam) other);
97         return new EqualsBuilder().append(name, rhs.name).append(value, rhs.value).append(additionalProperties, rhs.additionalProperties).isEquals();
98     }
99
100 }