Class IosDeviceType
- java.lang.Object
-
- odata.msgraph.client.beta.complex.IosDeviceType
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IosDeviceType extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains properties of the possible iOS device types the mobile app can run on.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosDeviceType.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BooleaniPadprotected BooleaniPhoneAndIPodprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosDeviceType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosDeviceType.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IosDeviceTypewithIPad(Boolean iPad)Returns an immutable copy ofthiswith just theiPadfield changed.IosDeviceTypewithIPhoneAndIPod(Boolean iPhoneAndIPod)Returns an immutable copy ofthiswith just theiPhoneAndIPodfield changed.IosDeviceTypewithUnmappedField(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
-
iPad
protected Boolean iPad
-
iPhoneAndIPod
protected Boolean iPhoneAndIPod
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getIPad
public Optional<Boolean> getIPad()
“Whether the app should run on iPads.”- Returns:
- property iPad
-
withIPad
public IosDeviceType withIPad(Boolean iPad)
Returns an immutable copy ofthiswith just theiPadfield 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 app should run on iPads.”
- Parameters:
iPad- new value ofiPadfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiPadfield changed
-
getIPhoneAndIPod
public Optional<Boolean> getIPhoneAndIPod()
“Whether the app should run on iPhones and iPods.”- Returns:
- property iPhoneAndIPod
-
withIPhoneAndIPod
public IosDeviceType withIPhoneAndIPod(Boolean iPhoneAndIPod)
Returns an immutable copy ofthiswith just theiPhoneAndIPodfield 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 app should run on iPhones and iPods.”
- Parameters:
iPhoneAndIPod- new value ofiPhoneAndIPodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiPhoneAndIPodfield changed
-
withUnmappedField
public IosDeviceType 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 IosDeviceType.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
-
-