SessionIds Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.SessionIds

Implements

public final class SessionIds
implements JsonSerializable<SessionIds>

List of session IDs.

Constructor Summary

Constructor Description
SessionIds()

Creates an instance of SessionIds class.

Method Summary

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

Reads an instance of SessionIds from the JsonReader.

List<String> sessionIds()

Get the sessionIds property: List of session IDs.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SessionIds withSessionIds(List<String> sessionIds)

Set the sessionIds property: List of session IDs.

Methods inherited from java.lang.Object

Constructor Details

SessionIds

public SessionIds()

Creates an instance of SessionIds class.

Method Details

fromJson

public static SessionIds fromJson(JsonReader jsonReader)

Reads an instance of SessionIds from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

sessionIds

public List<String> sessionIds()

Get the sessionIds property: List of session IDs.

Returns:

the sessionIds value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSessionIds

public SessionIds withSessionIds(List<String> sessionIds)

Set the sessionIds property: List of session IDs.

Parameters:

sessionIds - the sessionIds value to set.

Returns:

the SessionIds object itself.

Applies to