aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/web/mapper/Result.java
blob: 8a6b78967a55429af11b0dcbf3bb24da2703636c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package org.onap.ransim.rest.web.mapper;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Mapper Class for Result
 * 
 * @author Devendra Chauhan
 *
 */
public class Result {
	// param
	@JsonProperty("attribute-name")
	private String attributeName;
	@JsonProperty("value")
	private String value;

	public Result(String atributeName, String value) {
		super();
		this.attributeName = atributeName;
		this.value = value;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}