FeatureInfoObject Class

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

public class FeatureInfoObject

The base class Features-related response objects inherit from.

Method Summary

Modifier and Type Method and Description
Boolean enabledForAllModels()

Get the enabledForAllModels value.

Integer id()

Get the id value.

Boolean isActive()

Get the isActive value.

String name()

Get the name value.

FeatureInfoObject withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

FeatureInfoObject withId(Integer id)

Set the id value.

FeatureInfoObject withIsActive(Boolean isActive)

Set the isActive value.

FeatureInfoObject withName(String name)

Set the name value.

Method Details

enabledForAllModels

public Boolean enabledForAllModels()

Get the enabledForAllModels value.

Returns:

the enabledForAllModels value

id

public Integer id()

Get the id value.

Returns:

the id value

isActive

public Boolean isActive()

Get the isActive value.

Returns:

the isActive value

name

public String name()

Get the name value.

Returns:

the name value

withEnabledForAllModels

public FeatureInfoObject withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

Parameters:

enabledForAllModels - the enabledForAllModels value to set

Returns:

the FeatureInfoObject object itself.

withId

public FeatureInfoObject withId(Integer id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the FeatureInfoObject object itself.

withIsActive

public FeatureInfoObject withIsActive(Boolean isActive)

Set the isActive value.

Parameters:

isActive - the isActive value to set

Returns:

the FeatureInfoObject object itself.

withName

public FeatureInfoObject withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the FeatureInfoObject object itself.

Applies to