你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphPackage Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPackage
- com.
Implements
public final class MicrosoftGraphPackage
implements JsonSerializable<MicrosoftGraphPackage>
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
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
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: