EndpointServiceResultInner Class

public final class EndpointServiceResultInner
extends SubResource

Endpoint service.

Method Summary

Modifier and Type Method and Description
static EndpointServiceResultInner fromJson(JsonReader jsonReader)

Reads an instance of EndpointServiceResultInner from the JsonReader.

String name()

Get the name property: Name of the endpoint service.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the endpoint service.

void validate()

Validates the instance.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Method Details

fromJson

public static EndpointServiceResultInner fromJson(JsonReader jsonReader)

Reads an instance of EndpointServiceResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EndpointServiceResultInner 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 EndpointServiceResultInner.

name

public String name()

Get the name property: Name of the endpoint service.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EndpointServiceResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the endpoint service.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to