PermissionGetResult Class

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

Implements

public final class PermissionGetResult
implements JsonSerializable<PermissionGetResult>

Permissions information.

Constructor Summary

Constructor Description
PermissionGetResult()

Creates an instance of PermissionGetResult class.

Method Summary

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

Reads an instance of PermissionGetResult 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<PermissionInner> value()

Get the value property: An array of permissions.

PermissionGetResult withNextLink(String nextLink)

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

PermissionGetResult withValue(List<PermissionInner> value)

Set the value property: An array of permissions.

Methods inherited from java.lang.Object

Constructor Details

PermissionGetResult

public PermissionGetResult()

Creates an instance of PermissionGetResult class.

Method Details

fromJson

public static PermissionGetResult fromJson(JsonReader jsonReader)

Reads an instance of PermissionGetResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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<PermissionInner> value()

Get the value property: An array of permissions.

Returns:

the value value.

withNextLink

public PermissionGetResult 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 PermissionGetResult object itself.

withValue

public PermissionGetResult withValue(List<PermissionInner> value)

Set the value property: An array of permissions.

Parameters:

value - the value value to set.

Returns:

the PermissionGetResult object itself.

Applies to