EndpointServiceResultInner Class

public final class EndpointServiceResultInner
extends SubResource

Endpoint service.

Constructor Summary

Constructor Description
EndpointServiceResultInner()

Creates an instance of EndpointServiceResultInner class.

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.

EndpointServiceResultInner withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

EndpointServiceResultInner

public EndpointServiceResultInner()

Creates an instance of EndpointServiceResultInner class.

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.

withId

public EndpointServiceResultInner withId(String id)

Overrides:

EndpointServiceResultInner.withId(String id)

Parameters:

id

Applies to