public class DeviceManagementIntent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementIntent.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected Boolean |
isAssigned |
protected OffsetDateTime |
lastModifiedDateTime |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected String |
templateId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementIntent() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
assign(List<DeviceManagementIntentAssignment> assignments) |
static DeviceManagementIntent.Builder |
builderDeviceManagementIntent()
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.CollectionPageNonEntityRequest<DeviceManagementSettingComparison> |
compare(String templateId) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<DeviceManagementIntent> |
createCopy(String displayName) |
DeviceManagementIntentAssignmentCollectionRequest |
getAssignments()
“Collection of assignments”
|
DeviceManagementIntentSettingCategoryCollectionRequest |
getCategories()
“Collection of setting categories within the intent”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDescription()
“The user given description”
|
DeviceManagementIntentDeviceSettingStateSummaryCollectionRequest |
getDeviceSettingStateSummaries()
“Collection of settings and their states and counts of devices that belong to
corresponding state for all settings within the intent”
|
DeviceManagementIntentDeviceStateCollectionRequest |
getDeviceStates()
“Collection of states of all devices that the intent is applied to”
|
DeviceManagementIntentDeviceStateSummaryRequest |
getDeviceStateSummary()
“A summary of device states and counts of devices that belong to corresponding
state for all devices that the intent is applied to”
|
Optional<String> |
getDisplayName()
“The user given display name”
|
Optional<Boolean> |
getIsAssigned()
“Signifies whether or not the intent is assigned to users”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“When the intent was last modified”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”
|
DeviceManagementSettingInstanceCollectionRequest |
getSettings()
“Collection of all settings to be applied”
|
Optional<String> |
getTemplateId()
“The ID of the template this intent was created from (if any)”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
DeviceManagementIntentUserStateCollectionRequest |
getUserStates()
“Collection of states of all users that the intent is applied to”
|
DeviceManagementIntentUserStateSummaryRequest |
getUserStateSummary()
“A summary of user states and counts of users that belong to corresponding state
for all users that the intent is applied to”
|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
migrateToTemplate(String newTemplateId,
Boolean preserveCustomValues) |
String |
odataTypeName() |
DeviceManagementIntent |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementIntent |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
updateSettings(List<DeviceManagementSettingInstance> settings) |
DeviceManagementIntent |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceManagementIntent |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementIntent |
withIsAssigned(Boolean isAssigned)
Returns an immutable copy of
this with just the isAssigned field
changed. |
DeviceManagementIntent |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
DeviceManagementIntent |
withTemplateId(String templateId)
Returns an immutable copy of
this with just the templateId field
changed. |
protected String displayName
protected String description
protected Boolean isAssigned
protected OffsetDateTime lastModifiedDateTime
protected String templateId
protected String roleScopeTagIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementIntent.Builder builderDeviceManagementIntent()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public DeviceManagementIntent withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The user given display name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public DeviceManagementIntent withDescription(String description)
this with just the description
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The user given description”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<Boolean> getIsAssigned()
public DeviceManagementIntent withIsAssigned(Boolean isAssigned)
this with just the isAssigned field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Signifies whether or not the intent is assigned to users”
isAssigned - new value of isAssigned field (as defined in service metadata)this with just the isAssigned field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public DeviceManagementIntent withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“When the intent was last modified”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getTemplateId()
public DeviceManagementIntent withTemplateId(String templateId)
this with just the templateId field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The ID of the template this intent was created from (if any)”
templateId - new value of templateId field (as defined in service metadata)this with just the templateId field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public DeviceManagementSettingInstanceCollectionRequest getSettings()
public DeviceManagementIntentSettingCategoryCollectionRequest getCategories()
public DeviceManagementIntentAssignmentCollectionRequest getAssignments()
public DeviceManagementIntentDeviceSettingStateSummaryCollectionRequest getDeviceSettingStateSummaries()
public DeviceManagementIntentDeviceStateCollectionRequest getDeviceStates()
public DeviceManagementIntentUserStateCollectionRequest getUserStates()
public DeviceManagementIntentDeviceStateSummaryRequest getDeviceStateSummary()
public DeviceManagementIntentUserStateSummaryRequest getUserStateSummary()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementIntent patch()
this with changed fields reset.public DeviceManagementIntent put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn updateSettings(List<DeviceManagementSettingInstance> settings)
public com.github.davidmoten.odata.client.ActionRequestNoReturn migrateToTemplate(String newTemplateId, Boolean preserveCustomValues)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<DeviceManagementIntent> createCopy(String displayName)
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<DeviceManagementIntentAssignment> assignments)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceManagementSettingComparison> compare(String templateId)
Copyright © 2018–2020. All rights reserved.