Package odata.msgraph.client.beta.entity
Class IosEduDeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.IosEduDeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IosEduDeviceConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“iOS Education device configuration”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosEduDeviceConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IosEduCertificateSettingsdeviceCertificateSettingsprotected IosEduCertificateSettingsstudentCertificateSettingsprotected IosEduCertificateSettingsteacherCertificateSettings-
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 protectedIosEduDeviceConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosEduDeviceConfiguration.BuilderbuilderIosEduDeviceConfiguration()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<IosEduCertificateSettings>getDeviceCertificateSettings()“The Trusted Root and PFX certificates for Device”Optional<IosEduCertificateSettings>getStudentCertificateSettings()“The Trusted Root and PFX certificates for Student”Optional<IosEduCertificateSettings>getTeacherCertificateSettings()“The Trusted Root and PFX certificates for Teacher”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()IosEduDeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosEduDeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosEduDeviceConfigurationwithDeviceCertificateSettings(IosEduCertificateSettings deviceCertificateSettings)Returns an immutable copy ofthiswith just thedeviceCertificateSettingsfield changed.IosEduDeviceConfigurationwithStudentCertificateSettings(IosEduCertificateSettings studentCertificateSettings)Returns an immutable copy ofthiswith just thestudentCertificateSettingsfield changed.IosEduDeviceConfigurationwithTeacherCertificateSettings(IosEduCertificateSettings teacherCertificateSettings)Returns an immutable copy ofthiswith just theteacherCertificateSettingsfield changed.IosEduDeviceConfigurationwithUnmappedField(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
-
-
-
-
Field Detail
-
deviceCertificateSettings
protected IosEduCertificateSettings deviceCertificateSettings
-
studentCertificateSettings
protected IosEduCertificateSettings studentCertificateSettings
-
teacherCertificateSettings
protected IosEduCertificateSettings teacherCertificateSettings
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderIosEduDeviceConfiguration
public static IosEduDeviceConfiguration.Builder builderIosEduDeviceConfiguration()
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
-
getDeviceCertificateSettings
public Optional<IosEduCertificateSettings> getDeviceCertificateSettings()
“The Trusted Root and PFX certificates for Device”- Returns:
- property deviceCertificateSettings
-
withDeviceCertificateSettings
public IosEduDeviceConfiguration withDeviceCertificateSettings(IosEduCertificateSettings deviceCertificateSettings)
Returns an immutable copy ofthiswith just thedeviceCertificateSettingsfield 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 Trusted Root and PFX certificates for Device”
- Parameters:
deviceCertificateSettings- new value ofdeviceCertificateSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCertificateSettingsfield changed
-
getStudentCertificateSettings
public Optional<IosEduCertificateSettings> getStudentCertificateSettings()
“The Trusted Root and PFX certificates for Student”- Returns:
- property studentCertificateSettings
-
withStudentCertificateSettings
public IosEduDeviceConfiguration withStudentCertificateSettings(IosEduCertificateSettings studentCertificateSettings)
Returns an immutable copy ofthiswith just thestudentCertificateSettingsfield 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 Trusted Root and PFX certificates for Student”
- Parameters:
studentCertificateSettings- new value ofstudentCertificateSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestudentCertificateSettingsfield changed
-
getTeacherCertificateSettings
public Optional<IosEduCertificateSettings> getTeacherCertificateSettings()
“The Trusted Root and PFX certificates for Teacher”- Returns:
- property teacherCertificateSettings
-
withTeacherCertificateSettings
public IosEduDeviceConfiguration withTeacherCertificateSettings(IosEduCertificateSettings teacherCertificateSettings)
Returns an immutable copy ofthiswith just theteacherCertificateSettingsfield 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 Trusted Root and PFX certificates for Teacher”
- Parameters:
teacherCertificateSettings- new value ofteacherCertificateSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theteacherCertificateSettingsfield changed
-
withUnmappedField
public IosEduDeviceConfiguration 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 IosEduDeviceConfiguration 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 IosEduDeviceConfiguration 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
-
-