Partager via


ModelInfo Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ModelInfo

public class ModelInfo

Base type used in entity types.

Method Summary

Modifier and Type Method and Description
UUID id()

Get the id value.

String name()

Get the name value.

String readableType()

Get the readableType value.

Integer typeId()

Get the typeId value.

ModelInfo withId(UUID id)

Set the id value.

ModelInfo withName(String name)

Set the name value.

ModelInfo withReadableType(String readableType)

Set the readableType value.

ModelInfo withTypeId(Integer typeId)

Set the typeId value.

Method Details

id

public UUID id()

Get the id value.

Returns:

the id value

name

public String name()

Get the name value.

Returns:

the name value

readableType

public String readableType()

Get the readableType value.

Returns:

the readableType value

typeId

public Integer typeId()

Get the typeId value.

Returns:

the typeId value

withId

public ModelInfo withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the ModelInfo object itself.

withName

public ModelInfo withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the ModelInfo object itself.

withReadableType

public ModelInfo withReadableType(String readableType)

Set the readableType value.

Parameters:

readableType - the readableType value to set

Returns:

the ModelInfo object itself.

withTypeId

public ModelInfo withTypeId(Integer typeId)

Set the typeId value.

Parameters:

typeId - the typeId value to set

Returns:

the ModelInfo object itself.

Applies to