summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/cmcc/simulator/module/ResponseDescriptor.java
blob: 56f9bf9796874f06161c9377729bee29e33d9855 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package com.cmcc.simulator.module;

import java.util.List;

public class ResponseDescriptor {

	private String status;
	private int progress;
	private String statusDescription;
	private String errorCode;
	private List<VnfError> vnfErrorList;
	private List<PnfError> pnfErrorList;
	private String responseId;
	private List<ResponseHistory> responseHistoryList;

	public ResponseDescriptor() {
		super();
		// TODO Auto-generated constructor stub
	}

	public ResponseDescriptor(String status, int progress, String statusDescription, String errorCode,
			List<VnfError> vnfErrorList, List<PnfError> pnfErrorList, String responseId,
			List<ResponseHistory> responseHistoryList) {
		super();
		this.status = status;
		this.progress = progress;
		this.statusDescription = statusDescription;
		this.errorCode = errorCode;
		this.vnfErrorList = vnfErrorList;
		this.pnfErrorList = pnfErrorList;
		this.responseId = responseId;
		this.responseHistoryList = responseHistoryList;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getProgress() {
		return progress;
	}

	public void setProgress(int progress) {
		this.progress = progress;
	}

	public String getStatusDescription() {
		return statusDescription;
	}

	public void setStatusDescription(String statusDescription) {
		this.statusDescription = statusDescription;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public List<VnfError> getVnfErrorList() {
		return vnfErrorList;
	}

	public void setVnfErrorList(List<VnfError> vnfErrorList) {
		this.vnfErrorList = vnfErrorList;
	}

	public List<PnfError> getPnfErrorList() {
		return pnfErrorList;
	}

	public void setPnfErrorList(List<PnfError> pnfErrorList) {
		this.pnfErrorList = pnfErrorList;
	}

	public String getResponseId() {
		return responseId;
	}

	public void setResponseId(String responseId) {
		this.responseId = responseId;
	}

	public List<ResponseHistory> getResponseHistoryList() {
		return responseHistoryList;
	}

	public void setResponseHistoryList(List<ResponseHistory> responseHistoryList) {
		this.responseHistoryList = responseHistoryList;
	}

}