2 * Copyright 2017 ZTE Corporation.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.workflow.activitiext.common;
18 public class RestInfo {
21 private String version;
24 private String method;
25 private String accept;
26 private String contentType;
27 private String requestBody;
28 private String realUri;
29 public String getName() {
32 public void setName(String name) {
35 public String getVersion() {
38 public void setVersion(String version) {
39 this.version = version;
41 public String getUrl() {
44 public void setUrl(String url) {
47 public String getPath() {
50 public void setPath(String path) {
53 public String getMethod() {
56 public void setMethod(String method) {
59 public String getAccept() {
62 public void setAccept(String accept) {
65 public String getContentType() {
68 public void setContentType(String contentType) {
69 this.contentType = contentType;
71 public String getRequestBody() {
74 public void setRequestBody(String requestBody) {
75 this.requestBody = requestBody;
77 public String getRealUri() {
80 public void setRealUri(String realUri) {
81 this.realUri = realUri;