Package com.microsoft.graph.models
Class PermissionGrantConditionSet
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PermissionGrantConditionSet
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PermissionGrantConditionSet
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionGrantConditionSet
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the clientApplicationIds property value.Gets the clientApplicationPublisherIds property value.Gets the clientApplicationsFromVerifiedPublisherOnly property value.Gets the clientApplicationTenantIds property value.The deserialization information for the current modelGets the permissionClassification property value.Gets the permissions property value.Gets the permissionType property value.Gets the resourceApplication property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setClientApplicationIds
(List<String> value) Sets the clientApplicationIds property value.void
Sets the clientApplicationPublisherIds property value.void
Sets the clientApplicationsFromVerifiedPublisherOnly property value.void
setClientApplicationTenantIds
(List<String> value) Sets the clientApplicationTenantIds property value.void
Sets the permissionClassification property value.void
setPermissions
(List<String> value) Sets the permissions property value.void
setPermissionType
(PermissionType value) Sets the permissionType property value.void
setResourceApplication
(String value) Sets the resourceApplication property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PermissionGrantConditionSet
public PermissionGrantConditionSet()Instantiates a newPermissionGrantConditionSet
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PermissionGrantConditionSet createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
PermissionGrantConditionSet
-
getClientApplicationIds
Gets the clientApplicationIds property value. A list of appId values for the client applications to match with, or a list with the single value all to match any client application. Default is the single value all. -
getClientApplicationPublisherIds
Gets the clientApplicationPublisherIds property value. A list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher. Default is the single value all. -
getClientApplicationsFromVerifiedPublisherOnly
Gets the clientApplicationsFromVerifiedPublisherOnly property value. Set to true to only match on client applications with a verified publisher. Set to false to match on any client app, even if it doesn't have a verified publisher. Default is false.- Returns:
- a
Boolean
-
getClientApplicationTenantIds
Gets the clientApplicationTenantIds property value. A list of Microsoft Entra tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant. Default is the single value all. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPermissionClassification
Gets the permissionClassification property value. The permission classification for the permission being granted, or all to match with any permission classification (including permissions that aren't classified). Default is all.- Returns:
- a
String
-
getPermissions
Gets the permissions property value. The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the oauth2PermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. -
getPermissionType
Gets the permissionType property value. The permission type of the permission being granted. Possible values: application for application permissions (for example app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions that haven't been configured by the API publisher to require admin consentthis value may be used in built-in permission grant policies, but can't be used in custom permission grant policies. Required.- Returns:
- a
PermissionType
-
getResourceApplication
Gets the resourceApplication property value. The appId of the resource application (for example the API) for which a permission is being granted, or any to match with any resource application or API. Default is any.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setClientApplicationIds
Sets the clientApplicationIds property value. A list of appId values for the client applications to match with, or a list with the single value all to match any client application. Default is the single value all.- Parameters:
value
- Value to set for the clientApplicationIds property.
-
setClientApplicationPublisherIds
Sets the clientApplicationPublisherIds property value. A list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher. Default is the single value all.- Parameters:
value
- Value to set for the clientApplicationPublisherIds property.
-
setClientApplicationsFromVerifiedPublisherOnly
Sets the clientApplicationsFromVerifiedPublisherOnly property value. Set to true to only match on client applications with a verified publisher. Set to false to match on any client app, even if it doesn't have a verified publisher. Default is false.- Parameters:
value
- Value to set for the clientApplicationsFromVerifiedPublisherOnly property.
-
setClientApplicationTenantIds
Sets the clientApplicationTenantIds property value. A list of Microsoft Entra tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant. Default is the single value all.- Parameters:
value
- Value to set for the clientApplicationTenantIds property.
-
setPermissionClassification
Sets the permissionClassification property value. The permission classification for the permission being granted, or all to match with any permission classification (including permissions that aren't classified). Default is all.- Parameters:
value
- Value to set for the permissionClassification property.
-
setPermissions
Sets the permissions property value. The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the oauth2PermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all.- Parameters:
value
- Value to set for the permissions property.
-
setPermissionType
Sets the permissionType property value. The permission type of the permission being granted. Possible values: application for application permissions (for example app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions that haven't been configured by the API publisher to require admin consentthis value may be used in built-in permission grant policies, but can't be used in custom permission grant policies. Required.- Parameters:
value
- Value to set for the permissionType property.
-
setResourceApplication
Sets the resourceApplication property value. The appId of the resource application (for example the API) for which a permission is being granted, or any to match with any resource application or API. Default is any.- Parameters:
value
- Value to set for the resourceApplication property.
-