2 package org.onap.vid.model.mso;
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;
9 import javax.annotation.Generated;
10 import java.util.HashMap;
15 * fields providing information about the subscriber associated with the request
18 @JsonInclude(JsonInclude.Include.NON_NULL)
19 @Generated("org.jsonschema2pojo")
22 "subscriberCommonSiteId",
25 public class SubscriberInfo {
28 * global Customer Id understood by A&AI
31 @JsonProperty("globalSubscriberId")
32 private String globalSubscriberId;
34 * id representing the location of the subscriber
37 @JsonProperty("subscriberCommonSiteId")
38 private String subscriberCommonSiteId;
40 * name of the customer or subscriber
43 @JsonProperty("subscriberName")
44 private String subscriberName;
46 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
49 * global Customer Id understood by A&AI
52 * The globalSubscriberId
54 @JsonProperty("globalSubscriberId")
55 public String getGlobalSubscriberId() {
56 return globalSubscriberId;
60 * global Customer Id understood by A&AI
62 * @param globalSubscriberId
63 * The globalSubscriberId
65 @JsonProperty("globalSubscriberId")
66 public void setGlobalSubscriberId(String globalSubscriberId) {
67 this.globalSubscriberId = globalSubscriberId;
71 * id representing the location of the subscriber
74 * The subscriberCommonSiteId
76 @JsonProperty("subscriberCommonSiteId")
77 public String getSubscriberCommonSiteId() {
78 return subscriberCommonSiteId;
82 * id representing the location of the subscriber
84 * @param subscriberCommonSiteId
85 * The subscriberCommonSiteId
87 @JsonProperty("subscriberCommonSiteId")
88 public void setSubscriberCommonSiteId(String subscriberCommonSiteId) {
89 this.subscriberCommonSiteId = subscriberCommonSiteId;
93 * name of the customer or subscriber
98 @JsonProperty("subscriberName")
99 public String getSubscriberName() {
100 return subscriberName;
104 * name of the customer or subscriber
106 * @param subscriberName
109 @JsonProperty("subscriberName")
110 public void setSubscriberName(String subscriberName) {
111 this.subscriberName = subscriberName;
115 public String toString() {
116 return ToStringBuilder.reflectionToString(this);
120 public Map<String, Object> getAdditionalProperties() {
121 return this.additionalProperties;
125 public void setAdditionalProperty(String name, Object value) {
126 this.additionalProperties.put(name, value);
130 public int hashCode() {
131 return new HashCodeBuilder().append(globalSubscriberId).append(subscriberCommonSiteId).append(subscriberName).append(additionalProperties).toHashCode();
135 public boolean equals(Object other) {
139 if ((other instanceof SubscriberInfo) == false) {
142 SubscriberInfo rhs = ((SubscriberInfo) other);
143 return new EqualsBuilder().append(globalSubscriberId, rhs.globalSubscriberId).append(subscriberCommonSiteId, rhs.subscriberCommonSiteId).append(subscriberName, rhs.subscriberName).append(additionalProperties, rhs.additionalProperties).isEquals();