Home Reference Source Test
public class | source

UpdateMessageBody

Extends:

RethinkObjectMessageBody → UpdateMessageBody

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

Member Summary

Public Members
public
public
public
public

value: *

Method Summary

Public Methods
public

addAttributeType(attributeType: *)

public

addOperation(operation: *)

Inherited Summary

From class RethinkObject
public

validate(schema: *): boolean

Validates this RethinkObject against the provided schema.

From class MessageBody
public
public
public

idToken: *

public
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#constructor

Params:

NameTypeAttributeDescription
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.

Public Members

public attribute: * source

public attributeType: * source

public operation: * source

public value: * source

Public Methods

public addAttributeType(attributeType: *) source

Params:

NameTypeAttributeDescription
attributeType *

public addOperation(operation: *) source

Params:

NameTypeAttributeDescription
operation *