Class Video

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

@Generated("com.microsoft.kiota") public class Video 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

    • Video

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

    • createFromDiscriminatorValue

      @Nonnull public static Video 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 Video
    • 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>
    • getAudioBitsPerSample

      @Nullable public Integer getAudioBitsPerSample()
      Gets the audioBitsPerSample property value. Number of audio bits per sample.
      Returns:
      a Integer
    • getAudioChannels

      @Nullable public Integer getAudioChannels()
      Gets the audioChannels property value. Number of audio channels.
      Returns:
      a Integer
    • getAudioFormat

      @Nullable public String getAudioFormat()
      Gets the audioFormat property value. Name of the audio format (AAC, MP3, etc.).
      Returns:
      a String
    • getAudioSamplesPerSecond

      @Nullable public Integer getAudioSamplesPerSecond()
      Gets the audioSamplesPerSecond property value. Number of audio samples per second.
      Returns:
      a Integer
    • 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
    • getBitrate

      @Nullable public Integer getBitrate()
      Gets the bitrate property value. Bit rate of the video in bits per second.
      Returns:
      a Integer
    • getDuration

      @Nullable public Long getDuration()
      Gets the duration property value. Duration of the file in milliseconds.
      Returns:
      a Long
    • 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>>
    • getFourCC

      @Nullable public String getFourCC()
      Gets the fourCC property value. 'Four character code' name of the video format.
      Returns:
      a String
    • getFrameRate

      @Nullable public Double getFrameRate()
      Gets the frameRate property value. Frame rate of the video.
      Returns:
      a Double
    • getHeight

      @Nullable public Integer getHeight()
      Gets the height property value. Height of the video, in pixels.
      Returns:
      a Integer
    • getOdataType

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

      @Nullable public Integer getWidth()
      Gets the width property value. Width of the video, in pixels.
      Returns:
      a Integer
    • 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.
    • setAudioBitsPerSample

      public void setAudioBitsPerSample(@Nullable Integer value)
      Sets the audioBitsPerSample property value. Number of audio bits per sample.
      Parameters:
      value - Value to set for the audioBitsPerSample property.
    • setAudioChannels

      public void setAudioChannels(@Nullable Integer value)
      Sets the audioChannels property value. Number of audio channels.
      Parameters:
      value - Value to set for the audioChannels property.
    • setAudioFormat

      public void setAudioFormat(@Nullable String value)
      Sets the audioFormat property value. Name of the audio format (AAC, MP3, etc.).
      Parameters:
      value - Value to set for the audioFormat property.
    • setAudioSamplesPerSecond

      public void setAudioSamplesPerSecond(@Nullable Integer value)
      Sets the audioSamplesPerSecond property value. Number of audio samples per second.
      Parameters:
      value - Value to set for the audioSamplesPerSecond 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.
    • setBitrate

      public void setBitrate(@Nullable Integer value)
      Sets the bitrate property value. Bit rate of the video in bits per second.
      Parameters:
      value - Value to set for the bitrate property.
    • setDuration

      public void setDuration(@Nullable Long value)
      Sets the duration property value. Duration of the file in milliseconds.
      Parameters:
      value - Value to set for the duration property.
    • setFourCC

      public void setFourCC(@Nullable String value)
      Sets the fourCC property value. 'Four character code' name of the video format.
      Parameters:
      value - Value to set for the fourCC property.
    • setFrameRate

      public void setFrameRate(@Nullable Double value)
      Sets the frameRate property value. Frame rate of the video.
      Parameters:
      value - Value to set for the frameRate property.
    • setHeight

      public void setHeight(@Nullable Integer value)
      Sets the height property value. Height of the video, in pixels.
      Parameters:
      value - Value to set for the height 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.
    • setWidth

      public void setWidth(@Nullable Integer value)
      Sets the width property value. Width of the video, in pixels.
      Parameters:
      value - Value to set for the width property.