Package odata.msgraph.client.complex
Class MediaStream
- java.lang.Object
-
- odata.msgraph.client.complex.MediaStream
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MediaStream extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMediaStream.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected MediaDirectiondirectionprotected Stringlabelprotected ModalitymediaTypeprotected StringodataTypeprotected BooleanserverMutedprotected StringsourceIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMediaStream()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaStream.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<MediaDirection>getDirection()Optional<String>getLabel()Optional<Modality>getMediaType()Optional<Boolean>getServerMuted()Optional<String>getSourceId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MediaStreamwithDirection(MediaDirection direction)MediaStreamwithLabel(String label)MediaStreamwithMediaType(Modality mediaType)MediaStreamwithServerMuted(Boolean serverMuted)MediaStreamwithSourceId(String sourceId)MediaStreamwithUnmappedField(String name, Object 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
-
direction
protected MediaDirection direction
-
label
protected String label
-
mediaType
protected Modality mediaType
-
serverMuted
protected Boolean serverMuted
-
sourceId
protected String sourceId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDirection
public Optional<MediaDirection> getDirection()
-
withDirection
public MediaStream withDirection(MediaDirection direction)
-
withLabel
public MediaStream withLabel(String label)
-
withMediaType
public MediaStream withMediaType(Modality mediaType)
-
withServerMuted
public MediaStream withServerMuted(Boolean serverMuted)
-
withSourceId
public MediaStream withSourceId(String sourceId)
-
withUnmappedField
public MediaStream withUnmappedField(String name, Object value)
-
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 MediaStream.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
-
-