Package odata.msgraph.client.beta.entity
Class MacOSDmgApp
- 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.MacOSDmgApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSDmgApp extends MobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for the MacOS DMG App.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSDmgApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanignoreVersionDetectionprotected List<MacOSIncludedApp>includedAppsprotected StringincludedAppsNextLinkprotected MacOSMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringprimaryBundleIdprotected StringprimaryBundleVersion-
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 protectedMacOSDmgApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSDmgApp.BuilderbuilderMacOSDmgApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getIgnoreVersionDetection()“A value indicating whether the app's version will be used to detect the app after it is installed on a device.com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp>getIncludedApps()“The list of apps expected to be installed by the DMG.”com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp>getIncludedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)“The list of apps expected to be installed by the DMG.”Optional<MacOSMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable operating system.”Optional<String>getPrimaryBundleId()“The primary CFBundleIdentifier of the DMG.”Optional<String>getPrimaryBundleVersion()“The primary CFBundleVersion of the DMG.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MacOSDmgApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSDmgAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSDmgAppwithIgnoreVersionDetection(Boolean ignoreVersionDetection)Returns an immutable copy ofthiswith just theignoreVersionDetectionfield changed.MacOSDmgAppwithIncludedApps(List<MacOSIncludedApp> includedApps)Returns an immutable copy ofthiswith just theincludedAppsfield changed.MacOSDmgAppwithMinimumSupportedOperatingSystem(MacOSMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.MacOSDmgAppwithPrimaryBundleId(String primaryBundleId)Returns an immutable copy ofthiswith just theprimaryBundleIdfield changed.MacOSDmgAppwithPrimaryBundleVersion(String primaryBundleVersion)Returns an immutable copy ofthiswith just theprimaryBundleVersionfield changed.MacOSDmgAppwithUnmappedField(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
-
ignoreVersionDetection
protected Boolean ignoreVersionDetection
-
includedApps
protected List<MacOSIncludedApp> includedApps
-
includedAppsNextLink
protected String includedAppsNextLink
-
minimumSupportedOperatingSystem
protected MacOSMinimumOperatingSystem minimumSupportedOperatingSystem
-
primaryBundleId
protected String primaryBundleId
-
primaryBundleVersion
protected String primaryBundleVersion
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileLobApp
-
builderMacOSDmgApp
public static MacOSDmgApp.Builder builderMacOSDmgApp()
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
-
getIgnoreVersionDetection
public Optional<Boolean> getIgnoreVersionDetection()
“A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self- update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device.”- Returns:
- property ignoreVersionDetection
-
withIgnoreVersionDetection
public MacOSDmgApp 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 value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self- update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device.”
- Parameters:
ignoreVersionDetection- new value ofignoreVersionDetectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theignoreVersionDetectionfield changed
-
getIncludedApps
public com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp> getIncludedApps()
“The list of apps expected to be installed by the DMG.”- Returns:
- property includedApps
-
withIncludedApps
public MacOSDmgApp withIncludedApps(List<MacOSIncludedApp> includedApps)
Returns an immutable copy ofthiswith just theincludedAppsfield 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 list of apps expected to be installed by the DMG.”
- Parameters:
includedApps- new value ofincludedAppsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theincludedAppsfield changed
-
getIncludedApps
public com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp> getIncludedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The list of apps expected to be installed by the DMG.”- Parameters:
options- specify connect and read timeouts- Returns:
- property includedApps
-
getMinimumSupportedOperatingSystem
public Optional<MacOSMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public MacOSDmgApp 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
-
getPrimaryBundleId
public Optional<String> getPrimaryBundleId()
“The primary CFBundleIdentifier of the DMG.”- Returns:
- property primaryBundleId
-
withPrimaryBundleId
public MacOSDmgApp withPrimaryBundleId(String primaryBundleId)
Returns an immutable copy ofthiswith just theprimaryBundleIdfield 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 CFBundleIdentifier of the DMG.”
- Parameters:
primaryBundleId- new value ofprimaryBundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprimaryBundleIdfield changed
-
getPrimaryBundleVersion
public Optional<String> getPrimaryBundleVersion()
“The primary CFBundleVersion of the DMG.”- Returns:
- property primaryBundleVersion
-
withPrimaryBundleVersion
public MacOSDmgApp withPrimaryBundleVersion(String primaryBundleVersion)
Returns an immutable copy ofthiswith just theprimaryBundleVersionfield 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 CFBundleVersion of the DMG.”
- Parameters:
primaryBundleVersion- new value ofprimaryBundleVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprimaryBundleVersionfield changed
-
withUnmappedField
public MacOSDmgApp 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 MacOSDmgApp 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 MacOSDmgApp 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
-
-