DetectorResponseInner Class

public final class DetectorResponseInner
extends ProxyOnlyResource

Class representing Response from Detector.

Constructor Summary

Constructor Description
DetectorResponseInner()

Creates an instance of DetectorResponseInner class.

Method Summary

Modifier and Type Method and Description
List<DataProviderMetadata> dataProvidersMetadata()

Get the dataProvidersMetadata property: Additional configuration for different data providers to be used by the UI.

List<DiagnosticData> dataset()

Get the dataset property: Data Set.

static DetectorResponseInner fromJson(JsonReader jsonReader)

Reads an instance of DetectorResponseInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

DetectorInfo metadata()

Get the metadata property: metadata for the detector.

String name()

Get the name property: The name of the resource.

Status status()

Get the status property: Indicates status of the most severe insight.

QueryUtterancesResults suggestedUtterances()

Get the suggestedUtterances property: Suggested utterances where the detector can be applicable.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DetectorResponseInner withDataProvidersMetadata(List<DataProviderMetadata> dataProvidersMetadata)

Set the dataProvidersMetadata property: Additional configuration for different data providers to be used by the UI.

DetectorResponseInner withDataset(List<DiagnosticData> dataset)

Set the dataset property: Data Set.

DetectorResponseInner withKind(String kind)

Set the kind property: Kind of resource.

DetectorResponseInner withMetadata(DetectorInfo metadata)

Set the metadata property: metadata for the detector.

DetectorResponseInner withStatus(Status status)

Set the status property: Indicates status of the most severe insight.

DetectorResponseInner withSuggestedUtterances(QueryUtterancesResults suggestedUtterances)

Set the suggestedUtterances property: Suggested utterances where the detector can be applicable.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

DetectorResponseInner

public DetectorResponseInner()

Creates an instance of DetectorResponseInner class.

Method Details

dataProvidersMetadata

public List dataProvidersMetadata()

Get the dataProvidersMetadata property: Additional configuration for different data providers to be used by the UI.

Returns:

the dataProvidersMetadata value.

dataset

public List dataset()

Get the dataset property: Data Set.

Returns:

the dataset value.

fromJson

public static DetectorResponseInner fromJson(JsonReader jsonReader)

Reads an instance of DetectorResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DetectorResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DetectorResponseInner.id()

Returns:

the id value.

metadata

public DetectorInfo metadata()

Get the metadata property: metadata for the detector.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DetectorResponseInner.name()

Returns:

the name value.

status

public Status status()

Get the status property: Indicates status of the most severe insight.

Returns:

the status value.

suggestedUtterances

public QueryUtterancesResults suggestedUtterances()

Get the suggestedUtterances property: Suggested utterances where the detector can be applicable.

Returns:

the suggestedUtterances value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DetectorResponseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DetectorResponseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DetectorResponseInner.validate()

withDataProvidersMetadata

public DetectorResponseInner withDataProvidersMetadata(List dataProvidersMetadata)

Set the dataProvidersMetadata property: Additional configuration for different data providers to be used by the UI.

Parameters:

dataProvidersMetadata - the dataProvidersMetadata value to set.

Returns:

the DetectorResponseInner object itself.

withDataset

public DetectorResponseInner withDataset(List dataset)

Set the dataset property: Data Set.

Parameters:

dataset - the dataset value to set.

Returns:

the DetectorResponseInner object itself.

withKind

public DetectorResponseInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

DetectorResponseInner.withKind(String kind)

Parameters:

kind

withMetadata

public DetectorResponseInner withMetadata(DetectorInfo metadata)

Set the metadata property: metadata for the detector.

Parameters:

metadata - the metadata value to set.

Returns:

the DetectorResponseInner object itself.

withStatus

public DetectorResponseInner withStatus(Status status)

Set the status property: Indicates status of the most severe insight.

Parameters:

status - the status value to set.

Returns:

the DetectorResponseInner object itself.

withSuggestedUtterances

public DetectorResponseInner withSuggestedUtterances(QueryUtterancesResults suggestedUtterances)

Set the suggestedUtterances property: Suggested utterances where the detector can be applicable.

Parameters:

suggestedUtterances - the suggestedUtterances value to set.

Returns:

the DetectorResponseInner object itself.

Applies to