Class MicrosoftGraphPhoto


  • public final class MicrosoftGraphPhoto
    extends Object
    photo.
    • Constructor Detail

      • MicrosoftGraphPhoto

        public MicrosoftGraphPhoto()
    • Method Detail

      • cameraMake

        public String cameraMake()
        Get the cameraMake property: Camera manufacturer. Read-only.
        Returns:
        the cameraMake value.
      • withCameraMake

        public MicrosoftGraphPhoto withCameraMake​(String cameraMake)
        Set the cameraMake property: Camera manufacturer. Read-only.
        Parameters:
        cameraMake - the cameraMake value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • cameraModel

        public String cameraModel()
        Get the cameraModel property: Camera model. Read-only.
        Returns:
        the cameraModel value.
      • withCameraModel

        public MicrosoftGraphPhoto withCameraModel​(String cameraModel)
        Set the cameraModel property: Camera model. Read-only.
        Parameters:
        cameraModel - the cameraModel value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • exposureDenominator

        public Double exposureDenominator()
        Get the exposureDenominator property: The denominator for the exposure time fraction from the camera. Read-only.
        Returns:
        the exposureDenominator value.
      • withExposureDenominator

        public MicrosoftGraphPhoto withExposureDenominator​(Double exposureDenominator)
        Set the exposureDenominator property: The denominator for the exposure time fraction from the camera. Read-only.
        Parameters:
        exposureDenominator - the exposureDenominator value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • exposureNumerator

        public Double exposureNumerator()
        Get the exposureNumerator property: The numerator for the exposure time fraction from the camera. Read-only.
        Returns:
        the exposureNumerator value.
      • withExposureNumerator

        public MicrosoftGraphPhoto withExposureNumerator​(Double exposureNumerator)
        Set the exposureNumerator property: The numerator for the exposure time fraction from the camera. Read-only.
        Parameters:
        exposureNumerator - the exposureNumerator value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • fNumber

        public Double fNumber()
        Get the fNumber property: The F-stop value from the camera. Read-only.
        Returns:
        the fNumber value.
      • withFNumber

        public MicrosoftGraphPhoto withFNumber​(Double fNumber)
        Set the fNumber property: The F-stop value from the camera. Read-only.
        Parameters:
        fNumber - the fNumber value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • focalLength

        public Double focalLength()
        Get the focalLength property: The focal length from the camera. Read-only.
        Returns:
        the focalLength value.
      • withFocalLength

        public MicrosoftGraphPhoto withFocalLength​(Double focalLength)
        Set the focalLength property: The focal length from the camera. Read-only.
        Parameters:
        focalLength - the focalLength value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • iso

        public Integer iso()
        Get the iso property: The ISO value from the camera. Read-only.
        Returns:
        the iso value.
      • withIso

        public MicrosoftGraphPhoto withIso​(Integer iso)
        Set the iso property: The ISO value from the camera. Read-only.
        Parameters:
        iso - the iso value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • orientation

        public Integer orientation()
        Get the orientation property: The orientation value from the camera. Writable on OneDrive Personal.
        Returns:
        the orientation value.
      • withOrientation

        public MicrosoftGraphPhoto withOrientation​(Integer orientation)
        Set the orientation property: The orientation value from the camera. Writable on OneDrive Personal.
        Parameters:
        orientation - the orientation value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • takenDateTime

        public OffsetDateTime takenDateTime()
        Get the takenDateTime property: Represents the date and time the photo was taken. Read-only.
        Returns:
        the takenDateTime value.
      • withTakenDateTime

        public MicrosoftGraphPhoto withTakenDateTime​(OffsetDateTime takenDateTime)
        Set the takenDateTime property: Represents the date and time the photo was taken. Read-only.
        Parameters:
        takenDateTime - the takenDateTime value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: photo.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphPhoto withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: photo.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphPhoto object itself.
      • validate

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