Package odata.msgraph.client.beta.entity
Class WindowsMobileMSI
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileApp
-
- odata.msgraph.client.beta.entity.MobileLobApp
-
- odata.msgraph.client.beta.entity.WindowsMobileMSI
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsMobileMSI extends MobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Windows Mobile MSI Line Of Business apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsMobileMSI.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcommandLineprotected StringidentityVersionprotected BooleanignoreVersionDetectionprotected StringproductCodeprotected StringproductVersionprotected BooleanuseDeviceContext-
Fields inherited from class odata.msgraph.client.beta.entity.MobileLobApp
committedContentVersion, fileName, size
-
Fields inherited from class odata.msgraph.client.beta.entity.MobileApp
createdDateTime, dependentAppCount, description, developer, displayName, informationUrl, isAssigned, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState, roleScopeTagIds, roleScopeTagIdsNextLink, supersededAppCount, supersedingAppCount, uploadState
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsMobileMSI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsMobileMSI.BuilderbuilderWindowsMobileMSI()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getCommandLine()“The command line.”Optional<String>getIdentityVersion()“The identity version.”Optional<Boolean>getIgnoreVersionDetection()“A boolean to control whether the app's version will be used to detect the app after it is installed on a device.Optional<String>getProductCode()“The product code.”Optional<String>getProductVersion()“The product version of Windows Mobile MSI Line of Business (LoB) app.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseDeviceContext()“Indicates whether to install a dual-mode MSI in the device context.StringodataTypeName()WindowsMobileMSIpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsMobileMSIput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsMobileMSIwithCommandLine(String commandLine)Returns an immutable copy ofthiswith just thecommandLinefield changed.WindowsMobileMSIwithIdentityVersion(String identityVersion)Returns an immutable copy ofthiswith just theidentityVersionfield changed.WindowsMobileMSIwithIgnoreVersionDetection(Boolean ignoreVersionDetection)Returns an immutable copy ofthiswith just theignoreVersionDetectionfield changed.WindowsMobileMSIwithProductCode(String productCode)Returns an immutable copy ofthiswith just theproductCodefield changed.WindowsMobileMSIwithProductVersion(String productVersion)Returns an immutable copy ofthiswith just theproductVersionfield changed.WindowsMobileMSIwithUnmappedField(String name, String value)WindowsMobileMSIwithUseDeviceContext(Boolean useDeviceContext)Returns an immutable copy ofthiswith just theuseDeviceContextfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.MobileLobApp
getCommittedContentVersion, getContentVersions, getFileName, getSize, withCommittedContentVersion, withFileName, withSize
-
Methods inherited from class odata.msgraph.client.beta.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDependentAppCount, getDescription, getDeveloper, getDeviceStatuses, getDisplayName, getInformationUrl, getInstallSummary, getIsAssigned, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, getRelatedAppStates, getRelationships, getRoleScopeTagIds, getRoleScopeTagIds, getSupersededAppCount, getSupersedingAppCount, getUploadState, getUserStatuses, updateRelationships, withCreatedDateTime, withDependentAppCount, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsAssigned, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState, withRoleScopeTagIds, withSupersededAppCount, withSupersedingAppCount, withUploadState
-
-
-
-
Field Detail
-
commandLine
protected String commandLine
-
identityVersion
protected String identityVersion
-
ignoreVersionDetection
protected Boolean ignoreVersionDetection
-
productCode
protected String productCode
-
productVersion
protected String productVersion
-
useDeviceContext
protected Boolean useDeviceContext
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileLobApp
-
builderWindowsMobileMSI
public static WindowsMobileMSI.Builder builderWindowsMobileMSI()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classMobileLobApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileLobApp
-
getCommandLine
public Optional<String> getCommandLine()
“The command line.”- Returns:
- property commandLine
-
withCommandLine
public WindowsMobileMSI withCommandLine(String commandLine)
Returns an immutable copy ofthiswith just thecommandLinefield 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 command line.”
- Parameters:
commandLine- new value ofcommandLinefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecommandLinefield changed
-
getIdentityVersion
public Optional<String> getIdentityVersion()
“The identity version.”- Returns:
- property identityVersion
-
withIdentityVersion
public WindowsMobileMSI withIdentityVersion(String identityVersion)
Returns an immutable copy ofthiswith just theidentityVersionfield 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 identity version.”
- Parameters:
identityVersion- new value ofidentityVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityVersionfield changed
-
getIgnoreVersionDetection
public Optional<Boolean> getIgnoreVersionDetection()
“A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature.”- Returns:
- property ignoreVersionDetection
-
withIgnoreVersionDetection
public WindowsMobileMSI withIgnoreVersionDetection(Boolean ignoreVersionDetection)
Returns an immutable copy ofthiswith just theignoreVersionDetectionfield 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.“A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature.”
- Parameters:
ignoreVersionDetection- new value ofignoreVersionDetectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theignoreVersionDetectionfield changed
-
getProductCode
public Optional<String> getProductCode()
“The product code.”- Returns:
- property productCode
-
withProductCode
public WindowsMobileMSI withProductCode(String productCode)
Returns an immutable copy ofthiswith just theproductCodefield 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 product code.”
- Parameters:
productCode- new value ofproductCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductCodefield changed
-
getProductVersion
public Optional<String> getProductVersion()
“The product version of Windows Mobile MSI Line of Business (LoB) app.”- Returns:
- property productVersion
-
withProductVersion
public WindowsMobileMSI 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 product version of Windows Mobile MSI Line of Business (LoB) app.”
- Parameters:
productVersion- new value ofproductVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductVersionfield changed
-
getUseDeviceContext
public Optional<Boolean> getUseDeviceContext()
“Indicates whether to install a dual-mode MSI in the device context. If true, app will be installed for all users. If false, app will be installed per-user. If null, service will use the MSI package's default install context. In case of dual-mode MSI, this default will be per-user. Cannot be set for non-dual-mode apps. Cannot be changed after initial creation of the application.”- Returns:
- property useDeviceContext
-
withUseDeviceContext
public WindowsMobileMSI withUseDeviceContext(Boolean useDeviceContext)
Returns an immutable copy ofthiswith just theuseDeviceContextfield 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.“Indicates whether to install a dual-mode MSI in the device context. If true, app will be installed for all users. If false, app will be installed per-user. If null, service will use the MSI package's default install context. In case of dual-mode MSI, this default will be per-user. Cannot be set for non-dual-mode apps. Cannot be changed after initial creation of the application.”
- Parameters:
useDeviceContext- new value ofuseDeviceContextfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseDeviceContextfield changed
-
withUnmappedField
public WindowsMobileMSI withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classMobileLobApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileLobApp
-
patch
public WindowsMobileMSI patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classMobileLobApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsMobileMSI put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classMobileLobApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classMobileLobApp
-
-