Package odata.msgraph.client.beta.entity
Class MacOSCustomAppConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.MacOSCustomAppConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSCustomAppConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSCustomAppConfiguration resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSCustomAppConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbundleIdprotected byte[]configurationXmlprotected StringfileName-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSCustomAppConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSCustomAppConfiguration.BuilderbuilderMacOSCustomAppConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBundleId()“Bundle id for targeting.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<byte[]>getConfigurationXml()“Configuration xml.Optional<String>getFileName()“Configuration file name (*.plist | *.xml).”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MacOSCustomAppConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSCustomAppConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSCustomAppConfigurationwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.MacOSCustomAppConfigurationwithConfigurationXml(byte[] configurationXml)Returns an immutable copy ofthiswith just theconfigurationXmlfield changed.MacOSCustomAppConfigurationwithFileName(String fileName)Returns an immutable copy ofthiswith just thefileNamefield changed.MacOSCustomAppConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderMacOSCustomAppConfiguration
public static MacOSCustomAppConfiguration.Builder builderMacOSCustomAppConfiguration()
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 classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getBundleId
public Optional<String> getBundleId()
“Bundle id for targeting.”- Returns:
- property bundleId
-
withBundleId
public MacOSCustomAppConfiguration 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.“Bundle id for targeting.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getConfigurationXml
public Optional<byte[]> getConfigurationXml()
“Configuration xml. (UTF8 encoded byte array)”- Returns:
- property configurationXml
-
withConfigurationXml
public MacOSCustomAppConfiguration withConfigurationXml(byte[] configurationXml)
Returns an immutable copy ofthiswith just theconfigurationXmlfield 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.“Configuration xml. (UTF8 encoded byte array)”
- Parameters:
configurationXml- new value ofconfigurationXmlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationXmlfield changed
-
getFileName
public Optional<String> getFileName()
“Configuration file name (*.plist | *.xml).”- Returns:
- property fileName
-
withFileName
public MacOSCustomAppConfiguration withFileName(String fileName)
Returns an immutable copy ofthiswith just thefileNamefield 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.“Configuration file name (*.plist | *.xml).”
- Parameters:
fileName- new value offileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileNamefield changed
-
withUnmappedField
public MacOSCustomAppConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public MacOSCustomAppConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public MacOSCustomAppConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- 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 classDeviceConfiguration
-
-