Principal Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. Principal
- com.
Implements
public final class Principal
implements JsonSerializable<Principal>
The name of the entity last modified it.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
| String |
email()
Get the email property: Email of principal. |
| static Principal |
fromJson(JsonReader jsonReader)
Reads an instance of Principal from the Json |
| String |
id()
Get the id property: The id of the principal made changes. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of principal such as user , group etc. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
displayName
public String displayName()
Get the displayName property: The name of the principal made changes.
Returns:
public String email()
Get the email property: Email of principal.
Returns:
fromJson
public static Principal fromJson(JsonReader jsonReader)
Reads an instance of Principal from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The id of the principal made changes.
Returns:
toJson
type
public String type()
Get the type property: Type of principal such as user , group etc.
Returns:
validate
public void validate()
Validates the instance.