2 * Copyright 2016-2017 ZTE Corporation.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.usecaseui.server.service.lcm.domain.aai.bean;
18 import com.fasterxml.jackson.annotation.JsonCreator;
19 import com.fasterxml.jackson.annotation.JsonProperty;
21 public class ServiceInstance {
23 private String globalCustomerId;
25 private String serviceType;
27 private String serviceInstanceId;
29 private String subscriberName;
31 private String subscriberType;
33 private String serviceInstanceName;
35 private String serviceInstanceLocationId;
38 public ServiceInstance(
39 @JsonProperty("global-customer-id") String globalCustomerId,
40 @JsonProperty("service-type") String serviceType,
41 @JsonProperty("service-instance-id") String serviceInstanceId,
42 @JsonProperty("subscriber-name") String subscriberName,
43 @JsonProperty("subscriber-type") String subscriberType,
44 @JsonProperty("service-instance-name") String serviceInstanceName,
45 @JsonProperty("service-instance-location-id") String serviceInstanceLocationId) {
46 this.globalCustomerId = globalCustomerId;
47 this.serviceType = serviceType;
48 this.serviceInstanceId = serviceInstanceId;
49 this.subscriberName = subscriberName;
50 this.subscriberType = subscriberType;
51 this.serviceInstanceName = serviceInstanceName;
52 this.serviceInstanceLocationId = serviceInstanceLocationId;
55 @JsonProperty("global-customer-id")
56 public String getGlobalCustomerId() {
57 return globalCustomerId;
60 @JsonProperty("service-type")
61 public String getServiceType() {
65 @JsonProperty("service-instance-id")
66 public String getServiceInstanceId() {
67 return serviceInstanceId;
70 @JsonProperty("subscriber-name")
71 public String getSubscriberName() {
72 return subscriberName;
75 @JsonProperty("subscriber-type")
76 public String getSubscriberType() {
77 return subscriberType;
80 @JsonProperty("service-instance-name")
81 public String getServiceInstanceName() {
82 return serviceInstanceName;
85 @JsonProperty("service-instance-location-id")
86 public String getServiceInstanceLocationId() {
87 return serviceInstanceLocationId;