Package odata.msgraph.client.entity
Class DeviceEnrollmentConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceEnrollmentConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceEnrollmentLimitConfiguration,DeviceEnrollmentPlatformRestrictionsConfiguration,DeviceEnrollmentWindowsHelloForBusinessConfiguration
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 List<EnrollmentConfigurationAssignment>assignmentsprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected Integerpriorityprotected Integerversion-
Fields inherited from class odata.msgraph.client.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<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.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()DeviceEnrollmentConfigurationwithAssignments(List<EnrollmentConfigurationAssignment> assignments)Returns an immutable copy ofthiswith just theassignmentsfield changed.DeviceEnrollmentConfigurationwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.DeviceEnrollmentConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield 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.DeviceEnrollmentConfigurationwithUnmappedField(String name, Object value)DeviceEnrollmentConfigurationwithVersion(Integer version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
priority
protected Integer priority
-
version
protected Integer version
-
assignments
protected List<EnrollmentConfigurationAssignment> assignments
-
-
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
-
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
-
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, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public EnrollmentConfigurationAssignmentCollectionRequest getAssignments()
“The list of group assignments for the device configuration profile”- Returns:
- navigational property assignments
-
withAssignments
public DeviceEnrollmentConfiguration withAssignments(List<EnrollmentConfigurationAssignment> assignments)
Returns an immutable copy ofthiswith just theassignmentsfield 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 group assignments for the device configuration profile”
- Parameters:
assignments- new value ofassignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignmentsfield changed
-
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)
-
-