-
Notifications
You must be signed in to change notification settings - Fork 8
/
BuildResponse.java
126 lines (112 loc) · 2.6 KB
/
BuildResponse.java
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/**
* These materials contain confidential information and trade secrets of Compuware Corporation. You shall maintain the materials
* as confidential and shall not disclose its contents to any third party except as may be required by law or regulation. Use,
* disclosure, or reproduction is prohibited without the prior express written permission of Compuware Corporation.
*
* All Compuware products listed within the materials are trademarks of Compuware Corporation. All other company or product
* names are trademarks of their respective owners.
*
* Copyright (c) 2019 Compuware Corporation. All rights reserved.
*/
package com.compuware.ispw.model.rest;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
*/
@XmlRootElement(name="build")
@XmlAccessorType(XmlAccessType.NONE)
public class BuildResponse
{
@XmlElement(name = "setId")
private String setId;
@XmlElement(name = "assignmentId")
private String assignmentId;
@XmlElement(name = "message")
private String message;
@XmlElement(name = "url")
private String url;
@XmlElement(name = "tasks")
private List<TaskInfo> tasksBuilt = new ArrayList<>();
/**
* @return the setId
*/
public String getSetId()
{
return setId;
}
/**
* @param setId
* the setId to set
*/
public void setSetId(String setId)
{
this.setId = setId;
}
/**
* @return the assignmentId
*/
public String getAssignmentId()
{
return assignmentId;
}
/**
* @param assignmentId
* the assignmentId to set
*/
public void setAssignmentId(String assignmentId)
{
this.assignmentId = assignmentId;
}
/**
* @return the message
*/
public String getMessage()
{
return message;
}
/**
* @param message the message to set
*/
public void setMessage(String message)
{
this.message = message;
}
/**
* @return the url
*/
public String getUrl()
{
return url;
}
/**
* @param url the url to set
*/
public void setUrl(String url)
{
this.url = url;
}
/**
* @return the tasksBuilt
*/
public List<TaskInfo> getTasksBuilt()
{
return tasksBuilt;
}
public void addTaskBuilt(TaskInfo builtTask)
{
tasksBuilt.add(builtTask);
}
/**
* @param tasksBuilt
* the tasksBuilt to set
*/
public void setTasksBuilt(List<TaskInfo> tasksBuilt)
{
this.tasksBuilt = tasksBuilt;
}
}