Class MobileAppIntentAndStateDetail
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MobileAppIntentAndStateDetail
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MobileAppIntentAndStateDetail extends Object implements com.github.davidmoten.odata.client.ODataType
“Mobile App Intent and Install State for a given device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppIntentAndStateDetail.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationIdprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected StringdisplayVersionprotected ResultantAppStateinstallStateprotected MobileAppIntentmobileAppIntentprotected StringodataTypeprotected List<MobileAppSupportedDeviceType>supportedDeviceTypesprotected StringsupportedDeviceTypesNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppIntentAndStateDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppIntentAndStateDetail.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getApplicationId()“MobieApp identifier.”Optional<String>getDisplayName()“The admin provided or imported title of the app.”Optional<String>getDisplayVersion()“Human readable version of the application”Optional<ResultantAppState>getInstallState()“The install state of the app.”Optional<MobileAppIntent>getMobileAppIntent()“Mobile App Intent.”com.github.davidmoten.odata.client.CollectionPage<MobileAppSupportedDeviceType>getSupportedDeviceTypes()“The supported platforms for the app.”com.github.davidmoten.odata.client.CollectionPage<MobileAppSupportedDeviceType>getSupportedDeviceTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)“The supported platforms for the app.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MobileAppIntentAndStateDetailwithApplicationId(String applicationId)Returns an immutable copy ofthiswith just theapplicationIdfield changed.MobileAppIntentAndStateDetailwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.MobileAppIntentAndStateDetailwithDisplayVersion(String displayVersion)Returns an immutable copy ofthiswith just thedisplayVersionfield changed.MobileAppIntentAndStateDetailwithInstallState(ResultantAppState installState)Returns an immutable copy ofthiswith just theinstallStatefield changed.MobileAppIntentAndStateDetailwithMobileAppIntent(MobileAppIntent mobileAppIntent)Returns an immutable copy ofthiswith just themobileAppIntentfield changed.MobileAppIntentAndStateDetailwithUnmappedField(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
-
applicationId
protected String applicationId
-
displayName
protected String displayName
-
displayVersion
protected String displayVersion
-
installState
protected ResultantAppState installState
-
mobileAppIntent
protected MobileAppIntent mobileAppIntent
-
supportedDeviceTypes
protected List<MobileAppSupportedDeviceType> supportedDeviceTypes
-
supportedDeviceTypesNextLink
protected String supportedDeviceTypesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getApplicationId
public Optional<String> getApplicationId()
“MobieApp identifier.”- Returns:
- property applicationId
-
withApplicationId
public MobileAppIntentAndStateDetail withApplicationId(String applicationId)
Returns an immutable copy ofthiswith just theapplicationIdfield 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.“MobieApp identifier.”
- Parameters:
applicationId- new value ofapplicationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicationIdfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The admin provided or imported title of the app.”- Returns:
- property displayName
-
withDisplayName
public MobileAppIntentAndStateDetail withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 admin provided or imported title of the app.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getDisplayVersion
public Optional<String> getDisplayVersion()
“Human readable version of the application”- Returns:
- property displayVersion
-
withDisplayVersion
public MobileAppIntentAndStateDetail withDisplayVersion(String displayVersion)
Returns an immutable copy ofthiswith just thedisplayVersionfield 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.“Human readable version of the application”
- Parameters:
displayVersion- new value ofdisplayVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayVersionfield changed
-
getInstallState
public Optional<ResultantAppState> getInstallState()
“The install state of the app.”- Returns:
- property installState
-
withInstallState
public MobileAppIntentAndStateDetail withInstallState(ResultantAppState installState)
Returns an immutable copy ofthiswith just theinstallStatefield 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 install state of the app.”
- Parameters:
installState- new value ofinstallStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallStatefield changed
-
getMobileAppIntent
public Optional<MobileAppIntent> getMobileAppIntent()
“Mobile App Intent.”- Returns:
- property mobileAppIntent
-
withMobileAppIntent
public MobileAppIntentAndStateDetail withMobileAppIntent(MobileAppIntent mobileAppIntent)
Returns an immutable copy ofthiswith just themobileAppIntentfield 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.“Mobile App Intent.”
- Parameters:
mobileAppIntent- new value ofmobileAppIntentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileAppIntentfield changed
-
getSupportedDeviceTypes
public com.github.davidmoten.odata.client.CollectionPage<MobileAppSupportedDeviceType> getSupportedDeviceTypes()
“The supported platforms for the app.”- Returns:
- property supportedDeviceTypes
-
getSupportedDeviceTypes
public com.github.davidmoten.odata.client.CollectionPage<MobileAppSupportedDeviceType> getSupportedDeviceTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The supported platforms for the app.”- Parameters:
options- specify connect and read timeouts- Returns:
- property supportedDeviceTypes
-
withUnmappedField
public MobileAppIntentAndStateDetail 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 MobileAppIntentAndStateDetail.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
-
-