MicrosoftGraphPackage Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPackage
- com.
Implements
public final class MicrosoftGraphPackage
implements JsonSerializable<MicrosoftGraphPackage>
Represents a package.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphPackage() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: A string indicating the type of package. |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withType(String type)
Set the type property: A string indicating the type of package. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPackage
public MicrosoftGraphPackage()
Creates an instance of MicrosoftGraphPackage class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: package.
Returns:
fromJson
public static MicrosoftGraphPackage fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPackage from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphPackage withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: package.
Parameters:
Returns:
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:
Returns: