你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphVideo Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphVideo
- com.
Implements
public final class MicrosoftGraphVideo
implements JsonSerializable<MicrosoftGraphVideo>
video.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphVideo() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Integer |
audioBitsPerSample()
Get the audio |
Integer |
audioChannels()
Get the audio |
String |
audioFormat()
Get the audio |
Integer |
audioSamplesPerSecond()
Get the audio |
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 frame |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Integer |
height()
Get the height property: Height of the video, in pixels. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
width()
Get the width property: Width of the video, in pixels. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAudioBitsPerSample(Integer audioBitsPerSample)
Set the audio |
Microsoft |
withAudioChannels(Integer audioChannels)
Set the audio |
Microsoft |
withAudioFormat(String audioFormat)
Set the audio |
Microsoft |
withAudioSamplesPerSecond(Integer audioSamplesPerSecond)
Set the audio |
Microsoft |
withBitrate(Integer bitrate)
Set the bitrate property: Bit rate of the video in bits per second. |
Microsoft |
withDuration(Long duration)
Set the duration property: Duration of the file in milliseconds. |
Microsoft |
withFourCC(String fourCC)
Set the fourCC property: 'Four character code' name of the video format. |
Microsoft |
withFrameRate(Double frameRate)
Set the frame |
Microsoft |
withHeight(Integer height)
Set the height property: Height of the video, in pixels. |
Microsoft |
withWidth(Integer width)
Set the width property: Width of the video, in pixels. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphVideo
public MicrosoftGraphVideo()
Creates an instance of MicrosoftGraphVideo class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: video.
Returns:
audioBitsPerSample
public Integer audioBitsPerSample()
Get the audioBitsPerSample property: Number of audio bits per sample.
Returns:
audioChannels
public Integer audioChannels()
Get the audioChannels property: Number of audio channels.
Returns:
audioFormat
public String audioFormat()
Get the audioFormat property: Name of the audio format (AAC, MP3, etc.).
Returns:
audioSamplesPerSecond
public Integer audioSamplesPerSecond()
Get the audioSamplesPerSecond property: Number of audio samples per second.
Returns:
bitrate
public Integer bitrate()
Get the bitrate property: Bit rate of the video in bits per second.
Returns:
duration
public Long duration()
Get the duration property: Duration of the file in milliseconds.
Returns:
fourCC
public String fourCC()
Get the fourCC property: 'Four character code' name of the video format.
Returns:
frameRate
public Double frameRate()
Get the frameRate property: Frame rate of the video.
Returns:
fromJson
public static MicrosoftGraphVideo fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphVideo from the JsonReader.
Parameters:
Returns:
Throws:
height
public Integer height()
Get the height property: Height of the video, in pixels.
Returns:
toJson
validate
public void validate()
Validates the instance.
width
public Integer width()
Get the width property: Width of the video, in pixels.
Returns:
withAdditionalProperties
public MicrosoftGraphVideo withAdditionalProperties(Map
Set the additionalProperties property: video.
Parameters:
Returns:
withAudioBitsPerSample
public MicrosoftGraphVideo withAudioBitsPerSample(Integer audioBitsPerSample)
Set the audioBitsPerSample property: Number of audio bits per sample.
Parameters:
Returns:
withAudioChannels
public MicrosoftGraphVideo withAudioChannels(Integer audioChannels)
Set the audioChannels property: Number of audio channels.
Parameters:
Returns:
withAudioFormat
public MicrosoftGraphVideo withAudioFormat(String audioFormat)
Set the audioFormat property: Name of the audio format (AAC, MP3, etc.).
Parameters:
Returns:
withAudioSamplesPerSecond
public MicrosoftGraphVideo withAudioSamplesPerSecond(Integer audioSamplesPerSecond)
Set the audioSamplesPerSecond property: Number of audio samples per second.
Parameters:
Returns:
withBitrate
public MicrosoftGraphVideo withBitrate(Integer bitrate)
Set the bitrate property: Bit rate of the video in bits per second.
Parameters:
Returns:
withDuration
public MicrosoftGraphVideo withDuration(Long duration)
Set the duration property: Duration of the file in milliseconds.
Parameters:
Returns:
withFourCC
public MicrosoftGraphVideo withFourCC(String fourCC)
Set the fourCC property: 'Four character code' name of the video format.
Parameters:
Returns:
withFrameRate
public MicrosoftGraphVideo withFrameRate(Double frameRate)
Set the frameRate property: Frame rate of the video.
Parameters:
Returns:
withHeight
public MicrosoftGraphVideo withHeight(Integer height)
Set the height property: Height of the video, in pixels.
Parameters:
Returns:
withWidth
public MicrosoftGraphVideo withWidth(Integer width)
Set the width property: Width of the video, in pixels.
Parameters:
Returns: