Class: Projects::Model::Tasklist
- Inherits:
-
Object
- Object
- Projects::Model::Tasklist
- Defined in:
- lib/projects/model/Tasklist.rb
Overview
-
This class is used to make an object for Tasklist.
Instance Method Summary collapse
-
#getCreatedTime ⇒ Object
-
Get the task list created time.
-
-
#getCreatedTimeFormat ⇒ Object
-
Get the task list created time format.
-
-
#getCreatedTimeLong ⇒ Object
-
Get the task list created time long.
-
-
#getFlag ⇒ Object
-
Get the flag for the task list.
-
-
#getId ⇒ Object
-
Get the task list id.
-
-
#getIdString ⇒ Object
-
Get the tasklist id string.
-
-
#getMilestone ⇒ Object
-
Get the milestone for the task list.
-
-
#getName ⇒ Object
-
Get the task list name.
-
-
#getSequence ⇒ Object
-
Get the sequence of the task list.
-
-
#getStatus ⇒ Object
-
Get the status of the task list.
-
-
#getTaskURL ⇒ Object
-
Get the task URL.
-
-
#getURL ⇒ Object
-
Get the task list URL.
-
-
#isCompleted ⇒ Object
-
Get whether the task list is completed or not.
-
-
#isRolled ⇒ Object
-
Get whether the task list rolled or not.
-
-
#setCompleted(completed) ⇒ Object
-
Set whether the task list is completed or not.
-
-
#setCreatedTime(createdTime) ⇒ Object
-
Set the task list created time.
-
-
#setCreatedTimeFormat(createdTimeFormat) ⇒ Object
-
Set the task list created time format.
-
-
#setCreatedTimeLong(createdTimeLong) ⇒ Object
-
Set the task list created time long.
-
-
#setFlag(flag) ⇒ Object
-
Set the flag for the task list.
-
-
#setId(id) ⇒ Object
-
Set the task list id.
-
-
#setIdString(idString) ⇒ Object
-
Set the tasklist id string.
-
-
#setMilestone(milestone) ⇒ Object
-
Set the milestone for the task list.
-
-
#setName(name) ⇒ Object
-
Set the task list name.
-
-
#setRolled(rolled) ⇒ Object
-
Set whether the task list is rolled or not.
-
-
#setSequence(sequence) ⇒ Object
-
Set the sequence of the task list.
-
-
#setStatus(status) ⇒ Object
-
Set the status of the task list.
-
-
#setTaskURL(taskUrl) ⇒ Object
-
Set the task URL.
-
-
#setURL(url) ⇒ Object
-
Set the task list URL.
-
-
#toParamMAP ⇒ Object
-
Convert the Tasklist object into HashMap.
-
Instance Method Details
#getCreatedTime ⇒ Object
-
Get the task list created time.
Returns
-
Task list created time.
113 114 115 |
# File 'lib/projects/model/Tasklist.rb', line 113 def getCreatedTime return @createdTime end |
#getCreatedTimeFormat ⇒ Object
-
Get the task list created time format.
Returns
-
Task list created time format.
133 134 135 |
# File 'lib/projects/model/Tasklist.rb', line 133 def getCreatedTimeFormat return @createdTimeFormat end |
#getCreatedTimeLong ⇒ Object
-
Get the task list created time long.
Returns
-
Task list created time long.
153 154 155 |
# File 'lib/projects/model/Tasklist.rb', line 153 def getCreatedTimeLong return @createdTimeLong end |
#getFlag ⇒ Object
-
Get the flag for the task list.
Returns
-
Task list flag.
253 254 255 |
# File 'lib/projects/model/Tasklist.rb', line 253 def getFlag return @flag end |
#getId ⇒ Object
-
Get the task list id.
Returns
-
Task list id.
29 30 31 |
# File 'lib/projects/model/Tasklist.rb', line 29 def getId return @id end |
#getIdString ⇒ Object
-
Get the tasklist id string.
Returns
-
Returns the tasklist id string.
51 52 53 54 55 |
# File 'lib/projects/model/Tasklist.rb', line 51 def getIdString return @idString end |
#getMilestone ⇒ Object
-
Get the milestone for the task list.
Returns
-
Milestone object.
293 294 295 |
# File 'lib/projects/model/Tasklist.rb', line 293 def getMilestone return @milestone end |
#getName ⇒ Object
-
Get the task list name.
Returns
-
task list name.
73 74 75 |
# File 'lib/projects/model/Tasklist.rb', line 73 def getName return @name end |
#getSequence ⇒ Object
-
Get the sequence of the task list.
Returns
-
Sequence of the task list.
193 194 195 |
# File 'lib/projects/model/Tasklist.rb', line 193 def getSequence return @sequence end |
#getStatus ⇒ Object
-
Get the status of the task list.
Returns
-
Status of the task list.
273 274 275 |
# File 'lib/projects/model/Tasklist.rb', line 273 def getStatus return @status end |
#getTaskURL ⇒ Object
-
Get the task URL.
Returns
-
Task URL.
233 234 235 |
# File 'lib/projects/model/Tasklist.rb', line 233 def getTaskURL return @taskUrl end |
#getURL ⇒ Object
-
Get the task list URL.
Returns
-
Task list URL.
213 214 215 |
# File 'lib/projects/model/Tasklist.rb', line 213 def getURL return @url end |
#isCompleted ⇒ Object
-
Get whether the task list is completed or not.
Returns
-
true, if the task list is completed else returns false.
93 94 95 |
# File 'lib/projects/model/Tasklist.rb', line 93 def isCompleted return @completed end |
#isRolled ⇒ Object
-
Get whether the task list rolled or not.
Returns
-
true, if the task list is rolled else returns false.
173 174 175 |
# File 'lib/projects/model/Tasklist.rb', line 173 def isRolled return rolled end |
#setCompleted(completed) ⇒ Object
-
Set whether the task list is completed or not.
Parameters
- completed
-
Whether the task list is completed or not.
-
83 84 85 |
# File 'lib/projects/model/Tasklist.rb', line 83 def setCompleted(completed) @completed = completed end |
#setCreatedTime(createdTime) ⇒ Object
-
Set the task list created time.
Parameters
- createdTime
-
Task list created time.
-
103 104 105 |
# File 'lib/projects/model/Tasklist.rb', line 103 def setCreatedTime(createdTime) @createdTime = createdTime end |
#setCreatedTimeFormat(createdTimeFormat) ⇒ Object
-
Set the task list created time format.
Parameters
- createdTime
-
Task list created time format.
-
123 124 125 |
# File 'lib/projects/model/Tasklist.rb', line 123 def setCreatedTimeFormat(createdTimeFormat) @createdTimeFormat = createdTimeFormat end |
#setCreatedTimeLong(createdTimeLong) ⇒ Object
-
Set the task list created time long.
Parameters
- createdTimeLong
-
Task list created time long.
-
143 144 145 |
# File 'lib/projects/model/Tasklist.rb', line 143 def setCreatedTimeLong(createdTimeLong) @createdTimeLong = createdTimeLong end |
#setFlag(flag) ⇒ Object
-
Set the flag for the task list.
Parameters
- flag
-
Flag for the task list.
-
243 244 245 |
# File 'lib/projects/model/Tasklist.rb', line 243 def setFlag(flag) @flag = flag end |
#setId(id) ⇒ Object
-
Set the task list id.
Parameters
- id
-
ID of the task list.
-
19 20 21 |
# File 'lib/projects/model/Tasklist.rb', line 19 def setId(id) @id = id end |
#setIdString(idString) ⇒ Object
-
Set the tasklist id string.
Parameters
-
idString::- Tasklist id string.
39 40 41 42 43 |
# File 'lib/projects/model/Tasklist.rb', line 39 def setIdString(idString) @idString = idString end |
#setMilestone(milestone) ⇒ Object
-
Set the milestone for the task list.
Parameters
- milestone
-
Milestone object.
-
283 284 285 |
# File 'lib/projects/model/Tasklist.rb', line 283 def setMilestone(milestone) @milestone = milestone end |
#setName(name) ⇒ Object
-
Set the task list name.
Parameters
- name
-
Name of the task list.
-
63 64 65 |
# File 'lib/projects/model/Tasklist.rb', line 63 def setName(name) @name = name end |
#setRolled(rolled) ⇒ Object
-
Set whether the task list is rolled or not.
Parameters
- rolled
-
Whether the task list is rolled or not.
-
163 164 165 |
# File 'lib/projects/model/Tasklist.rb', line 163 def setRolled(rolled) @rolled = rolled end |
#setSequence(sequence) ⇒ Object
-
Set the sequence of the task list.
Parameters
- sequence
-
Sequence of the task list.
-
183 184 185 |
# File 'lib/projects/model/Tasklist.rb', line 183 def setSequence(sequence) @sequence = sequence end |
#setStatus(status) ⇒ Object
-
Set the status of the task list.
Parameters
- status
-
Status of the task list.
-
263 264 265 |
# File 'lib/projects/model/Tasklist.rb', line 263 def setStatus(status) @status = status end |
#setTaskURL(taskUrl) ⇒ Object
-
Set the task URL.
Parameters
- taskUrl
-
URL for the task.
-
223 224 225 |
# File 'lib/projects/model/Tasklist.rb', line 223 def setTaskURL(taskUrl) @taskUrl = taskUrl end |
#setURL(url) ⇒ Object
-
Set the task list URL.
Parameters
- url
-
URL for the task list.
-
203 204 205 |
# File 'lib/projects/model/Tasklist.rb', line 203 def setURL(url) @url = url end |
#toParamMAP ⇒ Object
-
Convert the Tasklist object into HashMap.
Returns
-
HashMap object.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/projects/model/Tasklist.rb', line 303 def toParamMAP requestBody = Hash.new if milestone != nil requestBody["milestone_id"] = milestone.getId end if name != nil requestBody["name"] = name end if flag != nil requestBody["flag"] = flag end if status != nil requestBody["status"] = status end return requestBody end |