MicrosoftGraphAudio Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphAudio
- com.
Implements
public final class MicrosoftGraphAudio
implements JsonSerializable<MicrosoftGraphAudio>
audio.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphAudio() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
album()
Get the album property: The title of the album for this audio file. |
String |
albumArtist()
Get the album |
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 disc |
Long |
duration()
Get the duration property: Duration of the audio file, expressed in milliseconds. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
genre()
Get the genre property: The genre of this audio file. |
Boolean |
hasDrm()
Get the has |
Boolean |
isVariableBitrate()
Get the is |
String |
title()
Get the title property: The title of the audio file. |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
track()
Get the track property: The number of the track on the original disc for this audio file. |
Integer |
trackCount()
Get the track |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAlbum(String album)
Set the album property: The title of the album for this audio file. |
Microsoft |
withAlbumArtist(String albumArtist)
Set the album |
Microsoft |
withArtist(String artist)
Set the artist property: The performing artist for the audio file. |
Microsoft |
withBitrate(Long bitrate)
Set the bitrate property: Bitrate expressed in kbps. |
Microsoft |
withComposers(String composers)
Set the composers property: The name of the composer of the audio file. |
Microsoft |
withCopyright(String copyright)
Set the copyright property: Copyright information for the audio file. |
Microsoft |
withDisc(Integer disc)
Set the disc property: The number of the disc this audio file came from. |
Microsoft |
withDiscCount(Integer discCount)
Set the disc |
Microsoft |
withDuration(Long duration)
Set the duration property: Duration of the audio file, expressed in milliseconds. |
Microsoft |
withGenre(String genre)
Set the genre property: The genre of this audio file. |
Microsoft |
withHasDrm(Boolean hasDrm)
Set the has |
Microsoft |
withIsVariableBitrate(Boolean isVariableBitrate)
Set the is |
Microsoft |
withTitle(String title)
Set the title property: The title of the audio file. |
Microsoft |
withTrack(Integer track)
Set the track property: The number of the track on the original disc for this audio file. |
Microsoft |
withTrackCount(Integer trackCount)
Set the track |
Microsoft |
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. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphAudio
public MicrosoftGraphAudio()
Creates an instance of MicrosoftGraphAudio class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: audio.
Returns:
album
public String album()
Get the album property: The title of the album for this audio file.
Returns:
albumArtist
public String albumArtist()
Get the albumArtist property: The artist named on the album for the audio file.
Returns:
artist
public String artist()
Get the artist property: The performing artist for the audio file.
Returns:
bitrate
public Long bitrate()
Get the bitrate property: Bitrate expressed in kbps.
Returns:
composers
public String composers()
Get the composers property: The name of the composer of the audio file.
Returns:
copyright
public String copyright()
Get the copyright property: Copyright information for the audio file.
Returns:
disc
public Integer disc()
Get the disc property: The number of the disc this audio file came from.
Returns:
discCount
public Integer discCount()
Get the discCount property: The total number of discs in this album.
Returns:
duration
public Long duration()
Get the duration property: Duration of the audio file, expressed in milliseconds.
Returns:
fromJson
public static MicrosoftGraphAudio fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphAudio from the JsonReader.
Parameters:
Returns:
Throws:
genre
public String genre()
Get the genre property: The genre of this audio file.
Returns:
hasDrm
public Boolean hasDrm()
Get the hasDrm property: Indicates if the file is protected with digital rights management.
Returns:
isVariableBitrate
public Boolean isVariableBitrate()
Get the isVariableBitrate property: Indicates if the file is encoded with a variable bitrate.
Returns:
title
public String title()
Get the title property: The title of the audio file.
Returns:
toJson
track
public Integer track()
Get the track property: The number of the track on the original disc for this audio file.
Returns:
trackCount
public Integer trackCount()
Get the trackCount property: The total number of tracks on the original disc for this audio file.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphAudio withAdditionalProperties(Map
Set the additionalProperties property: audio.
Parameters:
Returns:
withAlbum
public MicrosoftGraphAudio withAlbum(String album)
Set the album property: The title of the album for this audio file.
Parameters:
Returns:
withAlbumArtist
public MicrosoftGraphAudio withAlbumArtist(String albumArtist)
Set the albumArtist property: The artist named on the album for the audio file.
Parameters:
Returns:
withArtist
public MicrosoftGraphAudio withArtist(String artist)
Set the artist property: The performing artist for the audio file.
Parameters:
Returns:
withBitrate
public MicrosoftGraphAudio withBitrate(Long bitrate)
Set the bitrate property: Bitrate expressed in kbps.
Parameters:
Returns:
withComposers
public MicrosoftGraphAudio withComposers(String composers)
Set the composers property: The name of the composer of the audio file.
Parameters:
Returns:
withCopyright
public MicrosoftGraphAudio withCopyright(String copyright)
Set the copyright property: Copyright information for the audio file.
Parameters:
Returns:
withDisc
public MicrosoftGraphAudio withDisc(Integer disc)
Set the disc property: The number of the disc this audio file came from.
Parameters:
Returns:
withDiscCount
public MicrosoftGraphAudio withDiscCount(Integer discCount)
Set the discCount property: The total number of discs in this album.
Parameters:
Returns:
withDuration
public MicrosoftGraphAudio withDuration(Long duration)
Set the duration property: Duration of the audio file, expressed in milliseconds.
Parameters:
Returns:
withGenre
public MicrosoftGraphAudio withGenre(String genre)
Set the genre property: The genre of this audio file.
Parameters:
Returns:
withHasDrm
public MicrosoftGraphAudio withHasDrm(Boolean hasDrm)
Set the hasDrm property: Indicates if the file is protected with digital rights management.
Parameters:
Returns:
withIsVariableBitrate
public MicrosoftGraphAudio withIsVariableBitrate(Boolean isVariableBitrate)
Set the isVariableBitrate property: Indicates if the file is encoded with a variable bitrate.
Parameters:
Returns:
withTitle
public MicrosoftGraphAudio withTitle(String title)
Set the title property: The title of the audio file.
Parameters:
Returns:
withTrack
public MicrosoftGraphAudio withTrack(Integer track)
Set the track property: The number of the track on the original disc for this audio file.
Parameters:
Returns:
withTrackCount
public MicrosoftGraphAudio withTrackCount(Integer trackCount)
Set the trackCount property: The total number of tracks on the original disc for this audio file.
Parameters:
Returns:
withYear
public MicrosoftGraphAudio withYear(Integer year)
Set the year property: The year the audio file was recorded.
Parameters:
Returns:
year
public Integer year()
Get the year property: The year the audio file was recorded.
Returns:
Applies to
Azure SDK for Java