2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2023 DTAG 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=========================================================
20 package org.onap.so.moi;
22 import com.fasterxml.jackson.annotation.*;
23 import java.util.HashMap;
24 import java.util.List;
27 @JsonInclude(JsonInclude.Include.NON_NULL)
28 @JsonPropertyOrder({"sliceProfileList"})
29 public class Attributes {
31 @JsonProperty("sliceProfileList")
32 private List<SliceProfile> sliceProfileList = null;
34 @JsonProperty("operationalState")
35 private String operationalState;
37 @JsonProperty("administrativeState")
38 private String administrativeState;
41 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
43 @JsonProperty("sliceProfileList")
44 public List<SliceProfile> getSliceProfileList() {
45 return sliceProfileList;
48 @JsonProperty("sliceProfileList")
49 public void setSliceProfileList(List<SliceProfile> sliceProfileList) {
50 this.sliceProfileList = sliceProfileList;
54 public Map<String, Object> getAdditionalProperties() {
55 return this.additionalProperties;
59 public void setAdditionalProperty(String name, Object value) {
60 this.additionalProperties.put(name, value);
63 @JsonProperty("operationalState")
64 public String getOperationalState() {
65 return operationalState;
68 @JsonProperty("operationalState")
69 public void setOperationalState(String operationalState) {
70 this.operationalState = operationalState;
73 @JsonProperty("administrativeState")
74 public String getAdministrativeState() {
75 return administrativeState;
78 @JsonProperty("administrativeState")
79 public void setAdministrativeState(String administrativeState) {
80 this.administrativeState = administrativeState;