Create VES client example for domain 'notification'
[oam.git] / features / devicemanager / g-ran / ru-fh / provider / src / main / java / org / opendaylight / yang / gen / v1 / urn / _3gpp / tsg / sa5 / nrm / types / rev180731 / TDistinguishedName.java
1 package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
2 import com.google.common.base.MoreObjects;
3 import java.beans.ConstructorProperties;
4 import java.io.Serializable;
5 import java.lang.Override;
6 import java.lang.String;
7 import java.util.Objects;
8 import org.opendaylight.yangtools.yang.binding.CodeHelpers;
9 import org.opendaylight.yangtools.yang.binding.TypeObject;
10
11 public class TDistinguishedName
12  implements TypeObject, Serializable {
13     private static final long serialVersionUID = 2209417379079206418L;
14     private final String _value;
15
16
17     @ConstructorProperties("value")
18     public TDistinguishedName(String _value) {
19     
20         Objects.requireNonNull(_value, "Supplied value may not be null");
21     
22         this._value = _value;
23     }
24     
25     /**
26      * Creates a copy from Source Object.
27      *
28      * @param source Source object
29      */
30     public TDistinguishedName(TDistinguishedName source) {
31         this._value = source._value;
32     }
33
34     public static TDistinguishedName getDefaultInstance(String defaultValue) {
35         return new TDistinguishedName(defaultValue);
36     }
37
38     public String getValue() {
39         return _value;
40     }
41
42
43     @Override
44     public int hashCode() {
45         return CodeHelpers.wrapperHashCode(_value);
46     }
47
48     @Override
49     public boolean equals(java.lang.Object obj) {
50         if (this == obj) {
51             return true;
52         }
53         if (obj == null) {
54             return false;
55         }
56         if (getClass() != obj.getClass()) {
57             return false;
58         }
59         TDistinguishedName other = (TDistinguishedName) obj;
60         if (!Objects.equals(_value, other._value)) {
61             return false;
62         }
63         return true;
64     }
65
66     @Override
67     public String toString() {
68         final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TDistinguishedName.class);
69         CodeHelpers.appendValue(helper, "_value", _value);
70         return helper.toString();
71     }
72 }
73