class Projects::Model::Project

Attributes

URL[RW]
activityURL[RW]
bugURL[RW]
closedBugCount[RW]
closedMilestoneCount[RW]
closedTaskCount[RW]
createdDate[RW]
createdDateFormat[RW]
createdDateLong[RW]
description[RW]
documentURL[RW]
eventURL[RW]
folderURL[RW]
forumURL[RW]
id[RW]
idString[RW]
milestoneURL[RW]
name[RW]
openBugCount[RW]
openMilestoneCount[RW]
openTaskCount[RW]
ownerId[RW]
ownerName[RW]
status[RW]
statusURL[RW]
taskURL[RW]
tasklistURL[RW]
templateId[RW]
timesheetURL[RW]
userURL[RW]

Public Instance Methods

getActivityURL() click to toggle source
  • Get the activity URL.

Returns

# File lib/projects/model/Project.rb, line 397
def getActivityURL
        return @activityUrl
end
getBugURL() click to toggle source
  • Get the bug URL.

Returns

# File lib/projects/model/Project.rb, line 477
def getBugURL
        return @bugUrl
end
getClosedBugCount() click to toggle source
  • Get the closed bug count.

Returns

  • Closed bug count for the project.

# File lib/projects/model/Project.rb, line 357
def getClosedBugCount
        return @closedBugCount
end
getClosedMilestoneCount() click to toggle source
  • Get the closed milestone count.

Returns

  • closed milestone count for the project.

# File lib/projects/model/Project.rb, line 317
def getClosedMilestoneCount
        return @closedMilestoneCount
end
getClosedTaskCount() click to toggle source
  • Get the closed task count.

Returns

  • Closed task count for the project.

# File lib/projects/model/Project.rb, line 277
def getClosedTaskCount
        return @closedTaskCount
end
getCreatedDate() click to toggle source
  • Get the project created date.

Returns

# File lib/projects/model/Project.rb, line 137
def getCreatedDate
        return @createdDate
end
getCreatedDateFormat() click to toggle source
  • Get the created date format for the project.

Returns

# File lib/projects/model/Project.rb, line 157
def getCreatedDateFormat
        return @createdDateFormat
end
getCreatedDateLong() click to toggle source
  • Get the project created date long.

Returns

  • project created date long.

# File lib/projects/model/Project.rb, line 177
def getCreatedDateLong
        return @createdDateLong
end
getDescription() click to toggle source
  • Get the project description.

Returns

# File lib/projects/model/Project.rb, line 197
def getDescription
        return @description
end
getDocumentURL() click to toggle source
  • Get the document URL.

Returns

# File lib/projects/model/Project.rb, line 557
def getDocumentURL
        return @documentUrl
end
getEventURL() click to toggle source
  • Get the event URL.

Returns

# File lib/projects/model/Project.rb, line 537
def getEventURL
        return @eventUrl
end
getFolderURL() click to toggle source
  • Get the folder URL.

Returns

# File lib/projects/model/Project.rb, line 577
def getFolderURL
        return @folderUrl
end
getForumURL() click to toggle source
  • Get the forum URL.

Returns

# File lib/projects/model/Project.rb, line 597
def getForumURL 
        return @forumUrl
end
getId() click to toggle source
  • Get the project id.

Returns

# File lib/projects/model/Project.rb, line 29
def getId
        return @id
end
getIdString() click to toggle source
  • Get the project id string.

Returns

  • Returns the project id string.

# File lib/projects/model/Project.rb, line 51
def getIdString

        return @idString = idString
        
end
getMilestoneURL() click to toggle source
  • Get the milestone URL.

Returns

  • milestone URL.

# File lib/projects/model/Project.rb, line 417
def getMilestoneURL
        return @milestoneUrl
end
getName() click to toggle source
  • Get the project name.

Returns

# File lib/projects/model/Project.rb, line 73
def getName
        return @name
end
getOpenBugCount() click to toggle source
  • Get the open bug count.

Returns

  • Open bug count for the project.

# File lib/projects/model/Project.rb, line 337
def getOpenBugCount
        return @openBugCount
end
getOpenMilestoneCount() click to toggle source
  • Get the open milestone count.

Returns

  • Open milestone count for the project.

# File lib/projects/model/Project.rb, line 297
def getOpenMilestoneCount
        return @openMilestoneCount
end
getOpenTaskCount() click to toggle source
  • Get the open task count.

Returns

  • Open task count for the project.

# File lib/projects/model/Project.rb, line 257
def getOpenTaskCount
        return @openTaskCount
end
getOwnerId() click to toggle source
  • Get the owner id.

Returns

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

Returns

  • The owner name.

