RamStatus
A state associated to a comment, the user who changed the state, etc.
Inherits | object ► RamObject ► RamStatus |
Static Methods
Method | Arguments | Description |
---|---|---|
fromPath ▹ RamStatus |
string: filePath |
Returns a RamStatus instance built using the given file path. |
Methods
Method | Arguments | Description |
---|---|---|
completionRatio ▹ integer |
The ratio of completion of this status. | |
date ▹ datetime |
The date at which this status was created. | |
item ▹ RamAsset or RamItem or RamShot |
The item this status refers to. | |
published ▹ boolean |
True if this version of the item has been published. | |
state ▹ RamState |
The corresponding state. | |
user ▹ RamUser |
The user who created this status. | |
version ▹ integer |
The version of the corresponding working file. | |
setCompletionRatio | • integer: completion | Sets the ratio of completion of this status. |
setPublished | • boolean: published=true |
Sets if this version of the item has been published. |
setState | • RamState: state | Sets the corresponding state. |
setUser | • RamUser: user = None |
Sets the user who modified this status. If None , it will use the current user |
setVersion | • integer: version | Sets the version of the corresponding working file. |
step ▹ RamStep |
The step this status refers to. |