class Projects::Model::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
  • Get the end date of the milestone.

Returns

  • End date of the milestone.

# File lib/projects/model/Milestone.rb, line 131
def getEndDate
        return @endDate
end
getEndDateFormat() click to toggle source
  • Get the end date format.

Returns

  • End date format.

# File lib/projects/model/Milestone.rb, line 151
def getEndDateFormat
        return @endDateFormat
end
getEndDateLong() click to toggle source
  • Get the end date.

Returns

  • End date.

# File lib/projects/model/Milestone.rb, line 171
def getEndDateLong
        return @endDateLong
end
getFlag() click to toggle source
  • Get the flag for the milestone.

Returns

  • Flag for the milestone.

# File lib/projects/model/Milestone.rb, line 251
def getFlag
        return @flag
end
getId() click to toggle source
  • Get the milestone id.

Returns

# File lib/projects/model/Milestone.rb, line 31
def getId
        return @id
end
getName() click to toggle source
  • Get the milestone name.

Returns

# File lib/projects/model/Milestone.rb, line 51
def getName
        return name
end
getOwnerId() click to toggle source
  • Get the owner id.

Returns

# File lib/projects/model/Milestone.rb, line 211
def getOwnerId
        return @ownerId
end
getOwnerName() click to toggle source
  • Get the owner name.

Returns

# File lib/projects/model/Milestone.rb, line 231
def getOwnerName
        return @ownerName
end
getStartDate() click to toggle source
  • Get the start date of the milestone.

Returns

  • Start date of the milestone.

# File lib/projects/model/Milestone.rb, line 71
def getStartDate
        return @startDate
end
getStartDateFormat() click to toggle source
  • Get the start date format.

Returns

  • Start date format.

# File lib/projects/model/Milestone.rb, line 91
def getStartDateFormat
        return @startDateFormat
end
getStartDateLong() click to toggle source
  • Get the start date.

Returns

  • Start date.

# File lib/projects/model/Milestone.rb, line 111
def getStartDateLong
        return @startDateLong
end
getStatus() click to toggle source
  • Get the status of the milestone.

Returns

# File lib/projects/model/Milestone.rb, line 191
def getStatus
        return @status
end
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
  • Get the milestone URL.

Returns

# File lib/projects/model/Milestone.rb, line 271
def getURL
        return @url
end
setEndDate(endDate) click to toggle source
  • Set the end date of the milestone.

Parameters

  • endDate
    • End date of the milestone.

# File lib/projects/model/Milestone.rb, line 121
def setEndDate(endDate)
        @endDate = endDate
end
setEndDateFormat(endDateFormat) click to toggle source
  • Set the end date format.

Parameters

  • endDateLong
    • End date format of the milestone.

# File lib/projects/model/Milestone.rb, line 141
def setEndDateFormat(endDateFormat)
        @endDateFormat = endDateFormat
end
setEndDateLong(endDateLong) click to toggle source
  • Set the end date long.

Parameters

  • endDateLong
    • End date long of the milestone.

# File lib/projects/model/Milestone.rb, line 161
def setEndDateLong(endDateLong)
        @endDateLong = endDateLong
end
setFlag(flag) click to toggle source
  • Set the flag for the milestone.

Parameters

  • flag
    • Flag for the milestone.

# File lib/projects/model/Milestone.rb, line 241
def setFlag(flag)
        @flag = flag
end
setId(id) click to toggle source
  • Set the milestone id.

Parameters

  • id
    • ID of the milestone.

# File lib/projects/model/Milestone.rb, line 21
def setId(id)
        @id = id
end
setName(name) click to toggle source
  • Set the milestone name.

Parameters

  • name
    • Name of the milestone.

# File lib/projects/model/Milestone.rb, line 41
def setName(name)
        @name = name
end
setOwnerId(ownerId) click to toggle source
  • Set the owner id.

Parameters

  • ownerId
    • ID of the owner.

# File lib/projects/model/Milestone.rb, line 201
def setOwnerId(ownerId)
        @ownerId = ownerId
end
setOwnerName(ownerName) click to toggle source
  • Set the owner name.

Parameters

  • ownerName
    • Name of the owner.

# File lib/projects/model/Milestone.rb, line 221
def setOwnerName(ownerName)
        @ownerName = ownerName
end
setStartDate(startDate) click to toggle source
  • Set the start date of the milestone.

Parameters

  • startDate
    • Start date of the milestone.

# File lib/projects/model/Milestone.rb, line 61
def setStartDate(startDate)
        @startDate = startDate
end
setStartDateFormat(startDateFormat) click to toggle source
  • Set the start date format of the milestone.

Parameters

  • startDateLong
    • Start date format of the milestone.

# File lib/projects/model/Milestone.rb, line 81
def setStartDateFormat(startDateFormat)
        @startDateFormat = startDateFormat
end
setStartDateLong(startDateLong) click to toggle source
  • Set the start date long of the milestone.

Parameters

  • startDateLong
    • Start date long of the milestone.

# File lib/projects/model/Milestone.rb, line 101
def setStartDateLong(startDateLong)
        @startDateLong = startDateLong
end
setStatus(status) click to toggle source
  • Set the status of the milestone.

Parameters

  • status
# File lib/projects/model/Milestone.rb, line 181
def setStatus(status)
        @status = status
end
setStatusURL(statusUrl) click to toggle source
  • Set the status URL.

Parameters

  • statusUrl
    • Status URL for the milestone.

# File lib/projects/model/Milestone.rb, line 281
def setStatusURL(statusUrl)
        @statusUrl = statusUrl
end
setURL(url) click to toggle source
  • Set the milestone URL.

Parameters

  • url
    • URL for the milestone.

# File lib/projects/model/Milestone.rb, line 261
def setURL(url)
        @url = url
end
toParamMAP() click to toggle source

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