# File lib/projects/model/Project.rb, line 217
def getOwnerName
        return @ownerName
end
getStatus() click to toggle source
  • Get the project status.

Returns

# File lib/projects/model/Project.rb, line 117
def getStatus
        return @status
end
getStatusURL() click to toggle source
  • Get the status URL.

Returns

# File lib/projects/model/Project.rb, line 517
def getStatusURL
        return @statusUrl
end
getTaskURL() click to toggle source
  • Get the task URL.

Returns

# File lib/projects/model/Project.rb, line 457
def getTaskURL
        return @taskUrl
end
getTasklistURL() click to toggle source
  • Get the task list URL.

Returns

# File lib/projects/model/Project.rb, line 437
def getTasklistURL
        return @tasklistUrl
end
getTemplateId() click to toggle source
  • Get the template id of the project.

Returns

  • Returns the template id.

# File lib/projects/model/Project.rb, line 95
def getTemplateId

        return @templateId
        
end
getTimesheetURL() click to toggle source
  • Get the time sheet URL.

Returns

  • Time sheet URL.

# File lib/projects/model/Project.rb, line 497
def getTimesheetURL
        return @timesheetUrl
end
getURL() click to toggle source
  • Get the project URL.

Returns

# File lib/projects/model/Project.rb, line 377
def getURL
        return @url
end
getUserURL() click to toggle source
  • Get the user URL.

Returns

# File lib/projects/model/Project.rb, line 617
def getUserURL
        return @userUrl
end
setActivityURL(activityUrl) click to toggle source
  • Set the activity URL.

Parameters

  • activityUrl
    • URL for the activity.

# File lib/projects/model/Project.rb, line 387
def setActivityURL(activityUrl)
        @activityUrl = activityUrl
end
setBugURL(bugUrl) click to toggle source
  • Set the bug URL.

Parameters

  • bugUrl
    • URL for the bug.

# File lib/projects/model/Project.rb, line 467
def setBugURL(bugUrl)
        @bugUrl = bugUrl
end
setClosedBugCount(closedBugCount) click to toggle source
  • Set the closed bug count.

Parameters

  • closedBugCount
    • Closed bug count for the project.

# File lib/projects/model/Project.rb, line 347
def setClosedBugCount(closedBugCount)
        @closedBugCount = closedBugCount
end
setClosedMilestoneCount(closedMilestoneCount) click to toggle source
  • Set the closed milestone count.

Parameters

  • closedMilestoneCount
    • Closed milestone count for the project.

# File lib/projects/model/Project.rb, line 307
def setClosedMilestoneCount(closedMilestoneCount)
        @closedMilestoneCount = closedMilestoneCount
end
setClosedTaskCount(closedTaskCount) click to toggle source
  • Set the closed task count.

Parameters

  • closedTaskCount
    • Closed task count for the project.

# File lib/projects/model/Project.rb, line 267
def setClosedTaskCount(closedTaskCount)
        @closedTaskCount = closedTaskCount
end
setCreatedDate(createdDate) click to toggle source
  • Set the date when the project is being created.

Parameters

  • createdDate
    • Created date for the project.

# File lib/projects/model/Project.rb, line 127
def setCreatedDate(createdDate)
        @createdDate = createdDate
end
setCreatedDateFormat(createdDateFormat) click to toggle source
  • Set the created date format for the project.

Parameters

  • createdDate
# File lib/projects/model/Project.rb, line 147
def setCreatedDateFormat(createdDateFormat)
        @createdDateFormat = createdDateFormat
end
setCreatedDateLong(createdDateLong) click to toggle source
  • Set the project created date.

Parameters

  • createdDateLong
# File lib/projects/model/Project.rb, line 167
def setCreatedDateLong(createdDateLong)
        @createdDateLong = createdDateLong
end
setDescription(description) click to toggle source
  • Set the project description.

Parameters

  • description
    • Description of the project.

# File lib/projects/model/Project.rb, line 187
def setDescription(description)
        @description = description
end
setDocumentURL(documentUrl) click to toggle source
  • Set the document URL.

Parameters

  • documentUrl
    • URL for the document.

# File lib/projects/model/Project.rb, line 547
def setDocumentURL(documentUrl)
        @documentUrl = documentUrl
end
setEventURL(eventUrl) click to toggle source
  • Set the event URL.

Parameters

  • eventUrl
    • URL for the event.

# File lib/projects/model/Project.rb, line 527
def setEventURL(eventUrl)
        @eventUrl = eventUrl
end
setFolderURL(folderUrl) click to toggle source
  • Set the folder URL.

Parameters

  • folderUrl
    • URL for the folder.

