import {UpdateMessageBody} from 'service-framework/src/message-factory/MessageBody.js'
UpdateMessageBody
Extends:
Class representation of the UpdateMessageBody data object
Constructor Summary
Public Constructor | ||
public |
constructor(idToken: Identity.JWT, accessToken: Identity.JWT, resource: URL.URL, schema: URL.HypertyCatalogueURL, assertedIdentity: Identity.Identity, attribute: String, value: String) Constructor to create the object |
Method Summary
Public Methods | ||
public |
addAttributeType(attributeType: *) |
|
public |
addOperation(operation: *) |
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(idToken: Identity.JWT, accessToken: Identity.JWT, resource: URL.URL, schema: URL.HypertyCatalogueURL, assertedIdentity: Identity.Identity, attribute: String, value: String) source
Constructor to create the object
Override:
MessageBody#constructorParams:
Name | Type | Attribute | Description |
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 |
|
attribute | String | Identifies the attribute in the Object to be updated (optional) |
|
value | String | Contains the updated value object in JSON format. |