MicrosoftGraphDelegatedPermissionClassification Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDelegatedPermissionClassification
- com.
- com.
public final class MicrosoftGraphDelegatedPermissionClassification
extends MicrosoftGraphEntity
delegatedPermissionClassification.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDelegatedPermissionClassification() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
classification()
Get the classification property: permission |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
permissionId()
Get the permission |
String |
permissionName()
Get the permission |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withClassification(MicrosoftGraphPermissionClassificationType classification)
Set the classification property: permission |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withPermissionId(String permissionId)
Set the permission |
Microsoft |
withPermissionName(String permissionName)
Set the permission |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDelegatedPermissionClassification
public MicrosoftGraphDelegatedPermissionClassification()
Creates an instance of MicrosoftGraphDelegatedPermissionClassification class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: delegatedPermissionClassification.
Overrides:
MicrosoftGraphDelegatedPermissionClassification.additionalProperties()Returns:
classification
public MicrosoftGraphPermissionClassificationType classification()
Get the classification property: permissionClassificationType.
Returns:
fromJson
public static MicrosoftGraphDelegatedPermissionClassification fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDelegatedPermissionClassification from the JsonReader.
Parameters:
Returns:
Throws:
permissionId
public String permissionId()
Get the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter.
Returns:
permissionName
public String permissionName()
Get the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Does not support $filter.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDelegatedPermissionClassification.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDelegatedPermissionClassification.validate()withAdditionalProperties
public MicrosoftGraphDelegatedPermissionClassification withAdditionalProperties(Map
Set the additionalProperties property: delegatedPermissionClassification.
Overrides:
MicrosoftGraphDelegatedPermissionClassification.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withClassification
public MicrosoftGraphDelegatedPermissionClassification withClassification(MicrosoftGraphPermissionClassificationType classification)
Set the classification property: permissionClassificationType.
Parameters:
Returns:
withId
public MicrosoftGraphDelegatedPermissionClassification withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDelegatedPermissionClassification.withId(String id)Parameters:
withPermissionId
public MicrosoftGraphDelegatedPermissionClassification withPermissionId(String permissionId)
Set the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter.
Parameters:
Returns:
withPermissionName
public MicrosoftGraphDelegatedPermissionClassification withPermissionName(String permissionName)
Set the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Does not support $filter.
Parameters:
Returns:
Applies to
Azure SDK for Java