new MatchInfo( [json])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
json |
Object |
<optional> |
Extends
Methods
-
getCollection()
-
Get the collection
Returns:
collection- Type
- String
-
getStatus()
-
Get the status
Returns:
status- Type
- String
-
init(json)
-
Initialize from JSON
Parameters:
Name Type Description json
Object - Overrides:
Returns:
MatchInfo this -
<static> isInstance(obj)
-
Check whether the given object is an instance of this class.
Parameters:
Name Type Description obj
Object Returns:
- Type
- Boolean
-
setCollection(collection)
-
Set the collection
Parameters:
Name Type Description collection
String Returns:
this- Type
- MatchInfo
-
setStatus(status)
-
Set the status
Parameters:
Name Type Description status
String Returns:
this- Type
- MatchInfo
-
toJSON()
-
Export the object as JSON
- Overrides:
Returns:
JSON object- Type
- Object