你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphProfilePhoto Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphProfilePhoto
- com.
- com.
public final class MicrosoftGraphProfilePhoto
extends MicrosoftGraphEntity
profilePhoto.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphProfilePhoto() |
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 |
Integer |
height()
Get the height property: The height of the photo. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
width()
Get the width property: The width of the photo. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withHeight(Integer height)
Set the height property: The height of the photo. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withWidth(Integer width)
Set the width property: The width of the photo. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphProfilePhoto
public MicrosoftGraphProfilePhoto()
Creates an instance of MicrosoftGraphProfilePhoto class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: profilePhoto.
Overrides:
MicrosoftGraphProfilePhoto.additionalProperties()Returns:
fromJson
public static MicrosoftGraphProfilePhoto fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphProfilePhoto from the JsonReader.
Parameters:
Returns:
Throws:
height
public Integer height()
Get the height property: The height of the photo. Read-only.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphProfilePhoto.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphProfilePhoto.validate()width
public Integer width()
Get the width property: The width of the photo. Read-only.
Returns:
withAdditionalProperties
public MicrosoftGraphProfilePhoto withAdditionalProperties(Map
Set the additionalProperties property: profilePhoto.
Overrides:
MicrosoftGraphProfilePhoto.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withHeight
public MicrosoftGraphProfilePhoto withHeight(Integer height)
Set the height property: The height of the photo. Read-only.
Parameters:
Returns:
withId
public MicrosoftGraphProfilePhoto withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphProfilePhoto.withId(String id)Parameters:
withWidth
public MicrosoftGraphProfilePhoto withWidth(Integer width)
Set the width property: The width of the photo. Read-only.
Parameters:
Returns: