Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VideocreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the audioBitsPerSample property value.Gets the audioChannels property value.Gets the audioFormat property value.Gets the audioSamplesPerSecond property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the bitrate property value.Gets the duration property value.The deserialization information for the current modelGets the fourCC property value.Gets the frameRate property value.Gets the height property value.Gets the @odata.type property value.getWidth()Gets the width property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAudioBitsPerSample(Integer value) Sets the audioBitsPerSample property value.voidsetAudioChannels(Integer value) Sets the audioChannels property value.voidsetAudioFormat(String value) Sets the audioFormat property value.voidsetAudioSamplesPerSecond(Integer value) Sets the audioSamplesPerSecond property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetBitrate(Integer value) Sets the bitrate property value.voidsetDuration(Long value) Sets the duration property value.voidSets the fourCC property value.voidsetFrameRate(Double value) Sets the frameRate property value.voidSets the height property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the width property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
Video
public Video()Instantiates a newVideoand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAudioBitsPerSample
Gets the audioBitsPerSample property value. Number of audio bits per sample.- Returns:
- a
Integer
-
getAudioChannels
Gets the audioChannels property value. Number of audio channels.- Returns:
- a
Integer
-
getAudioFormat
Gets the audioFormat property value. Name of the audio format (AAC, MP3, etc.).- Returns:
- a
String
-
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:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getBitrate
Gets the bitrate property value. Bit rate of the video in bits per second.- Returns:
- a
Integer
-
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 -
getFourCC
Gets the fourCC property value. 'Four character code' name of the video format.- Returns:
- a
String
-
getFrameRate
Gets the frameRate property value. Frame rate of the video.- Returns:
- a
Double
-
getHeight
Gets the height property value. Height of the video, in pixels.- Returns:
- a
Integer
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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
Sets the audioBitsPerSample property value. Number of audio bits per sample.- Parameters:
value- Value to set for the audioBitsPerSample property.
-
setAudioChannels
Sets the audioChannels property value. Number of audio channels.- Parameters:
value- Value to set for the audioChannels property.
-
setAudioFormat
Sets the audioFormat property value. Name of the audio format (AAC, MP3, etc.).- Parameters:
value- Value to set for the audioFormat property.
-
setAudioSamplesPerSecond
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
Sets the bitrate property value. Bit rate of the video in bits per second.- Parameters:
value- Value to set for the bitrate property.
-
setDuration
Sets the duration property value. Duration of the file in milliseconds.- Parameters:
value- Value to set for the duration property.
-
setFourCC
Sets the fourCC property value. 'Four character code' name of the video format.- Parameters:
value- Value to set for the fourCC property.
-
setFrameRate
Sets the frameRate property value. Frame rate of the video.- Parameters:
value- Value to set for the frameRate property.
-
setHeight
Sets the height property value. Height of the video, in pixels.- Parameters:
value- Value to set for the height property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setWidth
Sets the width property value. Width of the video, in pixels.- Parameters:
value- Value to set for the width property.
-