Class MicrosoftGraphPackage
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPackage
package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: package.type()Get the type property: A string indicating the type of package.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: package.Set the type property: A string indicating the type of package.
-
Constructor Details
-
MicrosoftGraphPackage
public MicrosoftGraphPackage()Creates an instance of MicrosoftGraphPackage class.
-
-
Method Details
-
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
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
Get the additionalProperties property: package.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-