new module:model/CommentPublish()
- Source:
Constructs a new CommentPublish
.
Members
(inner) id :String
- Source:
Type:
- String
(inner) mentions :Array.<String>
- Source:
Type:
- Array.<String>
(inner) text :String
- Source:
Type:
- String
(inner) threadAnchorKeys :Object.<String, String>
- Source:
Type:
- Object.<String, String>
(inner) threadId :String
- Source:
Type:
- String
(inner) visibleTo :Array.<String>
- Source:
Type:
- Array.<String>
Methods
(static) constructFromObject(data, obj) → {module:model/CommentPublish}
- Source:
Constructs a CommentPublish
from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data
to obj
if supplied or a new instance if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/CommentPublish | Optional instance to populate. |
Returns:
The populated CommentPublish
instance.