Share via


ClassicAdministratorListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.ClassicAdministratorListResult

Implements

public final class ClassicAdministratorListResult
implements JsonSerializable<ClassicAdministratorListResult>

ClassicAdministrator list result information.

Constructor Summary

Constructor Description
ClassicAdministratorListResult()

Creates an instance of ClassicAdministratorListResult class.

Method Summary

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

Reads an instance of ClassicAdministratorListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URL to use for getting the next set of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ClassicAdministratorInner> value()

Get the value property: An array of administrators.

ClassicAdministratorListResult withNextLink(String nextLink)

Set the nextLink property: The URL to use for getting the next set of results.

ClassicAdministratorListResult withValue(List<ClassicAdministratorInner> value)

Set the value property: An array of administrators.

Methods inherited from java.lang.Object

Constructor Details

ClassicAdministratorListResult

public ClassicAdministratorListResult()

Creates an instance of ClassicAdministratorListResult class.

Method Details

fromJson

public static ClassicAdministratorListResult fromJson(JsonReader jsonReader)

Reads an instance of ClassicAdministratorListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL to use for getting the next set of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ClassicAdministratorInner> value()

Get the value property: An array of administrators.

Returns:

the value value.

withNextLink

public ClassicAdministratorListResult withNextLink(String nextLink)

Set the nextLink property: The URL to use for getting the next set of results.

Parameters:

nextLink - the nextLink value to set.

Returns:

the ClassicAdministratorListResult object itself.

withValue

public ClassicAdministratorListResult withValue(List<ClassicAdministratorInner> value)

Set the value property: An array of administrators.

Parameters:

value - the value value to set.

Returns:

the ClassicAdministratorListResult object itself.

Applies to