Class MicrosoftGraphPackage
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPackage
-
public final class MicrosoftGraphPackage extends Object
package.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: package.String
type()
Get the type property: A string indicating the type of package.void
validate()
Validates the instance.MicrosoftGraphPackage
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: package.MicrosoftGraphPackage
withType(String type)
Set the type property: A string indicating the type of package.
-
-
-
Method Detail
-
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.
-
-