Class MicrosoftGraphProfilePhoto

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphProfilePhoto

public final class MicrosoftGraphProfilePhoto extends MicrosoftGraphEntity
profilePhoto.
  • Constructor Details

    • MicrosoftGraphProfilePhoto

      public MicrosoftGraphProfilePhoto()
      Creates an instance of MicrosoftGraphProfilePhoto class.
  • Method Details

    • height

      public Integer height()
      Get the height property: The height of the photo. Read-only.
      Returns:
      the height value.
    • 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.
    • width

      public Integer width()
      Get the width property: The width of the photo. Read-only.
      Returns:
      the width value.
    • 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.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: profilePhoto.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphProfilePhoto withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: profilePhoto.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphProfilePhoto object itself.
    • withId

      public MicrosoftGraphProfilePhoto withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.