Class IosAvailableUpdateVersion
- java.lang.Object
-
- odata.msgraph.client.beta.complex.IosAvailableUpdateVersion
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IosAvailableUpdateVersion extends Object implements com.github.davidmoten.odata.client.ODataType
“iOS available update version details”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosAvailableUpdateVersion.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OffsetDateTimeexpirationDateTimeprotected StringodataTypeprotected OffsetDateTimepostingDateTimeprotected StringproductVersionprotected List<String>supportedDevicesprotected StringsupportedDevicesNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosAvailableUpdateVersion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosAvailableUpdateVersion.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IosAvailableUpdateVersionwithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.IosAvailableUpdateVersionwithPostingDateTime(OffsetDateTime postingDateTime)Returns an immutable copy ofthiswith just thepostingDateTimefield changed.IosAvailableUpdateVersionwithProductVersion(String productVersion)Returns an immutable copy ofthiswith just theproductVersionfield changed.IosAvailableUpdateVersionwithUnmappedField(String name, String 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
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
postingDateTime
protected OffsetDateTime postingDateTime
-
productVersion
protected String productVersion
-
supportedDevicesNextLink
protected String supportedDevicesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“The expiration date of the update.”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public IosAvailableUpdateVersion withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy ofthiswith just theexpirationDateTimefield 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 expiration date of the update.”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getPostingDateTime
public Optional<OffsetDateTime> getPostingDateTime()
“The posting date of the update.”- Returns:
- property postingDateTime
-
withPostingDateTime
public IosAvailableUpdateVersion withPostingDateTime(OffsetDateTime postingDateTime)
Returns an immutable copy ofthiswith just thepostingDateTimefield 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 posting date of the update.”
- Parameters:
postingDateTime- new value ofpostingDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepostingDateTimefield changed
-
getProductVersion
public Optional<String> getProductVersion()
“The version of the update.”- Returns:
- property productVersion
-
withProductVersion
public IosAvailableUpdateVersion withProductVersion(String productVersion)
Returns an immutable copy ofthiswith just theproductVersionfield 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 version of the update.”
- Parameters:
productVersion- new value ofproductVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductVersionfield changed
-
getSupportedDevices
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedDevices()
“List of supported devices for the update.”- Returns:
- property supportedDevices
-
getSupportedDevices
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedDevices(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of supported devices for the update.”- Parameters:
options- specify connect and read timeouts- Returns:
- property supportedDevices
-
withUnmappedField
public IosAvailableUpdateVersion 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 IosAvailableUpdateVersion.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
-
-