Class PermissionGrantConditionSet

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PermissionGrantConditionSet
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class PermissionGrantConditionSet extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Permission Grant Condition Set.
  • Field Details

    • clientApplicationIds

      @SerializedName(value="clientApplicationIds", alternate="ClientApplicationIds") @Expose @Nullable public List<String> clientApplicationIds
      The Client Application Ids. 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.
    • clientApplicationPublisherIds

      @SerializedName(value="clientApplicationPublisherIds", alternate="ClientApplicationPublisherIds") @Expose @Nullable public List<String> clientApplicationPublisherIds
      The Client Application Publisher Ids. 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.
    • clientApplicationsFromVerifiedPublisherOnly

      @SerializedName(value="clientApplicationsFromVerifiedPublisherOnly", alternate="ClientApplicationsFromVerifiedPublisherOnly") @Expose @Nullable public Boolean clientApplicationsFromVerifiedPublisherOnly
      The Client Applications From Verified Publisher Only. 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 does not have a verified publisher. Default is false.
    • clientApplicationTenantIds

      @SerializedName(value="clientApplicationTenantIds", alternate="ClientApplicationTenantIds") @Expose @Nullable public List<String> clientApplicationTenantIds
      The Client Application Tenant Ids. A list of Azure Active Directory 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.
    • permissionClassification

      @SerializedName(value="permissionClassification", alternate="PermissionClassification") @Expose @Nullable public String permissionClassification
      The Permission Classification. The permission classification for the permission being granted, or all to match with any permission classification (including permissions which are not classified). Default is all.
    • permissions

      @SerializedName(value="permissions", alternate="Permissions") @Expose @Nullable public List<String> permissions
      The Permissions. 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.
    • permissionType

      @SerializedName(value="permissionType", alternate="PermissionType") @Expose @Nullable public PermissionType permissionType
      The Permission Type. The permission type of the permission being granted. Possible values: application for application permissions (e.g. app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions which have not been configured by the API publisher to require admin consent—this value may be used in built-in permission grant policies, but cannot be used in custom permission grant policies. Required.
    • resourceApplication

      @SerializedName(value="resourceApplication", alternate="ResourceApplication") @Expose @Nullable public String resourceApplication
      The Resource Application. The appId of the resource application (e.g. the API) for which a permission is being granted, or any to match with any resource application or API. Default is any.
  • Constructor Details

    • PermissionGrantConditionSet

      public PermissionGrantConditionSet()
  • 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to