Class Media
- java.lang.Object
-
- odata.msgraph.client.beta.callRecords.complex.Media
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Media extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedia.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceInfocalleeDeviceprotected NetworkInfocalleeNetworkprotected DeviceInfocallerDeviceprotected NetworkInfocallerNetworkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringlabelprotected StringodataTypeprotected List<MediaStream>streamsprotected StringstreamsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMedia()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Media.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<DeviceInfo>getCalleeDevice()Optional<NetworkInfo>getCalleeNetwork()Optional<DeviceInfo>getCallerDevice()Optional<NetworkInfo>getCallerNetwork()Optional<String>getLabel()com.github.davidmoten.odata.client.CollectionPage<MediaStream>getStreams()com.github.davidmoten.odata.client.CollectionPage<MediaStream>getStreams(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MediawithCalleeDevice(DeviceInfo calleeDevice)MediawithCalleeNetwork(NetworkInfo calleeNetwork)MediawithCallerDevice(DeviceInfo callerDevice)MediawithCallerNetwork(NetworkInfo callerNetwork)MediawithLabel(String label)MediawithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
calleeDevice
protected DeviceInfo calleeDevice
-
calleeNetwork
protected NetworkInfo calleeNetwork
-
callerDevice
protected DeviceInfo callerDevice
-
callerNetwork
protected NetworkInfo callerNetwork
-
label
protected String label
-
streams
protected List<MediaStream> streams
-
streamsNextLink
protected String streamsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCalleeDevice
public Optional<DeviceInfo> getCalleeDevice()
-
withCalleeDevice
public Media withCalleeDevice(DeviceInfo calleeDevice)
-
getCalleeNetwork
public Optional<NetworkInfo> getCalleeNetwork()
-
withCalleeNetwork
public Media withCalleeNetwork(NetworkInfo calleeNetwork)
-
getCallerDevice
public Optional<DeviceInfo> getCallerDevice()
-
withCallerDevice
public Media withCallerDevice(DeviceInfo callerDevice)
-
getCallerNetwork
public Optional<NetworkInfo> getCallerNetwork()
-
withCallerNetwork
public Media withCallerNetwork(NetworkInfo callerNetwork)
-
getStreams
public com.github.davidmoten.odata.client.CollectionPage<MediaStream> getStreams()
-
getStreams
public com.github.davidmoten.odata.client.CollectionPage<MediaStream> getStreams(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static Media.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-