2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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.openecomp.mso.client.sdno;
23 import java.io.Serializable;
24 import java.util.HashMap;
27 import com.fasterxml.jackson.annotation.JsonAnyGetter;
28 import com.fasterxml.jackson.annotation.JsonAnySetter;
29 import com.fasterxml.jackson.annotation.JsonIgnore;
30 import com.fasterxml.jackson.annotation.JsonInclude;
31 import com.fasterxml.jackson.annotation.JsonProperty;
32 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
34 @JsonInclude(JsonInclude.Include.NON_NULL)
40 public class SDNO implements Serializable
43 @JsonProperty("operation")
44 private String operation;
45 @JsonProperty("nodeType")
46 private String nodeType;
50 private Map<String, Object> additionalProperties = new HashMap<>();
51 private final static long serialVersionUID = -5303297382564282650L;
53 @JsonProperty("operation")
54 public String getOperation() {
58 @JsonProperty("operation")
59 public void setOperation(String operation) {
60 this.operation = operation;
63 public SDNO withOperation(String operation) {
64 this.operation = operation;
68 @JsonProperty("nodeType")
69 public String getNodeType() {
73 @JsonProperty("nodeType")
74 public void setNodeType(String nodeType) {
75 this.nodeType = nodeType;
78 public SDNO withNodeType(String nodeType) {
79 this.nodeType = nodeType;
84 public Body getBody() {
89 public void setBody(Body body) {
93 public SDNO withBody(Body body) {
99 public Map<String, Object> getAdditionalProperties() {
100 return this.additionalProperties;
104 public void setAdditionalProperty(String name, Object value) {
105 this.additionalProperties.put(name, value);
108 public SDNO SDNO (String name, Object value) {
109 this.additionalProperties.put(name, value);