Package odata.msgraph.client.beta.entity
Class DepMacOSEnrollmentProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EnrollmentProfile
-
- odata.msgraph.client.beta.entity.DepEnrollmentBaseProfile
-
- odata.msgraph.client.beta.entity.DepMacOSEnrollmentProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile implements com.github.davidmoten.odata.client.ODataEntityType
“The DepMacOSEnrollmentProfile resource represents an Apple Device Enrollment Program (DEP) enrollment profile specific to macOS configuration. This type of profile must be assigned to Apple DEP serial numbers before the corresponding devices can enroll via DEP.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDepMacOSEnrollmentProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanaccessibilityScreenDisabledprotected BooleanchooseYourLockScreenDisabledprotected BooleanfileVaultDisabledprotected BooleaniCloudDiagnosticsDisabledprotected BooleaniCloudStorageDisabledprotected BooleanpassCodeDisabledprotected BooleanregistrationDisabledprotected BooleanzoomDisabled-
Fields inherited from class odata.msgraph.client.beta.entity.DepEnrollmentBaseProfile
appleIdDisabled, applePayDisabled, configurationWebUrl, deviceNameTemplate, diagnosticsDisabled, displayToneSetupDisabled, isDefault, isMandatory, locationDisabled, privacyPaneDisabled, profileRemovalDisabled, restoreBlocked, screenTimeScreenDisabled, siriDisabled, supervisedModeEnabled, supportDepartment, supportPhoneNumber, termsAndConditionsDisabled, touchIdDisabled
-
Fields inherited from class odata.msgraph.client.beta.entity.EnrollmentProfile
configurationEndpointUrl, description, displayName, enableAuthenticationViaCompanyPortal, requireCompanyPortalOnSetupAssistantEnrolledDevices, requiresUserAuthentication
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDepMacOSEnrollmentProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DepMacOSEnrollmentProfile.BuilderbuilderDepMacOSEnrollmentProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAccessibilityScreenDisabled()“Indicates if Accessibility screen is disabled”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getChooseYourLockScreenDisabled()“Indicates if iCloud Documents and Desktop screen is disabled”Optional<Boolean>getFileVaultDisabled()“Indicates if file vault is disabled”Optional<Boolean>getICloudDiagnosticsDisabled()“Indicates if iCloud Analytics screen is disabled”Optional<Boolean>getICloudStorageDisabled()“Indicates if iCloud Documents and Desktop screen is disabled”Optional<Boolean>getPassCodeDisabled()“Indicates if Passcode setup pane is disabled”Optional<Boolean>getRegistrationDisabled()“Indicates if registration is disabled”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getZoomDisabled()“Indicates if zoom setup pane is disabled”StringodataTypeName()DepMacOSEnrollmentProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DepMacOSEnrollmentProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DepMacOSEnrollmentProfilewithAccessibilityScreenDisabled(Boolean accessibilityScreenDisabled)Returns an immutable copy ofthiswith just theaccessibilityScreenDisabledfield changed.DepMacOSEnrollmentProfilewithChooseYourLockScreenDisabled(Boolean chooseYourLockScreenDisabled)Returns an immutable copy ofthiswith just thechooseYourLockScreenDisabledfield changed.DepMacOSEnrollmentProfilewithFileVaultDisabled(Boolean fileVaultDisabled)Returns an immutable copy ofthiswith just thefileVaultDisabledfield changed.DepMacOSEnrollmentProfilewithICloudDiagnosticsDisabled(Boolean iCloudDiagnosticsDisabled)Returns an immutable copy ofthiswith just theiCloudDiagnosticsDisabledfield changed.DepMacOSEnrollmentProfilewithICloudStorageDisabled(Boolean iCloudStorageDisabled)Returns an immutable copy ofthiswith just theiCloudStorageDisabledfield changed.DepMacOSEnrollmentProfilewithPassCodeDisabled(Boolean passCodeDisabled)Returns an immutable copy ofthiswith just thepassCodeDisabledfield changed.DepMacOSEnrollmentProfilewithRegistrationDisabled(Boolean registrationDisabled)Returns an immutable copy ofthiswith just theregistrationDisabledfield changed.DepMacOSEnrollmentProfilewithUnmappedField(String name, String value)DepMacOSEnrollmentProfilewithZoomDisabled(Boolean zoomDisabled)Returns an immutable copy ofthiswith just thezoomDisabledfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.DepEnrollmentBaseProfile
getAppleIdDisabled, getApplePayDisabled, getConfigurationWebUrl, getDeviceNameTemplate, getDiagnosticsDisabled, getDisplayToneSetupDisabled, getIsDefault, getIsMandatory, getLocationDisabled, getPrivacyPaneDisabled, getProfileRemovalDisabled, getRestoreBlocked, getScreenTimeScreenDisabled, getSiriDisabled, getSupervisedModeEnabled, getSupportDepartment, getSupportPhoneNumber, getTermsAndConditionsDisabled, getTouchIdDisabled, withAppleIdDisabled, withApplePayDisabled, withConfigurationWebUrl, withDeviceNameTemplate, withDiagnosticsDisabled, withDisplayToneSetupDisabled, withIsDefault, withIsMandatory, withLocationDisabled, withPrivacyPaneDisabled, withProfileRemovalDisabled, withRestoreBlocked, withScreenTimeScreenDisabled, withSiriDisabled, withSupervisedModeEnabled, withSupportDepartment, withSupportPhoneNumber, withTermsAndConditionsDisabled, withTouchIdDisabled
-
Methods inherited from class odata.msgraph.client.beta.entity.EnrollmentProfile
builderEnrollmentProfile, exportMobileConfig, getConfigurationEndpointUrl, getDescription, getDisplayName, getEnableAuthenticationViaCompanyPortal, getRequireCompanyPortalOnSetupAssistantEnrolledDevices, getRequiresUserAuthentication, setDefaultProfile, updateDeviceProfileAssignment, withConfigurationEndpointUrl, withDescription, withDisplayName, withEnableAuthenticationViaCompanyPortal, withRequireCompanyPortalOnSetupAssistantEnrolledDevices, withRequiresUserAuthentication
-
-
-
-
Field Detail
-
accessibilityScreenDisabled
protected Boolean accessibilityScreenDisabled
-
chooseYourLockScreenDisabled
protected Boolean chooseYourLockScreenDisabled
-
fileVaultDisabled
protected Boolean fileVaultDisabled
-
iCloudDiagnosticsDisabled
protected Boolean iCloudDiagnosticsDisabled
-
iCloudStorageDisabled
protected Boolean iCloudStorageDisabled
-
passCodeDisabled
protected Boolean passCodeDisabled
-
registrationDisabled
protected Boolean registrationDisabled
-
zoomDisabled
protected Boolean zoomDisabled
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDepEnrollmentBaseProfile
-
builderDepMacOSEnrollmentProfile
public static DepMacOSEnrollmentProfile.Builder builderDepMacOSEnrollmentProfile()
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 classDepEnrollmentBaseProfile
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDepEnrollmentBaseProfile
-
getAccessibilityScreenDisabled
public Optional<Boolean> getAccessibilityScreenDisabled()
“Indicates if Accessibility screen is disabled”- Returns:
- property accessibilityScreenDisabled
-
withAccessibilityScreenDisabled
public DepMacOSEnrollmentProfile withAccessibilityScreenDisabled(Boolean accessibilityScreenDisabled)
Returns an immutable copy ofthiswith just theaccessibilityScreenDisabledfield 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.“Indicates if Accessibility screen is disabled”
- Parameters:
accessibilityScreenDisabled- new value ofaccessibilityScreenDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaccessibilityScreenDisabledfield changed
-
getChooseYourLockScreenDisabled
public Optional<Boolean> getChooseYourLockScreenDisabled()
“Indicates if iCloud Documents and Desktop screen is disabled”- Returns:
- property chooseYourLockScreenDisabled
-
withChooseYourLockScreenDisabled
public DepMacOSEnrollmentProfile withChooseYourLockScreenDisabled(Boolean chooseYourLockScreenDisabled)
Returns an immutable copy ofthiswith just thechooseYourLockScreenDisabledfield 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.“Indicates if iCloud Documents and Desktop screen is disabled”
- Parameters:
chooseYourLockScreenDisabled- new value ofchooseYourLockScreenDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thechooseYourLockScreenDisabledfield changed
-
getFileVaultDisabled
public Optional<Boolean> getFileVaultDisabled()
“Indicates if file vault is disabled”- Returns:
- property fileVaultDisabled
-
withFileVaultDisabled
public DepMacOSEnrollmentProfile withFileVaultDisabled(Boolean fileVaultDisabled)
Returns an immutable copy ofthiswith just thefileVaultDisabledfield 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.“Indicates if file vault is disabled”
- Parameters:
fileVaultDisabled- new value offileVaultDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultDisabledfield changed
-
getICloudDiagnosticsDisabled
public Optional<Boolean> getICloudDiagnosticsDisabled()
“Indicates if iCloud Analytics screen is disabled”- Returns:
- property iCloudDiagnosticsDisabled
-
withICloudDiagnosticsDisabled
public DepMacOSEnrollmentProfile withICloudDiagnosticsDisabled(Boolean iCloudDiagnosticsDisabled)
Returns an immutable copy ofthiswith just theiCloudDiagnosticsDisabledfield 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.“Indicates if iCloud Analytics screen is disabled”
- Parameters:
iCloudDiagnosticsDisabled- new value ofiCloudDiagnosticsDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiCloudDiagnosticsDisabledfield changed
-
getICloudStorageDisabled
public Optional<Boolean> getICloudStorageDisabled()
“Indicates if iCloud Documents and Desktop screen is disabled”- Returns:
- property iCloudStorageDisabled
-
withICloudStorageDisabled
public DepMacOSEnrollmentProfile withICloudStorageDisabled(Boolean iCloudStorageDisabled)
Returns an immutable copy ofthiswith just theiCloudStorageDisabledfield 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.“Indicates if iCloud Documents and Desktop screen is disabled”
- Parameters:
iCloudStorageDisabled- new value ofiCloudStorageDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiCloudStorageDisabledfield changed
-
getPassCodeDisabled
public Optional<Boolean> getPassCodeDisabled()
“Indicates if Passcode setup pane is disabled”- Returns:
- property passCodeDisabled
-
withPassCodeDisabled
public DepMacOSEnrollmentProfile withPassCodeDisabled(Boolean passCodeDisabled)
Returns an immutable copy ofthiswith just thepassCodeDisabledfield 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.“Indicates if Passcode setup pane is disabled”
- Parameters:
passCodeDisabled- new value ofpassCodeDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepassCodeDisabledfield changed
-
getRegistrationDisabled
public Optional<Boolean> getRegistrationDisabled()
“Indicates if registration is disabled”- Returns:
- property registrationDisabled
-
withRegistrationDisabled
public DepMacOSEnrollmentProfile withRegistrationDisabled(Boolean registrationDisabled)
Returns an immutable copy ofthiswith just theregistrationDisabledfield 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.“Indicates if registration is disabled”
- Parameters:
registrationDisabled- new value ofregistrationDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theregistrationDisabledfield changed
-
getZoomDisabled
public Optional<Boolean> getZoomDisabled()
“Indicates if zoom setup pane is disabled”- Returns:
- property zoomDisabled
-
withZoomDisabled
public DepMacOSEnrollmentProfile withZoomDisabled(Boolean zoomDisabled)
Returns an immutable copy ofthiswith just thezoomDisabledfield 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.“Indicates if zoom setup pane is disabled”
- Parameters:
zoomDisabled- new value ofzoomDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thezoomDisabledfield changed
-
withUnmappedField
public DepMacOSEnrollmentProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDepEnrollmentBaseProfile
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDepEnrollmentBaseProfile
-
patch
public DepMacOSEnrollmentProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDepEnrollmentBaseProfile- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DepMacOSEnrollmentProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDepEnrollmentBaseProfile- 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 classDepEnrollmentBaseProfile
-
-