# File lib/projects/model/Project.rb, line 567
def setFolderURL(folderUrl)
        @folderUrl = folderUrl
end
setForumURL(forumUrl) click to toggle source
  • Set the forum URL.

Parameters

  • forumUrl
    • URL for the forum.

# File lib/projects/model/Project.rb, line 587
def setForumURL(forumUrl)
        @forumUrl = forumUrl
end
setId(id) click to toggle source
  • Set the project id.

Parameters

  • id
    • ID of the project.

# File lib/projects/model/Project.rb, line 19
def setId(id)
        @id = id
end
setIdString(idString) click to toggle source
  • Set the project id string.

Parameters

# File lib/projects/model/Project.rb, line 39
def setIdString(idString)
        
        @idString = idString
        
end
setMilestoneURL(milestoneUrl) click to toggle source
  • Set the milestone URL.

Parameters

  • milestoneUrl
    • URL for the milestone.

# File lib/projects/model/Project.rb, line 407
def setMilestoneURL(milestoneUrl)
        @milestoneUrl = milestoneUrl
end
setName(name) click to toggle source
  • Set the project name.

Parameters

  • name
    • Name of the project.

# File lib/projects/model/Project.rb, line 63
def setName(name)
        @name = name
end
setOpenBugCount(openBugCount) click to toggle source
  • Set the open bug count.

Parameters

  • openBugCount
    • Open bug count for the project.

# File lib/projects/model/Project.rb, line 327
def setOpenBugCount(openBugCount)
        @openBugCount = openBugCount
end
setOpenMilestoneCount(openMilestoneCount) click to toggle source
  • Set the open milestone count.

Parameters

  • openMilestoneCount
    • Open milestone count for the project.

# File lib/projects/model/Project.rb, line 287
def setOpenMilestoneCount(openMilestoneCount)
        @openMilestoneCount = openMilestoneCount
end
setOpenTaskCount(openTaskCount) click to toggle source
  • Set the open task count.

Parameters

  • openTaskCount
    • Open task count for the project.

# File lib/projects/model/Project.rb, line 247
def setOpenTaskCount(openTaskCount)
        @openTaskCount = openTaskCount
end
setOwnerId(ownerId) click to toggle source
  • Set the owner id.

Parameters

  • ownerId
    • ID of the owner.

# File lib/projects/model/Project.rb, line 227
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/Project.rb, line 207
def setOwnerName(ownerName)
        @ownerName = ownerName
end
setStatus(status) click to toggle source
  • Set the status of the project.

Parameters

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

Parameters

  • statusUrl
    • URL for the status.

# File lib/projects/model/Project.rb, line 507
def setStatusURL(statusUrl)
        @statusUrl = statusUrl
end
setTaskURL(taskUrl) click to toggle source
  • Set the task URL.

Parameters

  • taskUrl
    • URL for the task.

# File lib/projects/model/Project.rb, line 447
def setTaskURL(taskUrl)
        @taskUrl = taskUrl
end
setTasklistURL(tasklistUrl) click to toggle source
  • Set the task list URL.

Parameters

  • tasklistUrl
    • URL for the task list.

# File lib/projects/model/Project.rb, line 427
def setTasklistURL(tasklistUrl)
        @tasklistUrl = tasklistUrl
end
setTemplateId(templateId) click to toggle source
  • Set the template id of the project.

Parameters

  • templateId
    • ID of the template.

# File lib/projects/model/Project.rb, line 83
def setTemplateId(templateId)

        @templateId = templateId

end
setTimesheetURL(timesheetUrl) click to toggle source
  • Set the time sheet URL.

Parameters

  • timesheetUrl
    • URL for the time sheet.

# File lib/projects/model/Project.rb, line 487
def setTimesheetURL(timesheetUrl)
        @timesheetUrl = timesheetUrl
end
setURL(url) click to toggle source
  • Set the project URL.

Parameters

  • url
    • URL for the project.

# File lib/projects/model/Project.rb, line 367
def setURL(url)
        @url = url
end
setUserURL(userUrl) click to toggle source
  • Set the user URL.

Parameters

  • userUrl
    • URL for the user.

# File lib/projects/model/Project.rb, line 607
def setUserURL(userUrl)
        @userUrl = userUrl
end
toParamMAP() click to toggle source
  • Convert the Project object into HashMap.

Returns

  • HashMap object.

# File lib/projects/model/Project.rb, line 627
def toParamMAP
        requestBody = Hash.new
        if name != nil
                requestBody["name"] = name
        end
        if description != nil
                requestBody["description"] = description
        end
        if status != nil
                requestBody["status"] = status
        end
        if templateId != nil
                requestBody["template_id"] = templateId
        end
        return requestBody
end