Package odata.msgraph.client.complex
Class MobileAppInstallTimeSettings
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppInstallTimeSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MobileAppInstallTimeSettings extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains properties used to determine when to offer an app to devices and when to install the app on devices.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppInstallTimeSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OffsetDateTimedeadlineDateTimeprotected StringodataTypeprotected OffsetDateTimestartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected BooleanuseLocalTime
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppInstallTimeSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppInstallTimeSettings.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getDeadlineDateTime()“The time at which the app should be installed.”Optional<OffsetDateTime>getStartDateTime()“The time at which the app should be available for installation.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseLocalTime()“Whether the local device time or UTC time should be used when determining the available and deadline times.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MobileAppInstallTimeSettingswithDeadlineDateTime(OffsetDateTime deadlineDateTime)Returns an immutable copy ofthiswith just thedeadlineDateTimefield changed.MobileAppInstallTimeSettingswithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.MobileAppInstallTimeSettingswithUnmappedField(String name, String value)MobileAppInstallTimeSettingswithUseLocalTime(Boolean useLocalTime)Returns an immutable copy ofthiswith just theuseLocalTimefield changed.
-
-
-
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
-
deadlineDateTime
protected OffsetDateTime deadlineDateTime
-
startDateTime
protected OffsetDateTime startDateTime
-
useLocalTime
protected Boolean useLocalTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeadlineDateTime
public Optional<OffsetDateTime> getDeadlineDateTime()
“The time at which the app should be installed.”- Returns:
- property deadlineDateTime
-
withDeadlineDateTime
public MobileAppInstallTimeSettings withDeadlineDateTime(OffsetDateTime deadlineDateTime)
Returns an immutable copy ofthiswith just thedeadlineDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The time at which the app should be installed.”
- Parameters:
deadlineDateTime- new value ofdeadlineDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeadlineDateTimefield changed
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
“The time at which the app should be available for installation.”- Returns:
- property startDateTime
-
withStartDateTime
public MobileAppInstallTimeSettings withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy ofthiswith just thestartDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The time at which the app should be available for installation.”
- Parameters:
startDateTime- new value ofstartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartDateTimefield changed
-
getUseLocalTime
public Optional<Boolean> getUseLocalTime()
“Whether the local device time or UTC time should be used when determining the available and deadline times.”- Returns:
- property useLocalTime
-
withUseLocalTime
public MobileAppInstallTimeSettings withUseLocalTime(Boolean useLocalTime)
Returns an immutable copy ofthiswith just theuseLocalTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Whether the local device time or UTC time should be used when determining the available and deadline times.”
- Parameters:
useLocalTime- new value ofuseLocalTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseLocalTimefield changed
-
withUnmappedField
public MobileAppInstallTimeSettings withUnmappedField(String name, String 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 MobileAppInstallTimeSettings.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
-
-