你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphVideo Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVideo

Implements

public final class MicrosoftGraphVideo
implements JsonSerializable<MicrosoftGraphVideo>

video.

Constructor Summary

Constructor Description
MicrosoftGraphVideo()

Creates an instance of MicrosoftGraphVideo class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphVideo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphVideo from the JsonReader.

Integer height()

Get the height property: Height of the video, in pixels.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphVideo

public MicrosoftGraphVideo()

Creates an instance of MicrosoftGraphVideo class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: video.

Returns:

the additionalProperties value.

audioBitsPerSample

public Integer audioBitsPerSample()

Get the audioBitsPerSample property: Number of audio bits per sample.

Returns:

the audioBitsPerSample value.

audioChannels

public Integer audioChannels()

Get the audioChannels property: Number of audio channels.

Returns:

the audioChannels value.

audioFormat

public String audioFormat()

Get the audioFormat property: Name of the audio format (AAC, MP3, etc.).

Returns:

the audioFormat value.

audioSamplesPerSecond

public Integer audioSamplesPerSecond()

Get the audioSamplesPerSecond property: Number of audio samples per second.

Returns:

the audioSamplesPerSecond value.

bitrate

public Integer bitrate()

Get the bitrate property: Bit rate of the video in bits per second.

Returns:

the bitrate value.

duration

public Long duration()

Get the duration property: Duration of the file in milliseconds.

Returns:

the duration value.

fourCC

public String fourCC()

Get the fourCC property: 'Four character code' name of the video format.

Returns:

the fourCC value.

frameRate

public Double frameRate()

Get the frameRate property: Frame rate of the video.

Returns:

the frameRate value.

fromJson

public static MicrosoftGraphVideo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphVideo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphVideo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphVideo.

height

public Integer height()

Get the height property: Height of the video, in pixels.

Returns:

the height value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

width

public Integer width()

Get the width property: Width of the video, in pixels.

Returns:

the width value.

withAdditionalProperties

public MicrosoftGraphVideo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: video.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphVideo object itself.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Applies to