aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/model/inventory/ApiResponseMessage.java
blob: a2c1c202e2d7ccdf037dd92346161057dd7c2f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.onap.ccsdk.dashboard.model.inventory;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class ApiResponseMessage {

	/** Response Code */
	public Integer code;
	/** Response Type */
	public String type;
	/** Response Message */
	public String message;
	
	@JsonCreator
	public ApiResponseMessage (@JsonProperty("code") Integer code, 
			@JsonProperty("type") String type, 
			@JsonProperty("message") String message){
		this.code = code;
		this.type = type;
		this.message = message;
	}
}