import {CreateMessageBody} from 'service-framework/src/message-factory/MessageBody.js'
CreateMessageBody
Extends:
Class representation of the CreateMessageBody object
Constructor Summary
Public Constructor | ||
public |
constructor(value: String, policy: URL.URL, idToken: Identity.JWT, accessToken: Identity.JWT, resource: URL.URL, schema: URL.HypertyCatalogueURL, assertedIdentity: Identity.Identity) |
Inherited Summary
From class RethinkObject | ||
public |
Validates this RethinkObject against the provided schema. |
From class MessageBody | ||
public |
accessToken: * |
|
public |
|
|
public |
idToken: * |
|
public |
resource: * |
|
public |
schema: * |
|
public |
via: * |
|
public |
addVia(token: Identity.JWT): MessageBody Adds a via URL to the given message body. |
Public Constructors
public constructor(value: String, policy: URL.URL, idToken: Identity.JWT, accessToken: Identity.JWT, resource: URL.URL, schema: URL.HypertyCatalogueURL, assertedIdentity: Identity.Identity) source
Override:
MessageBody#constructorParams:
Name | Type | Attribute | Description |
value | String | Contains the created object in JSON format. |
|
policy | URL.URL | URL from where access policy control can be downloaded |
|
idToken | Identity.JWT | ||
accessToken | Identity.JWT | ||
resource | URL.URL | URL of the object |
|
schema | URL.HypertyCatalogueURL | URL of the Data object schema stored in the Catalogue |
|
assertedIdentity | Identity.Identity | AssertedIdentity is compliant with User Identity Data Model |