public class DeviceComplianceActionItem extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceComplianceActionItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceComplianceActionType |
actionType |
protected Integer |
gracePeriodHours |
protected List<String> |
notificationMessageCCList |
protected String |
notificationMessageCCListNextLink |
protected String |
notificationTemplateId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceComplianceActionItem() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceComplianceActionItem.Builder |
builderDeviceComplianceActionItem()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DeviceComplianceActionType> |
getActionType()
“What action to take”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Integer> |
getGracePeriodHours()
“Number of hours to wait till the action will be enforced.
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getNotificationMessageCCList()
“A list of group IDs to speicify who to CC this notification message to.”
|
Optional<String> |
getNotificationTemplateId()
“What notification Message template to use”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceComplianceActionItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceComplianceActionItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceComplianceActionItem |
withActionType(DeviceComplianceActionType actionType)
Returns an immutable copy of
this with just the actionType field
changed. |
DeviceComplianceActionItem |
withGracePeriodHours(Integer gracePeriodHours)
Returns an immutable copy of
this with just the gracePeriodHours
field changed. |
DeviceComplianceActionItem |
withNotificationTemplateId(String notificationTemplateId)
Returns an immutable copy of
this with just the notificationTemplateId field changed. |
protected Integer gracePeriodHours
protected DeviceComplianceActionType actionType
protected String notificationTemplateId
protected String notificationMessageCCListNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceComplianceActionItem.Builder builderDeviceComplianceActionItem()
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<Integer> getGracePeriodHours()
public DeviceComplianceActionItem withGracePeriodHours(Integer gracePeriodHours)
this with just the gracePeriodHours
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.
“Number of hours to wait till the action will be enforced. Valid values 0 to 8760”
gracePeriodHours - new value of gracePeriodHours field (as defined in service metadata)this with just the gracePeriodHours field changedpublic Optional<DeviceComplianceActionType> getActionType()
public DeviceComplianceActionItem withActionType(DeviceComplianceActionType actionType)
this with just the actionType 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.
“What action to take”
actionType - new value of actionType field (as defined in service metadata)this with just the actionType field changedpublic Optional<String> getNotificationTemplateId()
public DeviceComplianceActionItem withNotificationTemplateId(String notificationTemplateId)
this with just the notificationTemplateId 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.
“What notification Message template to use”
notificationTemplateId - new value of notificationTemplateId field (as defined in service metadata)this with just the notificationTemplateId field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getNotificationMessageCCList()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceComplianceActionItem patch()
this with changed fields reset.public DeviceComplianceActionItem put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.