Freigeben über


BatchLabelExample Class

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

public class BatchLabelExample

Response when adding a batch of labeled example utterances.

Method Summary

Modifier and Type Method and Description
OperationStatus error()

Get the error value.

Boolean hasError()

Get the hasError value.

LabelExampleResponse value()

Get the value value.

BatchLabelExample withError(OperationStatus error)

Set the error value.

BatchLabelExample withHasError(Boolean hasError)

Set the hasError value.

BatchLabelExample withValue(LabelExampleResponse value)

Set the value value.

Method Details

error

public OperationStatus error()

Get the error value.

Returns:

the error value

hasError

public Boolean hasError()

Get the hasError value.

Returns:

the hasError value

value

public LabelExampleResponse value()

Get the value value.

Returns:

the value value

withError

public BatchLabelExample withError(OperationStatus error)

Set the error value.

Parameters:

error - the error value to set

Returns:

the BatchLabelExample object itself.

withHasError

public BatchLabelExample withHasError(Boolean hasError)

Set the hasError value.

Parameters:

hasError - the hasError value to set

Returns:

the BatchLabelExample object itself.

withValue

public BatchLabelExample withValue(LabelExampleResponse value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the BatchLabelExample object itself.

Applies to