Package odata.msgraph.client.complex
Class SynchronizationProgress
- java.lang.Object
-
- odata.msgraph.client.complex.SynchronizationProgress
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class SynchronizationProgress extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSynchronizationProgress.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LongcompletedUnitsprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected OffsetDateTimeprogressObservationDateTimeprotected LongtotalUnitsprotected Stringunitsprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedSynchronizationProgress()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynchronizationProgress.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Long>getCompletedUnits()Optional<OffsetDateTime>getProgressObservationDateTime()Optional<Long>getTotalUnits()Optional<String>getUnits()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()SynchronizationProgresswithCompletedUnits(Long completedUnits)SynchronizationProgresswithProgressObservationDateTime(OffsetDateTime progressObservationDateTime)SynchronizationProgresswithTotalUnits(Long totalUnits)SynchronizationProgresswithUnits(String units)SynchronizationProgresswithUnmappedField(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
-
completedUnits
protected Long completedUnits
-
progressObservationDateTime
protected OffsetDateTime progressObservationDateTime
-
totalUnits
protected Long totalUnits
-
units
protected String units
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withCompletedUnits
public SynchronizationProgress withCompletedUnits(Long completedUnits)
-
getProgressObservationDateTime
public Optional<OffsetDateTime> getProgressObservationDateTime()
-
withProgressObservationDateTime
public SynchronizationProgress withProgressObservationDateTime(OffsetDateTime progressObservationDateTime)
-
withTotalUnits
public SynchronizationProgress withTotalUnits(Long totalUnits)
-
withUnits
public SynchronizationProgress withUnits(String units)
-
withUnmappedField
public SynchronizationProgress 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 SynchronizationProgress.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
-
-