Class MicrosoftGraphPhoto
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPhoto
-
public final class MicrosoftGraphPhoto extends Object
photo.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPhoto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: photo.StringcameraMake()Get the cameraMake property: Camera manufacturer.StringcameraModel()Get the cameraModel property: Camera model.DoubleexposureDenominator()Get the exposureDenominator property: The denominator for the exposure time fraction from the camera.DoubleexposureNumerator()Get the exposureNumerator property: The numerator for the exposure time fraction from the camera.DoublefNumber()Get the fNumber property: The F-stop value from the camera.DoublefocalLength()Get the focalLength property: The focal length from the camera.Integeriso()Get the iso property: The ISO value from the camera.Integerorientation()Get the orientation property: The orientation value from the camera.OffsetDateTimetakenDateTime()Get the takenDateTime property: Represents the date and time the photo was taken.voidvalidate()Validates the instance.MicrosoftGraphPhotowithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: photo.MicrosoftGraphPhotowithCameraMake(String cameraMake)Set the cameraMake property: Camera manufacturer.MicrosoftGraphPhotowithCameraModel(String cameraModel)Set the cameraModel property: Camera model.MicrosoftGraphPhotowithExposureDenominator(Double exposureDenominator)Set the exposureDenominator property: The denominator for the exposure time fraction from the camera.MicrosoftGraphPhotowithExposureNumerator(Double exposureNumerator)Set the exposureNumerator property: The numerator for the exposure time fraction from the camera.MicrosoftGraphPhotowithFNumber(Double fNumber)Set the fNumber property: The F-stop value from the camera.MicrosoftGraphPhotowithFocalLength(Double focalLength)Set the focalLength property: The focal length from the camera.MicrosoftGraphPhotowithIso(Integer iso)Set the iso property: The ISO value from the camera.MicrosoftGraphPhotowithOrientation(Integer orientation)Set the orientation property: The orientation value from the camera.MicrosoftGraphPhotowithTakenDateTime(OffsetDateTime takenDateTime)Set the takenDateTime property: Represents the date and time the photo was taken.
-
-
-
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.
-
-