class Projects::Model::Document
-
This class is used to make an object for
Document
.
Attributes
contenttype[RW]
description[RW]
filename[RW]
folder[RW]
folderId[RW]
id[RW]
notify[RW]
uploaddoc[RW]
url[RW]
versions[RW]
Public Instance Methods
getContenttype()
click to toggle source
getDescription()
click to toggle source
getFilename()
click to toggle source
getFolder()
click to toggle source
getFolderId()
click to toggle source
getId()
click to toggle source
getNotify()
click to toggle source
getTags()
click to toggle source
getURL()
click to toggle source
getUploaddoc()
click to toggle source
getVersions()
click to toggle source
setContenttype(contenttype)
click to toggle source
setDescription(description)
click to toggle source
setFilename(filename)
click to toggle source
setFolder(folder)
click to toggle source
setFolderId(folderId)
click to toggle source
setId(id)
click to toggle source
setNotify(notify)
click to toggle source
setTags(tags)
click to toggle source
setURL(url)
click to toggle source
setUploaddoc(uploaddoc)
click to toggle source
setVersions(versions)
click to toggle source
toParamMAP()
click to toggle source
-
Convert the
Document
object into HashMap.
Returns¶ ↑
-
HashMap object.
# File lib/projects/model/Document.rb, line 240 def toParamMAP requestBody = Hash.new if folderId != nil && folderId.to_i > 0 requestBody["folder_id"] = folderId end if description != nil requestBody["description"] = description end if tags != nil requestBody["tags"] = tags end if notify != nil && notify.to_i > 0 requestBody["notify"] = notify end return requestBody end