Package odata.msgraph.client.beta.entity
Class UnsupportedDeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.UnsupportedDeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnsupportedDeviceConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“UnsupportedDeviceConfiguration is used when an entity cannot be mapped to another model-compliant subtype of deviceConfiguration.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnsupportedDeviceConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<UnsupportedDeviceConfigurationDetail>detailsprotected StringdetailsNextLinkprotected StringoriginalEntityTypeName-
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 protectedUnsupportedDeviceConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnsupportedDeviceConfiguration.BuilderbuilderUnsupportedDeviceConfiguration()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()com.github.davidmoten.odata.client.CollectionPage<UnsupportedDeviceConfigurationDetail>getDetails()“Details describing why the entity is unsupported.com.github.davidmoten.odata.client.CollectionPage<UnsupportedDeviceConfigurationDetail>getDetails(com.github.davidmoten.odata.client.HttpRequestOptions options)“Details describing why the entity is unsupported.Optional<String>getOriginalEntityTypeName()“The type of entity that would be returned otherwise.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UnsupportedDeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UnsupportedDeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UnsupportedDeviceConfigurationwithDetails(List<UnsupportedDeviceConfigurationDetail> details)Returns an immutable copy ofthiswith just thedetailsfield changed.UnsupportedDeviceConfigurationwithOriginalEntityTypeName(String originalEntityTypeName)Returns an immutable copy ofthiswith just theoriginalEntityTypeNamefield changed.UnsupportedDeviceConfigurationwithUnmappedField(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
-
details
protected List<UnsupportedDeviceConfigurationDetail> details
-
detailsNextLink
protected String detailsNextLink
-
originalEntityTypeName
protected String originalEntityTypeName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderUnsupportedDeviceConfiguration
public static UnsupportedDeviceConfiguration.Builder builderUnsupportedDeviceConfiguration()
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
-
getDetails
public com.github.davidmoten.odata.client.CollectionPage<UnsupportedDeviceConfigurationDetail> getDetails()
“Details describing why the entity is unsupported. This collection can contain a maximum of 1000 elements.”- Returns:
- property details
-
withDetails
public UnsupportedDeviceConfiguration withDetails(List<UnsupportedDeviceConfigurationDetail> details)
Returns an immutable copy ofthiswith just thedetailsfield 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.“Details describing why the entity is unsupported. This collection can contain a maximum of 1000 elements.”
- Parameters:
details- new value ofdetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetailsfield changed
-
getDetails
public com.github.davidmoten.odata.client.CollectionPage<UnsupportedDeviceConfigurationDetail> getDetails(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Details describing why the entity is unsupported. This collection can contain a maximum of 1000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property details
-
getOriginalEntityTypeName
public Optional<String> getOriginalEntityTypeName()
“The type of entity that would be returned otherwise.”- Returns:
- property originalEntityTypeName
-
withOriginalEntityTypeName
public UnsupportedDeviceConfiguration withOriginalEntityTypeName(String originalEntityTypeName)
Returns an immutable copy ofthiswith just theoriginalEntityTypeNamefield 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 type of entity that would be returned otherwise.”
- Parameters:
originalEntityTypeName- new value oforiginalEntityTypeNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoriginalEntityTypeNamefield changed
-
withUnmappedField
public UnsupportedDeviceConfiguration 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 UnsupportedDeviceConfiguration 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 UnsupportedDeviceConfiguration 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
-
-