public class IosDeviceType extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosDeviceType.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
iPad |
protected Boolean |
iPhoneAndIPod |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
IosDeviceType() |
| Modifier and Type | Method and Description |
|---|---|
static IosDeviceType.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getIPad()
“Whether the app should run on iPads.”
|
Optional<Boolean> |
getIPhoneAndIPod()
“Whether the app should run on iPhones and iPods.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
IosDeviceType |
withIPad(Boolean iPad)
Returns an immutable copy of
this with just the iPad field
changed. |
IosDeviceType |
withIPhoneAndIPod(Boolean iPhoneAndIPod)
Returns an immutable copy of
this with just the iPhoneAndIPod
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Boolean iPad
protected Boolean iPhoneAndIPod
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Boolean> getIPad()
public IosDeviceType withIPad(Boolean iPad)
this with just the iPad 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 app should run on iPads.”
iPad - new value of iPad field (as defined in service metadata)this with just the iPad field changedpublic Optional<Boolean> getIPhoneAndIPod()
public IosDeviceType withIPhoneAndIPod(Boolean iPhoneAndIPod)
this with just the iPhoneAndIPod
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 app should run on iPhones and iPods.”
iPhoneAndIPod - new value of iPhoneAndIPod field (as defined in service metadata)this with just the iPhoneAndIPod 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 IosDeviceType.Builder builder()
Copyright © 2018–2020. All rights reserved.