Class: module:model/JsonApiTypeId

module:model/JsonApiTypeId(id, type, theData, obj)

new module:model/JsonApiTypeId(id, type, theData, obj)

Constructs a new JsonApiTypeId.

Parameters:
Name Type Description
id String

resource id

type String

resource type

theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/JsonApiTypeId

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a JsonApiTypeId 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.

Source:

(inner) id :String

resource id

Type:
  • String
Source:

(inner) type :String

resource type

Type:
  • String
Source: