Package com.microsoft.graph.models
Class AppRoleAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.AppRoleAssignment
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class AppRoleAssignment
extends DirectoryObject
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the App Role Assignment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe App Role Id.The Created Date Time.The Principal Display Name.The Principal Id.The Principal Type.The Resource Display Name.The Resource Id.Fields inherited from class com.microsoft.graph.models.DirectoryObject
deletedDateTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
appRoleId
The App Role Id. The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. The time when the app role assignment was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. -
principalDisplayName
@SerializedName(value="principalDisplayName", alternate="PrincipalDisplayName") @Expose @Nullable public String principalDisplayNameThe Principal Display Name. The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). -
principalId
@SerializedName(value="principalId", alternate="PrincipalId") @Expose @Nullable public UUID principalIdThe Principal Id. The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create. -
principalType
@SerializedName(value="principalType", alternate="PrincipalType") @Expose @Nullable public String principalTypeThe Principal Type. The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only. -
resourceDisplayName
@SerializedName(value="resourceDisplayName", alternate="ResourceDisplayName") @Expose @Nullable public String resourceDisplayNameThe Resource Display Name. The display name of the resource app's service principal to which the assignment is made. -
resourceId
@SerializedName(value="resourceId", alternate="ResourceId") @Expose @Nullable public UUID resourceIdThe Resource Id. The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only).
-
-
Constructor Details
-
AppRoleAssignment
public AppRoleAssignment()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classDirectoryObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-