AppFunctionObjectTypeMetadata


class AppFunctionObjectTypeMetadata : AppFunctionDataTypeMetadata


Defines the schema of a object type.

Summary

Public constructors

AppFunctionObjectTypeMetadata(
    properties: Map<StringAppFunctionDataTypeMetadata>,
    required: List<String>,
    qualifiedName: String?,
    isNullable: Boolean
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Map<StringAppFunctionDataTypeMetadata>

The schema of the properties of the object.

String?

The object's qualified name if available.

List<String>

A list of required properties' names.

Inherited properties

From androidx.appfunctions.metadata.AppFunctionDataTypeMetadata
Boolean

Whether the data type is nullable.

Public constructors

AppFunctionObjectTypeMetadata

AppFunctionObjectTypeMetadata(
    properties: Map<StringAppFunctionDataTypeMetadata>,
    required: List<String>,
    qualifiedName: String?,
    isNullable: Boolean
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

properties

Added in 1.0.0-alpha01
val propertiesMap<StringAppFunctionDataTypeMetadata>

The schema of the properties of the object.

qualifiedName

Added in 1.0.0-alpha01
val qualifiedNameString?

The object's qualified name if available.

Use this value to set androidx.appfunctions.AppFunctionData.qualifiedName when trying to build the parameters for androidx.appfunctions.ExecuteAppFunctionRequest.

required

Added in 1.0.0-alpha01
val requiredList<String>

A list of required properties' names.