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.util.HashMap;
26 import com.fasterxml.jackson.annotation.JsonAnyGetter;
27 import com.fasterxml.jackson.annotation.JsonAnySetter;
28 import com.fasterxml.jackson.annotation.JsonIgnore;
29 import com.fasterxml.jackson.annotation.JsonInclude;
30 import com.fasterxml.jackson.annotation.JsonProperty;
31 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
33 @JsonInclude(JsonInclude.Include.NON_NULL)
41 public class ResultInfo {
43 @JsonProperty("client-name")
44 private String clientName;
47 @JsonProperty("processing-host")
48 private String processingHost;
49 @JsonProperty("request-id")
50 private String requestId;
51 @JsonProperty("status")
52 private String status;
54 private Map<String, Object> additionalProperties = new HashMap<>();
56 @JsonProperty("client-name")
57 public String getClientName() {
61 @JsonProperty("client-name")
62 public void setClientName(String clientName) {
63 this.clientName = clientName;
67 public String getCode() {
72 public void setCode(String code) {
76 @JsonProperty("processing-host")
77 public String getProcessingHost() {
78 return processingHost;
81 @JsonProperty("processing-host")
82 public void setProcessingHost(String processingHost) {
83 this.processingHost = processingHost;
86 @JsonProperty("request-id")
87 public String getRequestId() {
91 @JsonProperty("request-id")
92 public void setRequestId(String requestId) {
93 this.requestId = requestId;
96 @JsonProperty("status")
97 public String getStatus() {
101 @JsonProperty("status")
102 public void setStatus(String status) {
103 this.status = status;
107 public Map<String, Object> getAdditionalProperties() {
108 return this.additionalProperties;
112 public void setAdditionalProperty(String name, Object value) {
113 this.additionalProperties.put(name, value);