ImportedObjectDefinition

@Serializable
data class ImportedObjectDefinition(val type: String, val kind: Int, val name: String? = null, val required: Boolean? = false, val comment: String? = null, val uri: String, val namespace: String, val nativeType: String, val properties: List<PropertyDefinition>? = null, val interfaces: List<GenericDefinition>? = null) : IGenericDefinition, WithComment, ImportedDefinition

A data class representing an imported object definition in a Wrap ABI.

Constructors

Link copied to clipboard
constructor(type: String, kind: Int, name: String? = null, required: Boolean? = false, comment: String? = null, uri: String, namespace: String, nativeType: String, properties: List<PropertyDefinition>? = null, interfaces: List<GenericDefinition>? = null)

Properties

Link copied to clipboard
open override val comment: String? = null

The comment for this definition.

Link copied to clipboard

The list of interfaces implemented by the imported object.

Link copied to clipboard
open override val kind: Int

The kind of the imported object definition.

Link copied to clipboard
open override val name: String? = null

The name of the imported object definition.

Link copied to clipboard
open override val namespace: String

The namespace of the imported object.

Link copied to clipboard
open override val nativeType: String

The native type of the imported object.

Link copied to clipboard

The list of properties of the imported object.

Link copied to clipboard
open override val required: Boolean? = false

A flag indicating whether this definition is required.

Link copied to clipboard
open override val type: String

The type of the imported object definition.

Link copied to clipboard
open override val uri: String

The URI of the imported object.