MicrosoftGraphResourceSpecificPermissionGrant Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphResourceSpecificPermissionGrant
- com.
- com.
- com.
public final class MicrosoftGraphResourceSpecificPermissionGrant
extends MicrosoftGraphDirectoryObjectInner
Represents a resource specific permission grant.
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphResourceSpecificPermissionGrant() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| String |
clientAppId()
Get the client |
| String |
clientId()
Get the client |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
permission()
Get the permission property: The permission property. |
| String |
permissionType()
Get the permission |
| String |
resourceAppId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withClientAppId(String clientAppId)
Set the client |
|
Microsoft |
withClientId(String clientId)
Set the client |
|
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withPermission(String permission)
Set the permission property: The permission property. |
|
Microsoft |
withPermissionType(String permissionType)
Set the permission |
|
Microsoft |
withResourceAppId(String resourceAppId)
Set the resource |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphResourceSpecificPermissionGrant
public MicrosoftGraphResourceSpecificPermissionGrant()
Creates an instance of MicrosoftGraphResourceSpecificPermissionGrant class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Overrides:
MicrosoftGraphResourceSpecificPermissionGrant.additionalProperties()Returns:
clientAppId
public String clientAppId()
Get the clientAppId property: The clientAppId property.
Returns:
clientId
public String clientId()
Get the clientId property: The clientId property.
Returns:
fromJson
public static MicrosoftGraphResourceSpecificPermissionGrant fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphResourceSpecificPermissionGrant from the JsonReader.
Parameters:
Returns:
Throws:
permission
public String permission()
Get the permission property: The permission property.
Returns:
permissionType
public String permissionType()
Get the permissionType property: The permissionType property.
Returns:
resourceAppId
public String resourceAppId()
Get the resourceAppId property: The resourceAppId property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphResourceSpecificPermissionGrant.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphResourceSpecificPermissionGrant.validate()withAdditionalProperties
public MicrosoftGraphResourceSpecificPermissionGrant withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Overrides:
MicrosoftGraphResourceSpecificPermissionGrant.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withClientAppId
public MicrosoftGraphResourceSpecificPermissionGrant withClientAppId(String clientAppId)
Set the clientAppId property: The clientAppId property.
Parameters:
Returns:
withClientId
public MicrosoftGraphResourceSpecificPermissionGrant withClientId(String clientId)
Set the clientId property: The clientId property.
Parameters:
Returns:
withDeletedDateTime
public MicrosoftGraphResourceSpecificPermissionGrant withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphResourceSpecificPermissionGrant.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withId
public MicrosoftGraphResourceSpecificPermissionGrant withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphResourceSpecificPermissionGrant.withId(String id)Parameters:
withPermission
public MicrosoftGraphResourceSpecificPermissionGrant withPermission(String permission)
Set the permission property: The permission property.
Parameters:
Returns:
withPermissionType
public MicrosoftGraphResourceSpecificPermissionGrant withPermissionType(String permissionType)
Set the permissionType property: The permissionType property.
Parameters:
Returns:
withResourceAppId
public MicrosoftGraphResourceSpecificPermissionGrant withResourceAppId(String resourceAppId)
Set the resourceAppId property: The resourceAppId property.
Parameters:
Returns: