Class WindowsUniversalAppX
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.MobileLobApp
-
- odata.msgraph.client.entity.WindowsUniversalAppX
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsUniversalAppX extends MobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Windows Universal AppX Line Of Business apps. Inherits from `mobileLobApp`.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUniversalAppX.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WindowsArchitectureapplicableArchitecturesprotected WindowsDeviceTypeapplicableDeviceTypesprotected StringidentityNameprotected StringidentityPublisherHashprotected StringidentityResourceIdentifierprotected StringidentityVersionprotected BooleanisBundleprotected WindowsMinimumOperatingSystemminimumSupportedOperatingSystem-
Fields inherited from class odata.msgraph.client.entity.MobileLobApp
committedContentVersion, contentVersions, fileName, size
-
Fields inherited from class odata.msgraph.client.entity.MobileApp
assignments, createdDateTime, description, developer, displayName, informationUrl, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUniversalAppX()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsUniversalAppX.BuilderbuilderWindowsUniversalAppX()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<WindowsArchitecture>getApplicableArchitectures()“The Windows architecture(s) for which this app can run on.Optional<WindowsDeviceType>getApplicableDeviceTypes()“The Windows device type(s) for which this app can run on.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()MobileContainedAppCollectionRequestgetCommittedContainedApps()“The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app.”Optional<String>getIdentityName()“The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console.Optional<String>getIdentityPublisherHash()“The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console.Optional<String>getIdentityResourceIdentifier()“The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console.Optional<String>getIdentityVersion()“The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console.Optional<Boolean>getIsBundle()“Whether or not the app is a bundle.Optional<WindowsMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable Windows operating system.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsUniversalAppXpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsUniversalAppXput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsUniversalAppXwithApplicableArchitectures(WindowsArchitecture applicableArchitectures)Returns an immutable copy ofthiswith just theapplicableArchitecturesfield changed.WindowsUniversalAppXwithApplicableDeviceTypes(WindowsDeviceType applicableDeviceTypes)Returns an immutable copy ofthiswith just theapplicableDeviceTypesfield changed.WindowsUniversalAppXwithIdentityName(String identityName)Returns an immutable copy ofthiswith just theidentityNamefield changed.WindowsUniversalAppXwithIdentityPublisherHash(String identityPublisherHash)Returns an immutable copy ofthiswith just theidentityPublisherHashfield changed.WindowsUniversalAppXwithIdentityResourceIdentifier(String identityResourceIdentifier)Returns an immutable copy ofthiswith just theidentityResourceIdentifierfield changed.WindowsUniversalAppXwithIdentityVersion(String identityVersion)Returns an immutable copy ofthiswith just theidentityVersionfield changed.WindowsUniversalAppXwithIsBundle(Boolean isBundle)Returns an immutable copy ofthiswith just theisBundlefield changed.WindowsUniversalAppXwithMinimumSupportedOperatingSystem(WindowsMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.WindowsUniversalAppXwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.MobileLobApp
getCommittedContentVersion, getContentVersions, getFileName, getSize, withCommittedContentVersion, withContentVersions, withFileName, withSize
-
Methods inherited from class odata.msgraph.client.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDescription, getDeveloper, getDisplayName, getInformationUrl, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, withAssignments, withCreatedDateTime, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState
-
-
-
-
Field Detail
-
applicableArchitectures
protected WindowsArchitecture applicableArchitectures
-
applicableDeviceTypes
protected WindowsDeviceType applicableDeviceTypes
-
identityName
protected String identityName
-
identityPublisherHash
protected String identityPublisherHash
-
identityResourceIdentifier
protected String identityResourceIdentifier
-
identityVersion
protected String identityVersion
-
isBundle
protected Boolean isBundle
-
minimumSupportedOperatingSystem
protected WindowsMinimumOperatingSystem minimumSupportedOperatingSystem
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileLobApp
-
builderWindowsUniversalAppX
public static WindowsUniversalAppX.Builder builderWindowsUniversalAppX()
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
-
getApplicableArchitectures
public Optional<WindowsArchitecture> getApplicableArchitectures()
“The Windows architecture(s) for which this app can run on. Possible values are: `none`, `x86`, `x64`, `arm`, `neutral`; default value is `none`.”- Returns:
- property applicableArchitectures
-
withApplicableArchitectures
public WindowsUniversalAppX withApplicableArchitectures(WindowsArchitecture applicableArchitectures)
Returns an immutable copy ofthiswith just theapplicableArchitecturesfield 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 Windows architecture(s) for which this app can run on. Possible values are: `none`, `x86`, `x64`, `arm`, `neutral`; default value is `none`.”
- Parameters:
applicableArchitectures- new value ofapplicableArchitecturesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicableArchitecturesfield changed
-
getApplicableDeviceTypes
public Optional<WindowsDeviceType> getApplicableDeviceTypes()
“The Windows device type(s) for which this app can run on. Possible values are: ` none`, `desktop`, `mobile`, `holographic`, `team`; default value is `none`.”- Returns:
- property applicableDeviceTypes
-
withApplicableDeviceTypes
public WindowsUniversalAppX withApplicableDeviceTypes(WindowsDeviceType applicableDeviceTypes)
Returns an immutable copy ofthiswith just theapplicableDeviceTypesfield 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 Windows device type(s) for which this app can run on. Possible values are: ` none`, `desktop`, `mobile`, `holographic`, `team`; default value is `none`.”
- Parameters:
applicableDeviceTypes- new value ofapplicableDeviceTypesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicableDeviceTypesfield changed
-
getIdentityName
public Optional<String> getIdentityName()
“The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "Contoso.DemoApp".”- Returns:
- property identityName
-
withIdentityName
public WindowsUniversalAppX withIdentityName(String identityName)
Returns an immutable copy ofthiswith just theidentityNamefield 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 Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "Contoso.DemoApp".”
- Parameters:
identityName- new value ofidentityNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityNamefield changed
-
getIdentityPublisherHash
public Optional<String> getIdentityPublisherHash()
“The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "AB82CD0XYZ".”- Returns:
- property identityPublisherHash
-
withIdentityPublisherHash
public WindowsUniversalAppX withIdentityPublisherHash(String identityPublisherHash)
Returns an immutable copy ofthiswith just theidentityPublisherHashfield 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 Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "AB82CD0XYZ".”
- Parameters:
identityPublisherHash- new value ofidentityPublisherHashfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityPublisherHashfield changed
-
getIdentityResourceIdentifier
public Optional<String> getIdentityResourceIdentifier()
“The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "TestResourceId".”- Returns:
- property identityResourceIdentifier
-
withIdentityResourceIdentifier
public WindowsUniversalAppX withIdentityResourceIdentifier(String identityResourceIdentifier)
Returns an immutable copy ofthiswith just theidentityResourceIdentifierfield 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 Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "TestResourceId".”
- Parameters:
identityResourceIdentifier- new value ofidentityResourceIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityResourceIdentifierfield changed
-
getIdentityVersion
public Optional<String> getIdentityVersion()
“The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "1.0.0.0".”- Returns:
- property identityVersion
-
withIdentityVersion
public WindowsUniversalAppX 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 of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "1.0.0.0".”
- Parameters:
identityVersion- new value ofidentityVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentityVersionfield changed
-
getIsBundle
public Optional<Boolean> getIsBundle()
“Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle.”- Returns:
- property isBundle
-
withIsBundle
public WindowsUniversalAppX withIsBundle(Boolean isBundle)
Returns an immutable copy ofthiswith just theisBundlefield 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 or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle.”
- Parameters:
isBundle- new value ofisBundlefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisBundlefield changed
-
getMinimumSupportedOperatingSystem
public Optional<WindowsMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable Windows operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public WindowsUniversalAppX withMinimumSupportedOperatingSystem(WindowsMinimumOperatingSystem minimumSupportedOperatingSystem)
Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield 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 value for the minimum applicable Windows operating system.”
- Parameters:
minimumSupportedOperatingSystem- new value ofminimumSupportedOperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumSupportedOperatingSystemfield changed
-
withUnmappedField
public WindowsUniversalAppX withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMobileLobApp
-
getCommittedContainedApps
public MobileContainedAppCollectionRequest getCommittedContainedApps()
“The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app.”- Returns:
- navigational property committedContainedApps
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileLobApp
-
patch
public WindowsUniversalAppX 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 WindowsUniversalAppX 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
-
-