Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AddModelCommand

A command to add a model to a project.

Hierarchy

Index

Constructors

constructor

  • new AddModelCommand(id: Guid, requestId: Guid, sessionId: Guid, elementId: Guid, elementType: string, elementProperties: Dictionary<any>, parentId?: Guid): AddModelCommand
  • Parameters

    • id: Guid

      The RFC4122 v4 compliant ID of this command.

    • requestId: Guid

      The RFC4122 v4 compliant ID of the request that created this command.

    • sessionId: Guid

      The RFC4122 v4 compliant ID of the session that created this command.

    • elementId: Guid

      The RFC4122 v4 compliant ID of the new model.

    • elementType: string

      The type of the new model.

    • elementProperties: Dictionary<any>

      The properties of the new model.

    • Optional parentId: Guid

      The optional ID of the parent element

    Returns AddModelCommand

Properties

ParentId

ParentId: Guid

Identifier of the parent model

elementId

elementId: Guid

The RFC4122 v4 compliant ID of the new element.

elementProperties

elementProperties: Dictionary<any>

The properties of the new element.

elementType

elementType: string

The type of the new element.

id

id: Guid

The RFC4122 v4 compliant ID of this command.

requestId

requestId: Guid

The RFC4122 v4 compliant ID of the request that created this command.

sessionId

sessionId: Guid

The RFC4122 v4 compliant ID of the session that created this command.

type

The type of this command.

Methods

toJson

  • toJson(): string

Generated using TypeDoc