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.model;
23 import com.fasterxml.jackson.annotation.*;
25 import java.util.HashMap;
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 @JsonIgnoreProperties(ignoreUnknown = true)
31 "service-instance-id",
32 "service-instance-name",
36 "orchestration-status",
46 "is-closed-loop-disabled",
47 "model-customization-id",
53 public class ServiceProperties {
55 @JsonProperty("service-instance-id")
56 public String serviceInstanceId;
57 @JsonProperty("service-instance-name")
58 public String serviceInstanceName;
59 @JsonProperty("model-invariant-id")
60 public String modelInvariantId;
61 @JsonProperty("model-version-id")
62 public String modelVersionId;
63 @JsonProperty("resource-version")
64 public String resourceVersion;
65 @JsonProperty("orchestration-status")
66 public String orchestrationStatus;
67 @JsonProperty("global-customer-id")
68 public String globalCustomerId;
69 @JsonProperty("subscriber-name")
70 public String subscriberName;
71 @JsonProperty("subscriber-type")
72 public String subscriberType;
73 @JsonProperty("vnf-id")
75 @JsonProperty("vnf-name")
76 public String vnfName;
77 @JsonProperty("vnf-type")
78 public String vnfType;
79 @JsonProperty("service-id")
80 public String serviceId;
81 @JsonProperty("prov-status")
82 public String provStatus;
83 @JsonProperty("in-maint")
84 public Boolean inMaint;
85 @JsonProperty("is-closed-loop-disabled")
86 public Boolean isClosedLoopDisabled;
87 @JsonProperty("model-customization-id")
88 public String modelCustomizationId;
89 @JsonProperty("nf-type")
91 @JsonProperty("nf-function")
92 public String nfFunction;
93 @JsonProperty("nf-role")
95 @JsonProperty("nf-naming-code")
96 public String nfNamingCode;
98 private Map<String, Object> additionalProperties = new HashMap<>();
101 public Map<String, Object> getAdditionalProperties() {
102 return this.additionalProperties;
106 public void setAdditionalProperty(String name, Object value) {
107 this.additionalProperties.put(name, value);