Package odata.msgraph.client.beta.entity
Class MacOSLobApp
- 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.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 StringidentityVersionprotected BooleanignoreVersionDetectionprotected BooleaninstallAsManagedprotected List<String>md5Hashprotected Integermd5HashChunkSizeprotected Stringmd5HashNextLinkprotected MacOSMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringversionNumber-
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 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 MacOS Line of Business (LoB) app.”Optional<String>getBundleId()“The bundle id.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<MacOSLobChildApp>getChildApps()“The app list in this bundle package”com.github.davidmoten.odata.client.CollectionPage<MacOSLobChildApp>getChildApps(com.github.davidmoten.odata.client.HttpRequestOptions options)“The app list in this bundle package”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<Boolean>getInstallAsManaged()“A boolean to control whether the app will be installed as managed (requires macOS 11.0 and other PKG 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()“The value for the minimum applicable operating system.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersionNumber()“The version number of MacOS Line of Business (LoB) app.”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.MacOSLobAppwithIdentityVersion(String identityVersion)Returns an immutable copy ofthiswith just theidentityVersionfield 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, String value)MacOSLobAppwithVersionNumber(String versionNumber)Returns an immutable copy ofthiswith just theversionNumberfield 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
-
buildNumber
protected String buildNumber
-
bundleId
protected String bundleId
-
childApps
protected List<MacOSLobChildApp> childApps
-
childAppsNextLink
protected String childAppsNextLink
-
identityVersion
protected String identityVersion
-
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 MacOS Line of Business (LoB) app.”- 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 MacOS Line of Business (LoB) app.”
- Parameters:
buildNumber- new value ofbuildNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebuildNumberfield changed
-
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 bundle id.”
- 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()
“The app list in this bundle 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.“The app list in this bundle 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)
“The app list in this bundle package”- Parameters:
options- specify connect and read timeouts- Returns:
- property childApps
-
getIdentityVersion
public Optional<String> getIdentityVersion()
“The identity version.”- Returns:
- property identityVersion
-
withIdentityVersion
public MacOSLobApp 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 macOS Line of Business ( LoB) apps that use a self update feature.”- 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.“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 macOS 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
-
getInstallAsManaged
public Optional<Boolean> getInstallAsManaged()
“A boolean to control whether the app will be installed as managed (requires macOS 11.0 and other PKG restrictions).”- 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.“A boolean to control whether the app will be installed as managed (requires macOS 11.0 and other PKG restrictions).”
- 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”- 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”
- 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”- Parameters:
options- specify connect and read timeouts- Returns:
- property md5Hash
-
getMd5HashChunkSize
public Optional<Integer> getMd5HashChunkSize()
“The chunk size for MD5 hash”- 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”
- Parameters:
md5HashChunkSize- new value ofmd5HashChunkSizefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themd5HashChunkSizefield changed
-
getMinimumSupportedOperatingSystem
public Optional<MacOSMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable operating system.”- 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.“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
-
getVersionNumber
public Optional<String> getVersionNumber()
“The version number of MacOS Line of Business (LoB) app.”- 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 MacOS Line of Business (LoB) app.”
- Parameters:
versionNumber- new value ofversionNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionNumberfield changed
-
withUnmappedField
public MacOSLobApp 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 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
-
-