Class MicrosoftGraphVideo
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVideo
-
public final class MicrosoftGraphVideo extends Object
video.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphVideo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: video.Integer
audioBitsPerSample()
Get the audioBitsPerSample property: Number of audio bits per sample.Integer
audioChannels()
Get the audioChannels property: Number of audio channels.String
audioFormat()
Get the audioFormat property: Name of the audio format (AAC, MP3, etc.).Integer
audioSamplesPerSecond()
Get the audioSamplesPerSecond property: Number of audio samples per second.Integer
bitrate()
Get the bitrate property: Bit rate of the video in bits per second.Long
duration()
Get the duration property: Duration of the file in milliseconds.String
fourCC()
Get the fourCC property: 'Four character code' name of the video format.Double
frameRate()
Get the frameRate property: Frame rate of the video.Integer
height()
Get the height property: Height of the video, in pixels.void
validate()
Validates the instance.Integer
width()
Get the width property: Width of the video, in pixels.MicrosoftGraphVideo
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: video.MicrosoftGraphVideo
withAudioBitsPerSample(Integer audioBitsPerSample)
Set the audioBitsPerSample property: Number of audio bits per sample.MicrosoftGraphVideo
withAudioChannels(Integer audioChannels)
Set the audioChannels property: Number of audio channels.MicrosoftGraphVideo
withAudioFormat(String audioFormat)
Set the audioFormat property: Name of the audio format (AAC, MP3, etc.).MicrosoftGraphVideo
withAudioSamplesPerSecond(Integer audioSamplesPerSecond)
Set the audioSamplesPerSecond property: Number of audio samples per second.MicrosoftGraphVideo
withBitrate(Integer bitrate)
Set the bitrate property: Bit rate of the video in bits per second.MicrosoftGraphVideo
withDuration(Long duration)
Set the duration property: Duration of the file in milliseconds.MicrosoftGraphVideo
withFourCC(String fourCC)
Set the fourCC property: 'Four character code' name of the video format.MicrosoftGraphVideo
withFrameRate(Double frameRate)
Set the frameRate property: Frame rate of the video.MicrosoftGraphVideo
withHeight(Integer height)
Set the height property: Height of the video, in pixels.MicrosoftGraphVideo
withWidth(Integer width)
Set the width property: Width of the video, in pixels.
-
-
-
Method Detail
-
audioBitsPerSample
public Integer audioBitsPerSample()
Get the audioBitsPerSample property: Number of audio bits per sample.- Returns:
- the audioBitsPerSample value.
-
withAudioBitsPerSample
public MicrosoftGraphVideo withAudioBitsPerSample(Integer audioBitsPerSample)
Set the audioBitsPerSample property: Number of audio bits per sample.- Parameters:
audioBitsPerSample
- the audioBitsPerSample value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
audioChannels
public Integer audioChannels()
Get the audioChannels property: Number of audio channels.- Returns:
- the audioChannels value.
-
withAudioChannels
public MicrosoftGraphVideo withAudioChannels(Integer audioChannels)
Set the audioChannels property: Number of audio channels.- Parameters:
audioChannels
- the audioChannels value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
audioFormat
public String audioFormat()
Get the audioFormat property: Name of the audio format (AAC, MP3, etc.).- Returns:
- the audioFormat value.
-
withAudioFormat
public MicrosoftGraphVideo withAudioFormat(String audioFormat)
Set the audioFormat property: Name of the audio format (AAC, MP3, etc.).- Parameters:
audioFormat
- the audioFormat value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
audioSamplesPerSecond
public Integer audioSamplesPerSecond()
Get the audioSamplesPerSecond property: Number of audio samples per second.- Returns:
- the audioSamplesPerSecond value.
-
withAudioSamplesPerSecond
public MicrosoftGraphVideo withAudioSamplesPerSecond(Integer audioSamplesPerSecond)
Set the audioSamplesPerSecond property: Number of audio samples per second.- Parameters:
audioSamplesPerSecond
- the audioSamplesPerSecond value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
bitrate
public Integer bitrate()
Get the bitrate property: Bit rate of the video in bits per second.- Returns:
- the bitrate value.
-
withBitrate
public MicrosoftGraphVideo withBitrate(Integer bitrate)
Set the bitrate property: Bit rate of the video in bits per second.- Parameters:
bitrate
- the bitrate value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
duration
public Long duration()
Get the duration property: Duration of the file in milliseconds.- Returns:
- the duration value.
-
withDuration
public MicrosoftGraphVideo withDuration(Long duration)
Set the duration property: Duration of the file in milliseconds.- Parameters:
duration
- the duration value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
fourCC
public String fourCC()
Get the fourCC property: 'Four character code' name of the video format.- Returns:
- the fourCC value.
-
withFourCC
public MicrosoftGraphVideo withFourCC(String fourCC)
Set the fourCC property: 'Four character code' name of the video format.- Parameters:
fourCC
- the fourCC value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
frameRate
public Double frameRate()
Get the frameRate property: Frame rate of the video.- Returns:
- the frameRate value.
-
withFrameRate
public MicrosoftGraphVideo withFrameRate(Double frameRate)
Set the frameRate property: Frame rate of the video.- Parameters:
frameRate
- the frameRate value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
height
public Integer height()
Get the height property: Height of the video, in pixels.- Returns:
- the height value.
-
withHeight
public MicrosoftGraphVideo withHeight(Integer height)
Set the height property: Height of the video, in pixels.- Parameters:
height
- the height value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
width
public Integer width()
Get the width property: Width of the video, in pixels.- Returns:
- the width value.
-
withWidth
public MicrosoftGraphVideo withWidth(Integer width)
Set the width property: Width of the video, in pixels.- Parameters:
width
- the width value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: video.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphVideo withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: video.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphVideo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-