Class MacOSDmgApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.MobileLobApp
-
- odata.msgraph.client.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 (Apple Disk Image ) 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.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 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()“When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device.com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp>getIncludedApps()“The list of .apps expected to be installed by the DMG (Apple Disk Image)”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 (Apple Disk Image)”Optional<MacOSMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”Optional<String>getPrimaryBundleId()“The bundleId of the primary .app in the DMG (Apple Disk Image).Optional<String>getPrimaryBundleVersion()“The version of the primary .app in the DMG (Apple Disk Image).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, 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
-
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()
“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 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.“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
-
getIncludedApps
public com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp> getIncludedApps()
“The list of .apps expected to be installed by the DMG (Apple Disk Image)”- 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 (Apple Disk Image)”
- 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 (Apple Disk Image)”- Parameters:
options- specify connect and read timeouts- Returns:
- property includedApps
-
getMinimumSupportedOperatingSystem
public Optional<MacOSMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”- 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.“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
-
getPrimaryBundleId
public Optional<String> getPrimaryBundleId()
“The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration.”- 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 bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration.”
- Parameters:
primaryBundleId- new value ofprimaryBundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprimaryBundleIdfield changed
-
getPrimaryBundleVersion
public Optional<String> getPrimaryBundleVersion()
“The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration.”- 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 version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration.”
- Parameters:
primaryBundleVersion- new value ofprimaryBundleVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprimaryBundleVersionfield changed
-
withUnmappedField
public MacOSDmgApp 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 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
-
-