SearchAssistant Class

public final class SearchAssistant
extends Channel

SearchAssistant definition.

Constructor Summary

Constructor Description
SearchAssistant()

Creates an instance of SearchAssistant class.

Method Summary

Modifier and Type Method and Description
String channelName()

Get the channelName property: The channel name.

static SearchAssistant fromJson(JsonReader jsonReader)

Reads an instance of SearchAssistant from the JsonReader.

String provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SearchAssistant withEtag(String etag)

Set the etag property: Entity Tag of the resource.

SearchAssistant withLocation(String location)

Set the location property: Specifies the location of the resource.

Methods inherited from Channel

Methods inherited from java.lang.Object

Constructor Details

SearchAssistant

public SearchAssistant()

Creates an instance of SearchAssistant class.

Method Details

channelName

public String channelName()

Get the channelName property: The channel name.

Overrides:

SearchAssistant.channelName()

Returns:

the channelName value.

fromJson

public static SearchAssistant fromJson(JsonReader jsonReader)

Reads an instance of SearchAssistant from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SearchAssistant.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Overrides:

SearchAssistant.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SearchAssistant.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

SearchAssistant.validate()

withEtag

public SearchAssistant withEtag(String etag)

Set the etag property: Entity Tag of the resource.

Overrides:

SearchAssistant.withEtag(String etag)

Parameters:

etag

withLocation

public SearchAssistant withLocation(String location)

Set the location property: Specifies the location of the resource.

Overrides:

SearchAssistant.withLocation(String location)

Parameters:

location

Applies to