CommandResult
Kind: class
Module/package: models
SDK: pdfdancer-client-typescript 2.0.0
Result object returned by certain API endpoints indicating the outcome of an operation.
Declaration
class CommandResult
Members
constructor
constructor(commandName: string, elementId: string, message: string, success: boolean, warning: string): CommandResult
empty
empty(commandName: string, elementId: string): CommandResult
fromDict
fromDict(data: Record<string, any>): CommandResult
commandName
commandName: string
elementId
elementId: string
message
message: string
success
success: boolean
warning
warning: string