Package odata.msgraph.client.entity
Class DeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidCustomConfiguration,AndroidGeneralDeviceConfiguration,AndroidWorkProfileCustomConfiguration,AndroidWorkProfileGeneralDeviceConfiguration,AppleDeviceFeaturesConfigurationBase,EditionUpgradeConfiguration,IosCertificateProfile,IosCustomConfiguration,IosGeneralDeviceConfiguration,IosUpdateConfiguration,MacOSCustomConfiguration,MacOSGeneralDeviceConfiguration,SharedPCConfiguration,Windows10CustomConfiguration,Windows10EndpointProtectionConfiguration,Windows10EnterpriseModernAppManagementConfiguration,Windows10GeneralConfiguration,Windows10SecureAssessmentConfiguration,Windows10TeamGeneralConfiguration,Windows81GeneralConfiguration,WindowsDefenderAdvancedThreatProtectionConfiguration,WindowsPhone81CustomConfiguration,WindowsPhone81GeneralConfiguration,WindowsUpdateForBusinessConfiguration
public class DeviceConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Device Configuration.”
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected Integerversion-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceConfigurationAssignment>assign(List<DeviceConfigurationAssignment> assignments)DeviceConfigurationAssignmentCollectionRequestgetAssignments()“The list of assignments for the device configuration profile.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“DateTime the object was created.”Optional<String>getDescription()“Admin provided description of the Device Configuration.”SettingStateDeviceSummaryCollectionRequestgetDeviceSettingStateSummaries()“Device Configuration Setting State Device Summary”DeviceConfigurationDeviceStatusCollectionRequestgetDeviceStatuses()“Device configuration installation status by device.”DeviceConfigurationDeviceOverviewRequestgetDeviceStatusOverview()“Device Configuration devices status overview”Optional<String>getDisplayName()“Admin provided name of the device configuration.”Optional<OffsetDateTime>getLastModifiedDateTime()“DateTime the object was last modified.”com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String>getOmaSettingPlainTextValue(String secretReferenceValueId)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()DeviceConfigurationUserStatusCollectionRequestgetUserStatuses()“Device configuration installation status by user.”DeviceConfigurationUserOverviewRequestgetUserStatusOverview()“Device Configuration users status overview”Optional<Integer>getVersion()“Version of the device configuration.”StringodataTypeName()DeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceConfigurationwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.DeviceConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceConfigurationwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceConfigurationwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DeviceConfigurationwithUnmappedField(String name, String value)DeviceConfigurationwithVersion(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
-
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()
“DateTime the object was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public DeviceConfiguration 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.“DateTime the object was created.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“Admin provided description of the Device Configuration.”- Returns:
- property description
-
withDescription
public DeviceConfiguration 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.“Admin provided description of the Device Configuration.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Admin provided name of the device configuration.”- Returns:
- property displayName
-
withDisplayName
public DeviceConfiguration 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.“Admin provided name of the device configuration.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“DateTime the object was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DeviceConfiguration 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.“DateTime the object was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getVersion
public Optional<Integer> getVersion()
“Version of the device configuration.”- Returns:
- property version
-
withVersion
public DeviceConfiguration 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.“Version of the device configuration.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public DeviceConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public DeviceConfigurationAssignmentCollectionRequest getAssignments()
“The list of assignments for the device configuration profile.”- Returns:
- navigational property assignments
-
getDeviceSettingStateSummaries
public SettingStateDeviceSummaryCollectionRequest getDeviceSettingStateSummaries()
“Device Configuration Setting State Device Summary”- Returns:
- navigational property deviceSettingStateSummaries
-
getDeviceStatuses
public DeviceConfigurationDeviceStatusCollectionRequest getDeviceStatuses()
“Device configuration installation status by device.”- Returns:
- navigational property deviceStatuses
-
getDeviceStatusOverview
public DeviceConfigurationDeviceOverviewRequest getDeviceStatusOverview()
“Device Configuration devices status overview”- Returns:
- navigational property deviceStatusOverview
-
getUserStatuses
public DeviceConfigurationUserStatusCollectionRequest getUserStatuses()
“Device configuration installation status by user.”- Returns:
- navigational property userStatuses
-
getUserStatusOverview
public DeviceConfigurationUserOverviewRequest getUserStatusOverview()
“Device Configuration users status overview”- Returns:
- navigational property userStatusOverview
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceConfiguration 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.CollectionPageNonEntityRequest<DeviceConfigurationAssignment> assign(List<DeviceConfigurationAssignment> assignments)
-
getOmaSettingPlainTextValue
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> getOmaSettingPlainTextValue(String secretReferenceValueId)
-
-