class Projects::Model::Status

Attributes

content[RW]
id[RW]
postedBy[RW]
postedPerson[RW]
postedTime[RW]
postedTimeFormat[RW]
postedTimeLong[RW]

Public Instance Methods

getContent() click to toggle source
  • Get the status content.

Returns

# File lib/projects/model/Status.rb, line 49
def getContent
        return @content
end
getId() click to toggle source
  • Get the status id.

Returns

  • status id.

# File lib/projects/model/Status.rb, line 29
def getId
        return @id
end
getPostedBy() click to toggle source
  • Get the status posted person id.

Returns

  • Id of the person who posted the status.

# File lib/projects/model/Status.rb, line 69
def getPostedBy
        return @postedBy
end
getPostedPerson() click to toggle source
  • Get the status posted person name.

Returns

  • Name of the person who posted the status.

# File lib/projects/model/Status.rb, line 89
def getPostedPerson()
        return @postedPerson
end
getPostedTime() click to toggle source
  • Get the status posted time.

Returns

# File lib/projects/model/Status.rb, line 109
def getPostedTime
        return @postedTime
end
getPostedTimeFormat() click to toggle source
  • Get the status posted time format.

Returns

  • status posted time format.

# File lib/projects/model/Status.rb, line 149
def getPostedTimeFormat
        return @postedTimeFormat
end
getPostedTimeLong() click to toggle source
  • Get the status posted time long.

Returns

  • status posted time long.

# File lib/projects/model/Status.rb, line 129
def getPostedTimeLong
        return @postedTimeLong
end
setContent(content) click to toggle source
  • Set the status content.

Parameters

  • content
    • Content for the status.

# File lib/projects/model/Status.rb, line 39
def setContent(content)
        @content = content
end
setId(id) click to toggle source
  • Set the status id.

Parameters

  • id
    • ID of the status.

# File lib/projects/model/Status.rb, line 19
def setId(id)
        @id = id
end
setPostedBy(postedBy) click to toggle source
  • Set the status posted person id.

Parameters

  • postedBy
    • ID of the person who posted the status.

# File lib/projects/model/Status.rb, line 59
def setPostedBy(postedBy)
        @postedBy = postedBy
end
setPostedPerson(postedPerson) click to toggle source
  • Set the status posted person name.

Parameters

  • postedPerson
    • Name of the person who posted the status.

# File lib/projects/model/Status.rb, line 79
def setPostedPerson(postedPerson)
        @postedPerson = postedPerson
end
setPostedTime(postedTime) click to toggle source
  • Set the status posted time.

Parameters

  • postedTime
# File lib/projects/model/Status.rb, line 99
def setPostedTime(postedTime)
        @postedTime = postedTime
end
setPostedTimeFormat(postedTimeFormat) click to toggle source
  • Set the status posted time format.

Parameters

  • postedTimeLong
# File lib/projects/model/Status.rb, line 139
def setPostedTimeFormat(postedTimeFormat)
        @postedTimeFormat = postedTimeFormat
end
setPostedTimeLong(postedTimeLong) click to toggle source
  • Set the status posted time long.

Parameters

  • postedTimeLong
# File lib/projects/model/Status.rb, line 119
def setPostedTimeLong(postedTimeLong)
        @postedTimeLong = postedTimeLong
end
toParamMAP() click to toggle source
  • Convert the Status object into HashMap.

Returns

  • HashMap object.

# File lib/projects/model/Status.rb, line 159
def toParamMAP
        requestBody = Hash.new
        if content != nil
                requestBody["content"] = content
        end
        return requestBody
end