Package odata.msgraph.client.beta.entity
Class WindowsUniversalAppX
- 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.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.”
-
-
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.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 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.”Optional<String>getIdentityPublisherHash()“The Identity Publisher Hash.”Optional<String>getIdentityResourceIdentifier()“The Identity Resource Identifier.”Optional<String>getIdentityVersion()“The identity version.”Optional<Boolean>getIsBundle()“Whether or not the app is a bundle.”Optional<WindowsMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable 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, String value)-
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
-
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.”- 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.”
- 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.”- 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.”
- 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.”- 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.”
- 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.”- 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.”
- 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.”- 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.”
- 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.”- 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.”
- 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.”- 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.”
- 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 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 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, String 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
-
-