2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 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.vid.aai;
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import java.util.List;
27 @JsonIgnoreProperties(ignoreUnknown = true)
28 public class Customer {
30 @JsonProperty("global-customer-id")
31 public String globalCustomerId;
33 @JsonProperty("subscriber-name")
34 public String subscriberName;
36 public String getGlobalCustomerId() {
37 return globalCustomerId;
40 public void setGlobalCustomerId(String globalCustomerId) {
41 this.globalCustomerId = globalCustomerId;
44 public String getSubscriberName() {
45 return subscriberName;
48 public void setSubscriberName(String subscriberName) {
49 this.subscriberName = subscriberName;
52 public String getSubscriberType() {
53 return subscriberType;
56 public void setSubscriberType(String subscriberType) {
57 this.subscriberType = subscriberType;
60 public String getResourceVersion() {
61 return resourceVersion;
64 public void setResourceVersion(String resourceVersion) {
65 this.resourceVersion = resourceVersion;
68 public List<CustomerRelatedNodes> getCustomerRelatedNodes() {
69 return customerRelatedNodes;
72 public void setCustomerRelatedNodes(List<CustomerRelatedNodes> customerRelatedNodes) {
73 this.customerRelatedNodes = customerRelatedNodes;
76 @JsonProperty("subscriber-type")
77 public String subscriberType;
79 @JsonProperty("resource-version")
80 public String resourceVersion;
82 @JsonProperty("related-nodes")
83 public List<CustomerRelatedNodes> customerRelatedNodes;