v2025.6.2
All Bundles

ParameterType

Function parameter type definition

Operations

AddProp

Set properties

method : public : AddProp() ~ Nil

Parameters

NameTypeDescription

Compare

Compares two objects

method : public : Compare(rhs:System.Compare) ~ Int

Parameters

NameTypeDescription
rhsComparecompare object

Return

TypeDescription
Int0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater

GetDesc

Get the function description

method : public : GetDesc() ~ String

Return

TypeDescription
Stringfunction description

GetName

Get the function name

method : public : GetName() ~ String

Return

TypeDescription
Stringfunction name

GetProps

Get parameter properties object descriptions

method : public : GetProps() ~ Map<String,ParameterType>

Return

TypeDescription
Map<String,ParameterType>properties object descriptions

GetType

Get parameter type

method : public : GetType() ~ ParameterType->Type

Return

TypeDescription
ParameterType->Typeparameter type

HashID

Returns a hash ID for the given class

method : public : HashID() ~ Int

Return

TypeDescription
Inthash ID

IsArray

Returns rather the schema specifies an array of entities

method : public : IsArray() ~ Bool

Return

TypeDescription
Booltrue the scheme specifies array of entities, false otherwise

New

Constructor

New(type:ParameterType->Type, )

Parameters

NameTypeDescription
typeParameterType->Typeparameter type

New

+Constructor

New(type:ParameterType->Type, desc:String)

Parameters

NameTypeDescription
typeParameterType->Typeparameter type
descStringdescription

New

Constructor

New(req_params:String[], )

Parameters

NameTypeDescription
req_paramsStringrequire parameters

New

Constructor

New(type:ParameterType->Type)

Parameters

NameTypeDescription
typeParameterType->Typeparameter type

New

Constructor

New(type:ParameterType->Type, desc:String)

Parameters

NameTypeDescription
typeParameterType->Typeparameter type
descStringdescription

New

Constructor

New(req_params:String[])

Parameters

NameTypeDescription
req_paramsStringrequire parameters

New

Constructor

New(req_params:String[], desc:String)

Parameters

NameTypeDescription
req_paramsStringrequire parameters
descStringdescription

SetArray

Set schema to be an array of entities

method : public : SetArray(is_array:Bool) ~ Nil

Parameters

NameTypeDescription
is_arrayBoolif true an array of entities, false other

SetDesc

Set the function description

method : public : SetDesc(desc:String) ~ Nil

Parameters

NameTypeDescription
descStringsets function description

SetType

Set parameter type

method : public : SetType(type:ParameterType->Type) ~ Nil

Parameters

NameTypeDescription
typeParameterType->Typeparameter type

ToJson

JSON element representation

method : public : ToJson() ~ JsonElement

Return

TypeDescription
JsonElementJSON element representation

ToString

JSON string representation

method : public : ToString() ~ String

Return

TypeDescription
StringJSON string representation