Class MicrosoftGraphPackage

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPackage

public final class MicrosoftGraphPackage extends Object
package.
  • Constructor Details

    • MicrosoftGraphPackage

      public MicrosoftGraphPackage()
      Creates an instance of MicrosoftGraphPackage class.
  • Method Details

    • type

      public String type()
      Get the type property: A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly.
      Returns:
      the type value.
    • withType

      public MicrosoftGraphPackage withType(String type)
      Set the type property: A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly.
      Parameters:
      type - the type value to set.
      Returns:
      the MicrosoftGraphPackage object itself.
    • additionalProperties

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

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

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