Class MicrosoftGraphPreAuthorizedApplication


  • public final class MicrosoftGraphPreAuthorizedApplication
    extends Object
    preAuthorizedApplication.
    • Constructor Detail

      • MicrosoftGraphPreAuthorizedApplication

        public MicrosoftGraphPreAuthorizedApplication()
    • Method Detail

      • appId

        public String appId()
        Get the appId property: The unique identifier for the application.
        Returns:
        the appId value.
      • withAppId

        public MicrosoftGraphPreAuthorizedApplication withAppId​(String appId)
        Set the appId property: The unique identifier for the application.
        Parameters:
        appId - the appId value to set.
        Returns:
        the MicrosoftGraphPreAuthorizedApplication object itself.
      • delegatedPermissionIds

        public List<String> delegatedPermissionIds()
        Get the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.
        Returns:
        the delegatedPermissionIds value.
      • withDelegatedPermissionIds

        public MicrosoftGraphPreAuthorizedApplication withDelegatedPermissionIds​(List<String> delegatedPermissionIds)
        Set the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.
        Parameters:
        delegatedPermissionIds - the delegatedPermissionIds value to set.
        Returns:
        the MicrosoftGraphPreAuthorizedApplication object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: preAuthorizedApplication.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphPreAuthorizedApplication withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: preAuthorizedApplication.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphPreAuthorizedApplication object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.