Model

constructor(uid: Int, name: String, jsonObject: JSONObject = JSONObject(), optionalJsonObject: JSONObject = JSONObject())


constructor(uid: Int = 0, name: String)

Creates a Model object.

Parameters

uid

The unique ID of the model.

name

The name that represents this model.

jsonObject

The JSON object corresponding to 'single'.

optionalJsonObject

The JSON object corresponding to 'information'.