Class Photo

java.lang.Object
com.microsoft.graph.models.Photo
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Photo extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • Photo

      public Photo()
      Instantiates a new Photo and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Photo createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a Photo
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCameraMake

      @Nullable public String getCameraMake()
      Gets the cameraMake property value. Camera manufacturer. Read-only.
      Returns:
      a String
    • getCameraModel

      @Nullable public String getCameraModel()
      Gets the cameraModel property value. Camera model. Read-only.
      Returns:
      a String
    • getExposureDenominator

      @Nullable public Double getExposureDenominator()
      Gets the exposureDenominator property value. The denominator for the exposure time fraction from the camera. Read-only.
      Returns:
      a Double
    • getExposureNumerator

      @Nullable public Double getExposureNumerator()
      Gets the exposureNumerator property value. The numerator for the exposure time fraction from the camera. Read-only.
      Returns:
      a Double
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFNumber

      @Nullable public Double getFNumber()
      Gets the fNumber property value. The F-stop value from the camera. Read-only.
      Returns:
      a Double
    • getFocalLength

      @Nullable public Double getFocalLength()
      Gets the focalLength property value. The focal length from the camera. Read-only.
      Returns:
      a Double
    • getIso

      @Nullable public Integer getIso()
      Gets the iso property value. The ISO value from the camera. Read-only.
      Returns:
      a Integer
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getOrientation

      @Nullable public Integer getOrientation()
      Gets the orientation property value. The orientation value from the camera. Writable on OneDrive Personal.
      Returns:
      a Integer
    • getTakenDateTime

      @Nullable public OffsetDateTime getTakenDateTime()
      Gets the takenDateTime property value. Represents the date and time the photo was taken. Read-only.
      Returns:
      a OffsetDateTime
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setCameraMake

      public void setCameraMake(@Nullable String value)
      Sets the cameraMake property value. Camera manufacturer. Read-only.
      Parameters:
      value - Value to set for the cameraMake property.
    • setCameraModel

      public void setCameraModel(@Nullable String value)
      Sets the cameraModel property value. Camera model. Read-only.
      Parameters:
      value - Value to set for the cameraModel property.
    • setExposureDenominator

      public void setExposureDenominator(@Nullable Double value)
      Sets the exposureDenominator property value. The denominator for the exposure time fraction from the camera. Read-only.
      Parameters:
      value - Value to set for the exposureDenominator property.
    • setExposureNumerator

      public void setExposureNumerator(@Nullable Double value)
      Sets the exposureNumerator property value. The numerator for the exposure time fraction from the camera. Read-only.
      Parameters:
      value - Value to set for the exposureNumerator property.
    • setFNumber

      public void setFNumber(@Nullable Double value)
      Sets the fNumber property value. The F-stop value from the camera. Read-only.
      Parameters:
      value - Value to set for the fNumber property.
    • setFocalLength

      public void setFocalLength(@Nullable Double value)
      Sets the focalLength property value. The focal length from the camera. Read-only.
      Parameters:
      value - Value to set for the focalLength property.
    • setIso

      public void setIso(@Nullable Integer value)
      Sets the iso property value. The ISO value from the camera. Read-only.
      Parameters:
      value - Value to set for the iso property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setOrientation

      public void setOrientation(@Nullable Integer value)
      Sets the orientation property value. The orientation value from the camera. Writable on OneDrive Personal.
      Parameters:
      value - Value to set for the orientation property.
    • setTakenDateTime

      public void setTakenDateTime(@Nullable OffsetDateTime value)
      Sets the takenDateTime property value. Represents the date and time the photo was taken. Read-only.
      Parameters:
      value - Value to set for the takenDateTime property.