Class MacOSLobApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.MobileLobApp
-
- odata.msgraph.client.entity.MacOSLobApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSLobApp extends MobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for the macOS LOB App.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSLobApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbuildNumberprotected StringbundleIdprotected List<MacOSLobChildApp>childAppsprotected StringchildAppsNextLinkprotected BooleanignoreVersionDetectionprotected BooleaninstallAsManagedprotected List<String>md5Hashprotected Integermd5HashChunkSizeprotected Stringmd5HashNextLinkprotected MacOSMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringversionNumber-
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 protectedMacOSLobApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSLobApp.BuilderbuilderMacOSLobApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBuildNumber()“The build number of the package.Optional<String>getBundleId()“The primary bundleId of the package.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<MacOSLobChildApp>getChildApps()“List of ComplexType macOSLobChildApp objects.com.github.davidmoten.odata.client.CollectionPage<MacOSLobChildApp>getChildApps(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of ComplexType macOSLobChildApp objects.Optional<Boolean>getIgnoreVersionDetection()“When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device.Optional<Boolean>getInstallAsManaged()“When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions).com.github.davidmoten.odata.client.CollectionPage<String>getMd5Hash()“The MD5 hash codes.com.github.davidmoten.odata.client.CollectionPage<String>getMd5Hash(com.github.davidmoten.odata.client.HttpRequestOptions options)“The MD5 hash codes.Optional<Integer>getMd5HashChunkSize()“The chunk size for MD5 hash.Optional<MacOSMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersionNumber()“The version number of the package.StringodataTypeName()MacOSLobApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSLobAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSLobAppwithBuildNumber(String buildNumber)Returns an immutable copy ofthiswith just thebuildNumberfield changed.MacOSLobAppwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.MacOSLobAppwithChildApps(List<MacOSLobChildApp> childApps)Returns an immutable copy ofthiswith just thechildAppsfield changed.MacOSLobAppwithIgnoreVersionDetection(Boolean ignoreVersionDetection)Returns an immutable copy ofthiswith just theignoreVersionDetectionfield changed.MacOSLobAppwithInstallAsManaged(Boolean installAsManaged)Returns an immutable copy ofthiswith just theinstallAsManagedfield changed.MacOSLobAppwithMd5Hash(List<String> md5Hash)Returns an immutable copy ofthiswith just themd5Hashfield changed.MacOSLobAppwithMd5HashChunkSize(Integer md5HashChunkSize)Returns an immutable copy ofthiswith just themd5HashChunkSizefield changed.MacOSLobAppwithMinimumSupportedOperatingSystem(MacOSMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.MacOSLobAppwithUnmappedField(String name, Object value)MacOSLobAppwithVersionNumber(String versionNumber)Returns an immutable copy ofthiswith just theversionNumberfield changed.-
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
-
buildNumber
protected String buildNumber
-
bundleId
protected String bundleId
-
childApps
protected List<MacOSLobChildApp> childApps
-
childAppsNextLink
protected String childAppsNextLink
-
ignoreVersionDetection
protected Boolean ignoreVersionDetection
-
installAsManaged
protected Boolean installAsManaged
-
md5HashNextLink
protected String md5HashNextLink
-
md5HashChunkSize
protected Integer md5HashChunkSize
-
minimumSupportedOperatingSystem
protected MacOSMinimumOperatingSystem minimumSupportedOperatingSystem
-
versionNumber
protected String versionNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileLobApp
-
builderMacOSLobApp
public static MacOSLobApp.Builder builderMacOSLobApp()
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
-
getBuildNumber
public Optional<String> getBuildNumber()
“The build number of the package. This should match the package CFBundleShortVersionString of the .pkg file.”- Returns:
- property buildNumber
-
withBuildNumber
public MacOSLobApp withBuildNumber(String buildNumber)
Returns an immutable copy ofthiswith just thebuildNumberfield 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 build number of the package. This should match the package CFBundleShortVersionString of the .pkg file.”
- Parameters:
buildNumber- new value ofbuildNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebuildNumberfield changed
-
getBundleId
public Optional<String> getBundleId()
“The primary bundleId of the package.”- Returns:
- property bundleId
-
withBundleId
public MacOSLobApp withBundleId(String bundleId)
Returns an immutable copy ofthiswith just thebundleIdfield 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 primary bundleId of the package.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getChildApps
public com.github.davidmoten.odata.client.CollectionPage<MacOSLobChildApp> getChildApps()
“List of ComplexType macOSLobChildApp objects. Represents the apps expected to be installed by the package.”- Returns:
- property childApps
-
withChildApps
public MacOSLobApp withChildApps(List<MacOSLobChildApp> childApps)
Returns an immutable copy ofthiswith just thechildAppsfield 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.“List of ComplexType macOSLobChildApp objects. Represents the apps expected to be installed by the package.”
- Parameters:
childApps- new value ofchildAppsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thechildAppsfield changed
-
getChildApps
public com.github.davidmoten.odata.client.CollectionPage<MacOSLobChildApp> getChildApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of ComplexType macOSLobChildApp objects. Represents the apps expected to be installed by the package.”- Parameters:
options- specify connect and read timeouts- Returns:
- property childApps
-
getIgnoreVersionDetection
public Optional<Boolean> getIgnoreVersionDetection()
“When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE.”- Returns:
- property ignoreVersionDetection
-
withIgnoreVersionDetection
public MacOSLobApp 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.“When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE.”
- Parameters:
ignoreVersionDetection- new value ofignoreVersionDetectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theignoreVersionDetectionfield changed
-
getInstallAsManaged
public Optional<Boolean> getInstallAsManaged()
“When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. The default value is FALSE.”- Returns:
- property installAsManaged
-
withInstallAsManaged
public MacOSLobApp withInstallAsManaged(Boolean installAsManaged)
Returns an immutable copy ofthiswith just theinstallAsManagedfield 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 will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. The default value is FALSE.”
- Parameters:
installAsManaged- new value ofinstallAsManagedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallAsManagedfield changed
-
getMd5Hash
public com.github.davidmoten.odata.client.CollectionPage<String> getMd5Hash()
“The MD5 hash codes. This is empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.”- Returns:
- property md5Hash
-
withMd5Hash
public MacOSLobApp withMd5Hash(List<String> md5Hash)
Returns an immutable copy ofthiswith just themd5Hashfield 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 MD5 hash codes. This is empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.”
- Parameters:
md5Hash- new value ofmd5Hashfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themd5Hashfield changed
-
getMd5Hash
public com.github.davidmoten.odata.client.CollectionPage<String> getMd5Hash(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The MD5 hash codes. This is empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.”- Parameters:
options- specify connect and read timeouts- Returns:
- property md5Hash
-
getMd5HashChunkSize
public Optional<Integer> getMd5HashChunkSize()
“The chunk size for MD5 hash. This is '0' or empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.”- Returns:
- property md5HashChunkSize
-
withMd5HashChunkSize
public MacOSLobApp withMd5HashChunkSize(Integer md5HashChunkSize)
Returns an immutable copy ofthiswith just themd5HashChunkSizefield 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 chunk size for MD5 hash. This is '0' or empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.”
- Parameters:
md5HashChunkSize- new value ofmd5HashChunkSizefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themd5HashChunkSizefield changed
-
getMinimumSupportedOperatingSystem
public Optional<MacOSMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public MacOSLobApp withMinimumSupportedOperatingSystem(MacOSMinimumOperatingSystem 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.“ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”
- Parameters:
minimumSupportedOperatingSystem- new value ofminimumSupportedOperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumSupportedOperatingSystemfield changed
-
getVersionNumber
public Optional<String> getVersionNumber()
“The version number of the package. This should match the package CFBundleVersion in the packageinfo file.”- Returns:
- property versionNumber
-
withVersionNumber
public MacOSLobApp withVersionNumber(String versionNumber)
Returns an immutable copy ofthiswith just theversionNumberfield 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 version number of the package. This should match the package CFBundleVersion in the packageinfo file.”
- Parameters:
versionNumber- new value ofversionNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionNumberfield changed
-
withUnmappedField
public MacOSLobApp 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 MacOSLobApp 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 MacOSLobApp 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
-
-