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.beans;
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)
41 public class SDNO implements Serializable
44 @JsonProperty("operation")
45 private String operation;
46 @JsonProperty("nodeLoc")
47 private String nodeLoc;
48 @JsonProperty("nodeType")
49 private String nodeType;
53 private Map<String, Object> additionalProperties = new HashMap<>();
54 private final static long serialVersionUID = -5303297382564282650L;
56 @JsonProperty("operation")
57 public String getOperation() {
61 @JsonProperty("operation")
62 public void setOperation(String operation) {
63 this.operation = operation;
66 @JsonProperty("nodeLoc")
67 public String getNodeLoc() {
71 @JsonProperty("nodeLoc")
72 public void setNodeLoc(String nodeLoc) {
73 this.nodeLoc = nodeLoc;
76 public SDNO withNodeLoc(String nodeLoc) {
77 this.nodeLoc = nodeLoc;
81 public SDNO withOperation(String operation) {
82 this.operation = operation;
86 @JsonProperty("nodeType")
87 public String getNodeType() {
91 @JsonProperty("nodeType")
92 public void setNodeType(String nodeType) {
93 this.nodeType = nodeType;
96 public SDNO withNodeType(String nodeType) {
97 this.nodeType = nodeType;
101 @JsonProperty("body")
102 public Body getBody() {
106 @JsonProperty("body")
107 public void setBody(Body body) {
111 public SDNO withBody(Body body) {
117 public Map<String, Object> getAdditionalProperties() {
118 return this.additionalProperties;
122 public void setAdditionalProperty(String name, Object value) {
123 this.additionalProperties.put(name, value);
126 public SDNO SDNO (String name, Object value) {
127 this.additionalProperties.put(name, value);