blob: bd8d26ea6465aaf12a44523cd883152ab98e6cf3 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM
4 * ================================================================================
5 * Copyright (C) 2018 AT&T
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
22
23package org.onap.osam.aai.model;
24
25import com.fasterxml.jackson.annotation.*;
26import java.util.HashMap;
27import java.util.Map;
28
29@JsonInclude(JsonInclude.Include.NON_NULL)
30@JsonIgnoreProperties(ignoreUnknown = true)
31@JsonPropertyOrder({
32 "service-instance-id",
33 "service-instance-name",
34 "model-invariant-id",
35 "model-version-id",
36 "resource-version",
37 "orchestration-status",
38 "global-customer-id",
39 "subscriber-name",
40 "subscriber-type",
41 "vnf-id",
42 "vnf-name",
43 "vnf-type",
44 "service-id",
45 "prov-status",
46 "in-maint",
47 "is-closed-loop-disabled",
48 "model-customization-id",
49 "nf-type",
50 "nf-function",
51 "nf-role",
52 "nf-naming-code"
53})
54public class ServiceProperties {
55
56 @JsonProperty("service-instance-id")
57 public String serviceInstanceId;
58 @JsonProperty("service-instance-name")
59 public String serviceInstanceName;
60 @JsonProperty("model-invariant-id")
61 public String modelInvariantId;
62 @JsonProperty("model-version-id")
63 public String modelVersionId;
64 @JsonProperty("resource-version")
65 public String resourceVersion;
66 @JsonProperty("orchestration-status")
67 public String orchestrationStatus;
68 @JsonProperty("global-customer-id")
69 public String globalCustomerId;
70 @JsonProperty("subscriber-name")
71 public String subscriberName;
72 @JsonProperty("subscriber-type")
73 public String subscriberType;
74 @JsonProperty("vnf-id")
75 public String vnfId;
76 @JsonProperty("vnf-name")
77 public String vnfName;
78 @JsonProperty("vnf-type")
79 public String vnfType;
80 @JsonProperty("service-id")
81 public String serviceId;
82 @JsonProperty("prov-status")
83 public String provStatus;
84 @JsonProperty("in-maint")
85 public Boolean inMaint;
86 @JsonProperty("is-closed-loop-disabled")
87 public Boolean isClosedLoopDisabled;
88 @JsonProperty("model-customization-id")
89 public String modelCustomizationId;
90 @JsonProperty("nf-type")
91 public String nfType;
92 @JsonProperty("nf-function")
93 public String nfFunction;
94 @JsonProperty("nf-role")
95 public String nfRole;
96 @JsonProperty("nf-naming-code")
97 public String nfNamingCode;
98 @JsonIgnore
99 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
100
101 @JsonAnyGetter
102 public Map<String, Object> getAdditionalProperties() {
103 return this.additionalProperties;
104 }
105
106 @JsonAnySetter
107 public void setAdditionalProperty(String name, Object value) {
108 this.additionalProperties.put(name, value);
109 }
110
111}