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