ClassicAdministratorInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.ClassicAdministratorInner

Implements

public final class ClassicAdministratorInner
implements JsonSerializable<ClassicAdministratorInner>

Classic Administrators.

Method Summary

Modifier and Type Method and Description
String emailAddress()

Get the emailAddress property: The email address of the administrator.

static ClassicAdministratorInner fromJson(JsonReader jsonReader)

Reads an instance of ClassicAdministratorInner from the JsonReader.

String id()

Get the id property: The ID of the administrator.

String name()

Get the name property: The name of the administrator.

String role()

Get the role property: The role of the administrator.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the administrator.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

emailAddress

public String emailAddress()

Get the emailAddress property: The email address of the administrator.

Returns:

the emailAddress value.

fromJson

public static ClassicAdministratorInner fromJson(JsonReader jsonReader)

Reads an instance of ClassicAdministratorInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The ID of the administrator.

Returns:

the id value.

name

public String name()

Get the name property: The name of the administrator.

Returns:

the name value.

role

public String role()

Get the role property: The role of the administrator.

Returns:

the role value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the administrator.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to