Package odata.msgraph.client.beta.entity
Class DeviceEnrollmentConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceEnrollmentConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceComanagementAuthorityConfiguration,DeviceEnrollmentLimitConfiguration,DeviceEnrollmentPlatformRestrictionConfiguration,DeviceEnrollmentPlatformRestrictionsConfiguration,DeviceEnrollmentWindowsHelloForBusinessConfiguration,Windows10EnrollmentCompletionPageConfiguration
public class DeviceEnrollmentConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The Base Class of Device Enrollment Configuration”
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected DeviceEnrollmentConfigurationTypedeviceEnrollmentConfigurationTypeprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected Integerpriorityprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected Integerversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceEnrollmentConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<EnrollmentConfigurationAssignment> enrollmentConfigurationAssignments)EnrollmentConfigurationAssignmentCollectionRequestgetAssignments()“The list of group assignments for the device configuration profile”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“Created date time in UTC of the device enrollment configuration”Optional<String>getDescription()“The description of the device enrollment configuration”Optional<DeviceEnrollmentConfigurationType>getDeviceEnrollmentConfigurationType()“Support for Enrollment Configuration Type”Optional<String>getDisplayName()“The display name of the device enrollment configuration”Optional<OffsetDateTime>getLastModifiedDateTime()“Last modified date time in UTC of the device enrollment configuration”Optional<Integer>getPriority()“Priority is used when a user exists in multiple groups that are assigned enrollment configuration.com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“Optional role scope tags for the enrollment restrictions.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“Optional role scope tags for the enrollment restrictions.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getVersion()“The version of the device enrollment configuration”StringodataTypeName()DeviceEnrollmentConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceEnrollmentConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnsetPriority(Integer priority)StringtoString()DeviceEnrollmentConfigurationwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.DeviceEnrollmentConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceEnrollmentConfigurationwithDeviceEnrollmentConfigurationType(DeviceEnrollmentConfigurationType deviceEnrollmentConfigurationType)Returns an immutable copy ofthiswith just thedeviceEnrollmentConfigurationTypefield changed.DeviceEnrollmentConfigurationwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceEnrollmentConfigurationwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DeviceEnrollmentConfigurationwithPriority(Integer priority)Returns an immutable copy ofthiswith just thepriorityfield changed.DeviceEnrollmentConfigurationwithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.DeviceEnrollmentConfigurationwithUnmappedField(String name, String value)DeviceEnrollmentConfigurationwithVersion(Integer version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
deviceEnrollmentConfigurationType
protected DeviceEnrollmentConfigurationType deviceEnrollmentConfigurationType
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
priority
protected Integer priority
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
version
protected Integer version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“Created date time in UTC of the device enrollment configuration”- Returns:
- property createdDateTime
-
withCreatedDateTime
public DeviceEnrollmentConfiguration withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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.“Created date time in UTC of the device enrollment configuration”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“The description of the device enrollment configuration”- Returns:
- property description
-
withDescription
public DeviceEnrollmentConfiguration withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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 description of the device enrollment configuration”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDeviceEnrollmentConfigurationType
public Optional<DeviceEnrollmentConfigurationType> getDeviceEnrollmentConfigurationType()
“Support for Enrollment Configuration Type”- Returns:
- property deviceEnrollmentConfigurationType
-
withDeviceEnrollmentConfigurationType
public DeviceEnrollmentConfiguration withDeviceEnrollmentConfigurationType(DeviceEnrollmentConfigurationType deviceEnrollmentConfigurationType)
Returns an immutable copy ofthiswith just thedeviceEnrollmentConfigurationTypefield 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.“Support for Enrollment Configuration Type”
- Parameters:
deviceEnrollmentConfigurationType- new value ofdeviceEnrollmentConfigurationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceEnrollmentConfigurationTypefield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The display name of the device enrollment configuration”- Returns:
- property displayName
-
withDisplayName
public DeviceEnrollmentConfiguration withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 display name of the device enrollment configuration”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“Last modified date time in UTC of the device enrollment configuration”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DeviceEnrollmentConfiguration withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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.“Last modified date time in UTC of the device enrollment configuration”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getPriority
public Optional<Integer> getPriority()
“Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value.”- Returns:
- property priority
-
withPriority
public DeviceEnrollmentConfiguration withPriority(Integer priority)
Returns an immutable copy ofthiswith just thepriorityfield 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.“Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value.”
- Parameters:
priority- new value ofpriorityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepriorityfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“Optional role scope tags for the enrollment restrictions.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public DeviceEnrollmentConfiguration withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“Optional role scope tags for the enrollment restrictions.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Optional role scope tags for the enrollment restrictions.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getVersion
public Optional<Integer> getVersion()
“The version of the device enrollment configuration”- Returns:
- property version
-
withVersion
public DeviceEnrollmentConfiguration withVersion(Integer version)
Returns an immutable copy ofthiswith just theversionfield 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 device enrollment configuration”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public DeviceEnrollmentConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public EnrollmentConfigurationAssignmentCollectionRequest getAssignments()
“The list of group assignments for the device configuration profile”- Returns:
- navigational property assignments
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceEnrollmentConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceEnrollmentConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<EnrollmentConfigurationAssignment> enrollmentConfigurationAssignments)
-
setPriority
public com.github.davidmoten.odata.client.ActionRequestNoReturn setPriority(Integer priority)
-
-