class Projects::Model::Milestone
-
This class is used to make an object for
Milestone
.
Attributes
endDate[RW]
endDateFormat[RW]
endDateLong[RW]
flag[RW]
id[RW]
name[RW]
ownerId[RW]
ownerName[RW]
startDate[RW]
startDateFormat[RW]
startDateLong[RW]
status[RW]
statusUrl[RW]
url[RW]
Public Instance Methods
getEndDate()
click to toggle source
getEndDateFormat()
click to toggle source
getEndDateLong()
click to toggle source
getFlag()
click to toggle source
getId()
click to toggle source
getName()
click to toggle source
getOwnerId()
click to toggle source
getOwnerName()
click to toggle source
getStartDate()
click to toggle source
getStartDateFormat()
click to toggle source
getStartDateLong()
click to toggle source
getStatus()
click to toggle source
getStatusURL()
click to toggle source
-
Get the status URL.
-
status URL for the milestone.
# File lib/projects/model/Milestone.rb, line 289 def getStatusURL return statusUrl end
getURL()
click to toggle source
setEndDate(endDate)
click to toggle source
setEndDateFormat(endDateFormat)
click to toggle source
setEndDateLong(endDateLong)
click to toggle source
setFlag(flag)
click to toggle source
setId(id)
click to toggle source
setName(name)
click to toggle source
setOwnerId(ownerId)
click to toggle source
setOwnerName(ownerName)
click to toggle source
setStartDate(startDate)
click to toggle source
setStartDateFormat(startDateFormat)
click to toggle source
setStartDateLong(startDateLong)
click to toggle source
setStatus(status)
click to toggle source
setStatusURL(statusUrl)
click to toggle source
setURL(url)
click to toggle source
toParamMAP()
click to toggle source
-
Convert the
Milestone
object into HashMap.
Returns¶ ↑
-
HashMap object.
# File lib/projects/model/Milestone.rb, line 299 def toParamMAP requestBody = Hash.new if name != nil requestBody["name"] = name end if startDate != nil requestBody["start_date"] = startDate end if endDate != nil requestBody["end_date"] = endDate end if ownerId != nil requestBody["owner"] = ownerId end if flag != nil requestBody["flag"] = flag end return requestBody end