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
Represents a profile photo.
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<String,Object> additionalProperties()
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<String,Object> additionalProperties)
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: