public class MobileAppInstallTimeSettings extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileAppInstallTimeSettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected OffsetDateTime |
deadlineDateTime |
protected String |
odataType |
protected OffsetDateTime |
startDateTime |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected Boolean |
useLocalTime |
| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppInstallTimeSettings() |
| Modifier and Type | Method and Description |
|---|---|
static MobileAppInstallTimeSettings.Builder |
builder()
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.internal.UnmappedFields |
getUnmappedFields() |
Optional<Boolean> |
getUseLocalTime()
“Whether the local device time or UTC time should be used when determining the
available and deadline times.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
MobileAppInstallTimeSettings |
withDeadlineDateTime(OffsetDateTime deadlineDateTime)
Returns an immutable copy of
this with just the deadlineDateTime
field changed. |
MobileAppInstallTimeSettings |
withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy of
this with just the startDateTime
field changed. |
MobileAppInstallTimeSettings |
withUseLocalTime(Boolean useLocalTime)
Returns an immutable copy of
this with just the useLocalTime
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Boolean useLocalTime
protected OffsetDateTime startDateTime
protected OffsetDateTime deadlineDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Boolean> getUseLocalTime()
public MobileAppInstallTimeSettings withUseLocalTime(Boolean useLocalTime)
this with just the useLocalTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
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.”
useLocalTime - new value of useLocalTime field (as defined in service metadata)this with just the useLocalTime field changedpublic Optional<OffsetDateTime> getStartDateTime()
public MobileAppInstallTimeSettings withStartDateTime(OffsetDateTime startDateTime)
this with just the startDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
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.”
startDateTime - new value of startDateTime field (as defined in service metadata)this with just the startDateTime field changedpublic Optional<OffsetDateTime> getDeadlineDateTime()
public MobileAppInstallTimeSettings withDeadlineDateTime(OffsetDateTime deadlineDateTime)
this with just the deadlineDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The time at which the app should be installed.”
deadlineDateTime - new value of deadlineDateTime field (as defined in service metadata)this with just the deadlineDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static MobileAppInstallTimeSettings.Builder builder()
Copyright © 2018–2020. All rights reserved.