Manual Reference Source Test
public class | source

Thread

Expression Extends:

class Thread extends aggregate(ThreadModel, Helper, Commentable)

Helper class representing a Thread.

Static Member Summary

Static Public Members
public static get

Constructor Summary

Public Constructor
public

Constructor for helper class representing Thread

Member Summary

Public Members
public get
public set
public get
public set
public get
public set

Method Summary

Public Methods
public

getComments(cacheMode: *): *

Returns comments for the current thread

Static Public Members

public static get type: String source

Public Constructors

public constructor(json: Object) source

Constructor for helper class representing Thread

Params:

NameTypeAttributeDescription
json Object

json api response from server

Public Members

public get commentable: any source

public set commentable: any source

public get comments: Comment[] source

public set comments: Comment[] source

public get owner: User source

public set owner: User source

Public Methods

public getComments(cacheMode: *): * source

Returns comments for the current thread

Params:

NameTypeAttributeDescription
cacheMode *
  • optional
  • default: undefined

Return:

*