class Projects::Model::Tasklist

Attributes

completed[RW]
createdTime[RW]
createdTimeFormat[RW]
createdTimeLong[RW]
flag[RW]
id[RW]
idString[RW]
milestone[RW]
name[RW]
rolled[RW]
sequence[RW]
status[RW]
taskUrl[RW]
url[RW]

Public Instance Methods

getCreatedTime() click to toggle source
  • Get the task list created time.

Returns

  • Task list created time.

# File lib/projects/model/Tasklist.rb, line 113
def getCreatedTime
        return @createdTime
end
getCreatedTimeFormat() click to toggle source
  • Get the task list created time format.

Returns

  • Task list created time format.

# File lib/projects/model/Tasklist.rb, line 133
def getCreatedTimeFormat
        return @createdTimeFormat
end
getCreatedTimeLong() click to toggle source
  • Get the task list created time long.

Returns

  • Task list created time long.

# File lib/projects/model/Tasklist.rb, line 153
def getCreatedTimeLong
        return @createdTimeLong
end
getFlag() click to toggle source
  • Get the flag for the task list.

Returns

# File lib/projects/model/Tasklist.rb, line 253
def getFlag
        return @flag
end
getId() click to toggle source
  • Get the task list id.

Returns

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

Returns

  • Returns the tasklist id string.

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

        return @idString
        
end
getMilestone() click to toggle source
  • Get the milestone for the task list.

Returns

# File lib/projects/model/Tasklist.rb, line 293
def getMilestone
        return @milestone
end
getName() click to toggle source
  • Get the task list name.

Returns

  • task list name.

# File lib/projects/model/Tasklist.rb, line 73
def getName
        return @name
end
getSequence() click to toggle source
  • Get the sequence of the task list.

Returns

  • Sequence of the task list.

# File lib/projects/model/Tasklist.rb, line 193
def getSequence
        return @sequence
end
getStatus() click to toggle source
  • Get the status of the task list.

Returns

# File lib/projects/model/Tasklist.rb, line 273
def getStatus
        return @status
end
getTaskURL() click to toggle source
  • Get the task URL.

Returns

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

Returns

# File lib/projects/model/Tasklist.rb, line 213
def getURL
        return @url
end
isCompleted() click to toggle source
  • Get whether the task list is completed or not.

Returns

  • true, if the task list is completed else returns false.

# File lib/projects/model/Tasklist.rb, line 93
def isCompleted
        return @completed
end
isRolled() click to toggle source
  • Get whether the task list rolled or not.

Returns

  • true, if the task list is rolled else returns false.

# File lib/projects/model/Tasklist.rb, line 173
def isRolled
        return rolled
end
setCompleted(completed) click to toggle source
  • Set whether the task list is completed or not.

Parameters

  • completed
    • Whether the task list is completed or not.

# File lib/projects/model/Tasklist.rb, line 83
def setCompleted(completed)
        @completed = completed
end
setCreatedTime(createdTime) click to toggle source
  • Set the task list created time.

Parameters

  • createdTime
    • Task list created time.

# File lib/projects/model/Tasklist.rb, line 103
def setCreatedTime(createdTime)
        @createdTime = createdTime
end
setCreatedTimeFormat(createdTimeFormat) click to toggle source
  • Set the task list created time format.

Parameters

  • createdTime
    • Task list created time format.

# File lib/projects/model/Tasklist.rb, line 123
def setCreatedTimeFormat(createdTimeFormat)
        @createdTimeFormat = createdTimeFormat
end
setCreatedTimeLong(createdTimeLong) click to toggle source
  • Set the task list created time long.

Parameters

  • createdTimeLong
    • Task list created time long.

# File lib/projects/model/Tasklist.rb, line 143
def setCreatedTimeLong(createdTimeLong)
        @createdTimeLong = createdTimeLong
end
setFlag(flag) click to toggle source
  • Set the flag for the task list.

Parameters

  • flag
    • Flag for the task list.

# File lib/projects/model/Tasklist.rb, line 243
def setFlag(flag)
        @flag = flag
end
setId(id) click to toggle source
  • Set the task list id.

Parameters

  • id
    • ID of the task list.

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

Parameters

# File lib/projects/model/Tasklist.rb, line 39
def setIdString(idString)
        
        @idString = idString

end
setMilestone(milestone) click to toggle source
  • Set the milestone for the task list.

Parameters

# File lib/projects/model/Tasklist.rb, line 283
def setMilestone(milestone)
        @milestone = milestone
end
setName(name) click to toggle source
  • Set the task list name.

Parameters

  • name
    • Name of the task list.

# File lib/projects/model/Tasklist.rb, line 63
def setName(name)
        @name = name
end
setRolled(rolled) click to toggle source
  • Set whether the task list is rolled or not.

Parameters

  • rolled
    • Whether the task list is rolled or not.

# File lib/projects/model/Tasklist.rb, line 163
def setRolled(rolled)
        @rolled = rolled
end
setSequence(sequence) click to toggle source
  • Set the sequence of the task list.

Parameters

  • sequence
    • Sequence of the task list.

# File lib/projects/model/Tasklist.rb, line 183
def setSequence(sequence) 
        @sequence = sequence
end
setStatus(status) click to toggle source
  • Set the status of the task list.

Parameters

  • status
# File lib/projects/model/Tasklist.rb, line 263
def setStatus(status)
        @status = status
end
setTaskURL(taskUrl) click to toggle source
  • Set the task URL.

Parameters

  • taskUrl
    • URL for the task.

# File lib/projects/model/Tasklist.rb, line 223
def setTaskURL(taskUrl)
        @taskUrl = taskUrl
end
setURL(url) click to toggle source
  • Set the task list URL.

Parameters

  • url
    • URL for the task list.

# File lib/projects/model/Tasklist.rb, line 203
def setURL(url)
        @url = url
end
toParamMAP() click to toggle source
  • Convert the Tasklist object into HashMap.

Returns

  • HashMap object.

# 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