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 List<DeviceConfigurationAssignment>assignmentsprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected List<SettingStateDeviceSummary>deviceSettingStateSummariesprotected List<DeviceConfigurationDeviceStatus>deviceStatusesprotected DeviceConfigurationDeviceOverviewdeviceStatusOverviewprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected List<DeviceConfigurationUserStatus>userStatusesprotected DeviceConfigurationUserOverviewuserStatusOverviewprotected 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()DeviceConfigurationwithAssignments(List<DeviceConfigurationAssignment> assignments)Returns an immutable copy ofthiswith just theassignmentsfield changed.DeviceConfigurationwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.DeviceConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceConfigurationwithDeviceSettingStateSummaries(List<SettingStateDeviceSummary> deviceSettingStateSummaries)Returns an immutable copy ofthiswith just thedeviceSettingStateSummariesfield changed.DeviceConfigurationwithDeviceStatuses(List<DeviceConfigurationDeviceStatus> deviceStatuses)Returns an immutable copy ofthiswith just thedeviceStatusesfield changed.DeviceConfigurationwithDeviceStatusOverview(DeviceConfigurationDeviceOverview deviceStatusOverview)Returns an immutable copy ofthiswith just thedeviceStatusOverviewfield 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, Object value)DeviceConfigurationwithUserStatuses(List<DeviceConfigurationUserStatus> userStatuses)Returns an immutable copy ofthiswith just theuserStatusesfield changed.DeviceConfigurationwithUserStatusOverview(DeviceConfigurationUserOverview userStatusOverview)Returns an immutable copy ofthiswith just theuserStatusOverviewfield changed.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
-
assignments
protected List<DeviceConfigurationAssignment> assignments
-
deviceSettingStateSummaries
protected List<SettingStateDeviceSummary> deviceSettingStateSummaries
-
deviceStatuses
protected List<DeviceConfigurationDeviceStatus> deviceStatuses
-
deviceStatusOverview
protected DeviceConfigurationDeviceOverview deviceStatusOverview
-
userStatuses
protected List<DeviceConfigurationUserStatus> userStatuses
-
userStatusOverview
protected DeviceConfigurationUserOverview userStatusOverview
-
-
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, Object 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
-
withAssignments
public DeviceConfiguration withAssignments(List<DeviceConfigurationAssignment> 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 assignments for the device configuration profile.”
- Parameters:
assignments- new value ofassignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignmentsfield changed
-
withDeviceSettingStateSummaries
public DeviceConfiguration withDeviceSettingStateSummaries(List<SettingStateDeviceSummary> deviceSettingStateSummaries)
Returns an immutable copy ofthiswith just thedeviceSettingStateSummariesfield 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.“Device Configuration Setting State Device Summary”
- Parameters:
deviceSettingStateSummaries- new value ofdeviceSettingStateSummariesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceSettingStateSummariesfield changed
-
withDeviceStatuses
public DeviceConfiguration withDeviceStatuses(List<DeviceConfigurationDeviceStatus> deviceStatuses)
Returns an immutable copy ofthiswith just thedeviceStatusesfield 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.“Device configuration installation status by device.”
- Parameters:
deviceStatuses- new value ofdeviceStatusesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceStatusesfield changed
-
withDeviceStatusOverview
public DeviceConfiguration withDeviceStatusOverview(DeviceConfigurationDeviceOverview deviceStatusOverview)
Returns an immutable copy ofthiswith just thedeviceStatusOverviewfield 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.“Device Configuration devices status overview”
- Parameters:
deviceStatusOverview- new value ofdeviceStatusOverviewfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceStatusOverviewfield changed
-
withUserStatuses
public DeviceConfiguration withUserStatuses(List<DeviceConfigurationUserStatus> userStatuses)
Returns an immutable copy ofthiswith just theuserStatusesfield 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.“Device configuration installation status by user.”
- Parameters:
userStatuses- new value ofuserStatusesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserStatusesfield changed
-
withUserStatusOverview
public DeviceConfiguration withUserStatusOverview(DeviceConfigurationUserOverview userStatusOverview)
Returns an immutable copy ofthiswith just theuserStatusOverviewfield 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.“Device Configuration users status overview”
- Parameters:
userStatusOverview- new value ofuserStatusOverviewfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserStatusOverviewfield changed
-
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)
-
-