AAI Query optimization for VID
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / Customer.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.vid.aai;
22
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import java.util.List;
26
27 @JsonIgnoreProperties(ignoreUnknown = true)
28 public class Customer {
29         
30     @JsonProperty("global-customer-id")
31     public String globalCustomerId;
32
33     @JsonProperty("subscriber-name")
34     public String subscriberName;
35
36     public String getGlobalCustomerId() {
37         return globalCustomerId;
38     }
39
40     public void setGlobalCustomerId(String globalCustomerId) {
41         this.globalCustomerId = globalCustomerId;
42     }
43
44     public String getSubscriberName() {
45         return subscriberName;
46     }
47
48     public void setSubscriberName(String subscriberName) {
49         this.subscriberName = subscriberName;
50     }
51
52     public String getSubscriberType() {
53         return subscriberType;
54     }
55
56     public void setSubscriberType(String subscriberType) {
57         this.subscriberType = subscriberType;
58     }
59
60     public String getResourceVersion() {
61         return resourceVersion;
62     }
63
64     public void setResourceVersion(String resourceVersion) {
65         this.resourceVersion = resourceVersion;
66     }
67
68     public List<CustomerRelatedNodes> getCustomerRelatedNodes() {
69         return customerRelatedNodes;
70     }
71
72     public void setCustomerRelatedNodes(List<CustomerRelatedNodes> customerRelatedNodes) {
73         this.customerRelatedNodes = customerRelatedNodes;
74     }
75
76     @JsonProperty("subscriber-type")
77     public String subscriberType;
78
79     @JsonProperty("resource-version")
80     public String resourceVersion;
81
82     @JsonProperty("related-nodes")
83     public List<CustomerRelatedNodes> customerRelatedNodes;
84 }