Class MicrosoftGraphAudio
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphAudio
audio.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: audio.album()Get the album property: The title of the album for this audio file.Get the albumArtist property: The artist named on the album for the audio file.artist()Get the artist property: The performing artist for the audio file.bitrate()Get the bitrate property: Bitrate expressed in kbps.Get the composers property: The name of the composer of the audio file.Get the copyright property: Copyright information for the audio file.disc()Get the disc property: The number of the disc this audio file came from.Get the discCount property: The total number of discs in this album.duration()Get the duration property: Duration of the audio file, expressed in milliseconds.genre()Get the genre property: The genre of this audio file.hasDrm()Get the hasDrm property: Indicates if the file is protected with digital rights management.Get the isVariableBitrate property: Indicates if the file is encoded with a variable bitrate.title()Get the title property: The title of the audio file.track()Get the track property: The number of the track on the original disc for this audio file.Get the trackCount property: The total number of tracks on the original disc for this audio file.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: audio.Set the album property: The title of the album for this audio file.withAlbumArtist(String albumArtist) Set the albumArtist property: The artist named on the album for the audio file.withArtist(String artist) Set the artist property: The performing artist for the audio file.withBitrate(Long bitrate) Set the bitrate property: Bitrate expressed in kbps.withComposers(String composers) Set the composers property: The name of the composer of the audio file.withCopyright(String copyright) Set the copyright property: Copyright information for the audio file.Set the disc property: The number of the disc this audio file came from.withDiscCount(Integer discCount) Set the discCount property: The total number of discs in this album.withDuration(Long duration) Set the duration property: Duration of the audio file, expressed in milliseconds.Set the genre property: The genre of this audio file.withHasDrm(Boolean hasDrm) Set the hasDrm property: Indicates if the file is protected with digital rights management.withIsVariableBitrate(Boolean isVariableBitrate) Set the isVariableBitrate property: Indicates if the file is encoded with a variable bitrate.Set the title property: The title of the audio file.Set the track property: The number of the track on the original disc for this audio file.withTrackCount(Integer trackCount) Set the trackCount property: The total number of tracks on the original disc for this audio file.Set the year property: The year the audio file was recorded.year()Get the year property: The year the audio file was recorded.
-
Constructor Details
-
MicrosoftGraphAudio
public MicrosoftGraphAudio()Creates an instance of MicrosoftGraphAudio class.
-
-
Method Details
-
album
Get the album property: The title of the album for this audio file.- Returns:
- the album value.
-
withAlbum
Set the album property: The title of the album for this audio file.- Parameters:
album- the album value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
albumArtist
Get the albumArtist property: The artist named on the album for the audio file.- Returns:
- the albumArtist value.
-
withAlbumArtist
Set the albumArtist property: The artist named on the album for the audio file.- Parameters:
albumArtist- the albumArtist value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
artist
Get the artist property: The performing artist for the audio file.- Returns:
- the artist value.
-
withArtist
Set the artist property: The performing artist for the audio file.- Parameters:
artist- the artist value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
bitrate
Get the bitrate property: Bitrate expressed in kbps.- Returns:
- the bitrate value.
-
withBitrate
Set the bitrate property: Bitrate expressed in kbps.- Parameters:
bitrate- the bitrate value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
composers
Get the composers property: The name of the composer of the audio file.- Returns:
- the composers value.
-
withComposers
Set the composers property: The name of the composer of the audio file.- Parameters:
composers- the composers value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
copyright
Get the copyright property: Copyright information for the audio file.- Returns:
- the copyright value.
-
withCopyright
Set the copyright property: Copyright information for the audio file.- Parameters:
copyright- the copyright value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
disc
Get the disc property: The number of the disc this audio file came from.- Returns:
- the disc value.
-
withDisc
Set the disc property: The number of the disc this audio file came from.- Parameters:
disc- the disc value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
discCount
Get the discCount property: The total number of discs in this album.- Returns:
- the discCount value.
-
withDiscCount
Set the discCount property: The total number of discs in this album.- Parameters:
discCount- the discCount value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
duration
Get the duration property: Duration of the audio file, expressed in milliseconds.- Returns:
- the duration value.
-
withDuration
Set the duration property: Duration of the audio file, expressed in milliseconds.- Parameters:
duration- the duration value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
genre
Get the genre property: The genre of this audio file.- Returns:
- the genre value.
-
withGenre
Set the genre property: The genre of this audio file.- Parameters:
genre- the genre value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
hasDrm
Get the hasDrm property: Indicates if the file is protected with digital rights management.- Returns:
- the hasDrm value.
-
withHasDrm
Set the hasDrm property: Indicates if the file is protected with digital rights management.- Parameters:
hasDrm- the hasDrm value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
isVariableBitrate
Get the isVariableBitrate property: Indicates if the file is encoded with a variable bitrate.- Returns:
- the isVariableBitrate value.
-
withIsVariableBitrate
Set the isVariableBitrate property: Indicates if the file is encoded with a variable bitrate.- Parameters:
isVariableBitrate- the isVariableBitrate value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
title
Get the title property: The title of the audio file.- Returns:
- the title value.
-
withTitle
Set the title property: The title of the audio file.- Parameters:
title- the title value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
track
Get the track property: The number of the track on the original disc for this audio file.- Returns:
- the track value.
-
withTrack
Set the track property: The number of the track on the original disc for this audio file.- Parameters:
track- the track value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
trackCount
Get the trackCount property: The total number of tracks on the original disc for this audio file.- Returns:
- the trackCount value.
-
withTrackCount
Set the trackCount property: The total number of tracks on the original disc for this audio file.- Parameters:
trackCount- the trackCount value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
year
Get the year property: The year the audio file was recorded.- Returns:
- the year value.
-
withYear
Set the year property: The year the audio file was recorded.- Parameters:
year- the year value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
additionalProperties
Get the additionalProperties property: audio.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: audio.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphAudio object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-