Class WindowsAppX
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.MobileLobApp
-
- odata.msgraph.client.entity.WindowsAppX
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsAppX extends MobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Windows AppX Line Of Business apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsAppX.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WindowsArchitectureapplicableArchitecturesprotected 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 protectedWindowsAppX()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsAppX.BuilderbuilderWindowsAppX()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) on which this app can run.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getIdentityName()“The identity name of the uploaded app package.Optional<String>getIdentityPublisherHash()“The identity publisher hash of the uploaded app package.Optional<String>getIdentityResourceIdentifier()“The identity resource identifier of the uploaded app package.Optional<String>getIdentityVersion()“The identity version of the uploaded app package.Optional<Boolean>getIsBundle()“When TRUE, indicates that the app is a bundle.Optional<WindowsMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable operating system.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsAppXpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsAppXput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsAppXwithApplicableArchitectures(WindowsArchitecture applicableArchitectures)Returns an immutable copy ofthiswith just theapplicableArchitecturesfield changed.WindowsAppXwithIdentityName(String identityName)Returns an immutable copy ofthiswith just theidentityNamefield changed.WindowsAppXwithIdentityPublisherHash(String identityPublisherHash)Returns an immutable copy ofthiswith just theidentityPublisherHashfield changed.WindowsAppXwithIdentityResourceIdentifier(String identityResourceIdentifier)Returns an immutable copy ofthiswith just theidentityResourceIdentifierfield changed.WindowsAppXwithIdentityVersion(String identityVersion)Returns an immutable copy ofthiswith just theidentityVersionfield changed.WindowsAppXwithIsBundle(Boolean isBundle)Returns an immutable copy ofthiswith just theisBundlefield changed.WindowsAppXwithMinimumSupportedOperatingSystem(WindowsMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.WindowsAppXwithUnmappedField(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
-
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
-
builderWindowsAppX
public static WindowsAppX.Builder builderWindowsAppX()
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) on which this app can run. Possible values are: ` none`, `x86`, `x64`, `arm`, `neutral`; default value is `none`.”- Returns:
- property applicableArchitectures
-
withApplicableArchitectures
public WindowsAppX 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) on which this app can run. 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
-
getIdentityName
public Optional<String> getIdentityName()
“The identity name of the uploaded app package. For example: "Contoso.DemoApp".”- Returns:
- property identityName
-
withIdentityName
public WindowsAppX 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 uploaded app package. 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 uploaded app package. This is the hash of the publisher from the manifest. For example: "AB82CD0XYZ".”- Returns:
- property identityPublisherHash
-
withIdentityPublisherHash
public WindowsAppX 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 uploaded app package. This is the hash of the publisher from the manifest. 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 uploaded app package. For example: " TestResourceId".”- Returns:
- property identityResourceIdentifier
-
withIdentityResourceIdentifier
public WindowsAppX 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 uploaded app package. 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 uploaded app package. For example: "1.0.0.0".”- Returns:
- property identityVersion
-
withIdentityVersion
public WindowsAppX 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 uploaded app package. 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()
“When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE.”- Returns:
- property isBundle
-
withIsBundle
public WindowsAppX 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.“When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE.”
- 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. Valid values for a WindowsAppX app include `v8_0`, `v8_1` and `v10_0`. If the app is a bundle, the minimum supported OS has to be at least `v8_1`.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public WindowsAppX 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. Valid values for a WindowsAppX app include `v8_0`, `v8_1` and `v10_0`. If the app is a bundle, the minimum supported OS has to be at least `v8_1`.”
- Parameters:
minimumSupportedOperatingSystem- new value ofminimumSupportedOperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumSupportedOperatingSystemfield changed
-
withUnmappedField
public WindowsAppX withUnmappedField(String name, Object 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 WindowsAppX 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 WindowsAppX 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
-
-