Skip to main content

%REST.Generator

%REST.Generator generates classes based on a OpenAPI specification class. This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Property Inventory

Method Inventory

Properties

property CompileClasses as %Boolean [ InitialExpression = 1 ];
Input property to control compilation of created classes. Default is to compile classes.
Property methods: CompileClassesDisplayToLogical(), CompileClassesGet(), CompileClassesIsValid(), CompileClassesLogicalToDisplay(), CompileClassesNormalize(), CompileClassesSet()
property CompileFlags as %String [ InitialExpression = "k-d" ];
Flags to be used for class compiles.
Property methods: CompileFlagsDisplayToLogical(), CompileFlagsGet(), CompileFlagsIsValid(), CompileFlagsLogicalToDisplay(), CompileFlagsLogicalToOdbc(), CompileFlagsNormalize(), CompileFlagsSet()
property InternalError as %Boolean [ InitialExpression = 0 ];
The InternalError property is set to true if an internal error is trapped.
Property methods: InternalErrorDisplayToLogical(), InternalErrorGet(), InternalErrorIsValid(), InternalErrorLogicalToDisplay(), InternalErrorNormalize(), InternalErrorSet()

Methods

classmethod IsSubClass(class As %String, superClass As %String) as %Integer
Check if the given 'class' is a subclass of 'superClass': if class is guaranteed to be compiled use %Extends instead.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab