MicrosoftGraphProfilePhoto Class

public final class MicrosoftGraphProfilePhoto
extends MicrosoftGraphEntity

profilePhoto.

Constructor Summary

Constructor Description
MicrosoftGraphProfilePhoto()

Creates an instance of MicrosoftGraphProfilePhoto class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: profilePhoto.

Integer height()

Get the height property: The height of the photo.

void validate()

Validates the instance.

Integer width()

Get the width property: The width of the photo.

MicrosoftGraphProfilePhoto withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: profilePhoto.

MicrosoftGraphProfilePhoto withHeight(Integer height)

Set the height property: The height of the photo.

MicrosoftGraphProfilePhoto withId(String id)

Set the id property: Read-only.

MicrosoftGraphProfilePhoto 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 additionalProperties()

Get the additionalProperties property: profilePhoto.

Overrides:

MicrosoftGraphProfilePhoto.additionalProperties()

Returns:

the additionalProperties value.

height

public Integer height()

Get the height property: The height of the photo. Read-only.

Returns:

the height value.

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:

the width value.

withAdditionalProperties

public MicrosoftGraphProfilePhoto withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: profilePhoto.

Overrides:

MicrosoftGraphProfilePhoto.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphProfilePhoto object itself.

withHeight

public MicrosoftGraphProfilePhoto withHeight(Integer height)

Set the height property: The height of the photo. Read-only.

Parameters:

height - the height value to set.

Returns:

the MicrosoftGraphProfilePhoto object itself.

withId

public MicrosoftGraphProfilePhoto withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphProfilePhoto.withId(String id)

Parameters:

id

withWidth

public MicrosoftGraphProfilePhoto withWidth(Integer width)

Set the width property: The width of the photo. Read-only.

Parameters:

width - the width value to set.

Returns:

the MicrosoftGraphProfilePhoto object itself.

Applies to