public class IosAvailableUpdateVersion extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosAvailableUpdateVersion.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected OffsetDateTime |
expirationDateTime |
protected String |
odataType |
protected OffsetDateTime |
postingDateTime |
protected String |
productVersion |
protected List<String> |
supportedDevices |
protected String |
supportedDevicesNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
IosAvailableUpdateVersion() |
| Modifier and Type | Method and Description |
|---|---|
static IosAvailableUpdateVersion.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<OffsetDateTime> |
getExpirationDateTime()
“The expiration date of the update.”
|
Optional<OffsetDateTime> |
getPostingDateTime()
“The posting date of the update.”
|
Optional<String> |
getProductVersion()
“The version of the update.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSupportedDevices()
“List of supported devices for the update.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSupportedDevices(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of supported devices for the update.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
IosAvailableUpdateVersion |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
IosAvailableUpdateVersion |
withPostingDateTime(OffsetDateTime postingDateTime)
Returns an immutable copy of
this with just the postingDateTime
field changed. |
IosAvailableUpdateVersion |
withProductVersion(String productVersion)
Returns an immutable copy of
this with just the productVersion
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String productVersion
protected OffsetDateTime postingDateTime
protected OffsetDateTime expirationDateTime
protected String supportedDevicesNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getProductVersion()
public IosAvailableUpdateVersion withProductVersion(String productVersion)
this with just the productVersion
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 version of the update.”
productVersion - new value of productVersion field (as defined in service metadata)this with just the productVersion field changedpublic Optional<OffsetDateTime> getPostingDateTime()
public IosAvailableUpdateVersion withPostingDateTime(OffsetDateTime postingDateTime)
this with just the postingDateTime
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 posting date of the update.”
postingDateTime - new value of postingDateTime field (as defined in service metadata)this with just the postingDateTime field changedpublic Optional<OffsetDateTime> getExpirationDateTime()
public IosAvailableUpdateVersion withExpirationDateTime(OffsetDateTime expirationDateTime)
this with just the expirationDateTime 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 expiration date of the update.”
expirationDateTime - new value of expirationDateTime field (as defined in service metadata)this with just the expirationDateTime field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getSupportedDevices()
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedDevices(com.github.davidmoten.odata.client.HttpRequestOptions options)
public 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 IosAvailableUpdateVersion.Builder builder()
Copyright © 2018–2020. All rights reserved.