public class DeviceAppManagementTask extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceAppManagementTask.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
assignedTo |
protected DeviceAppManagementTaskCategory |
category |
protected OffsetDateTime |
createdDateTime |
protected String |
creator |
protected String |
creatorNotes |
protected String |
description |
protected String |
displayName |
protected OffsetDateTime |
dueDateTime |
protected DeviceAppManagementTaskPriority |
priority |
protected DeviceAppManagementTaskStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceAppManagementTask() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceAppManagementTask.Builder |
builderDeviceAppManagementTask()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAssignedTo()
“The name or email of the admin this task is assigned to.”
|
Optional<DeviceAppManagementTaskCategory> |
getCategory()
“The category.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The created date.”
|
Optional<String> |
getCreator()
“The email address of the creator.”
|
Optional<String> |
getCreatorNotes()
“Notes from the creator.”
|
Optional<String> |
getDescription()
“The description.”
|
Optional<String> |
getDisplayName()
“The name.”
|
Optional<OffsetDateTime> |
getDueDateTime()
“The due date.”
|
Optional<DeviceAppManagementTaskPriority> |
getPriority()
“The priority.”
|
Optional<DeviceAppManagementTaskStatus> |
getStatus()
“The status.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceAppManagementTask |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceAppManagementTask |
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 |
updateStatus(DeviceAppManagementTaskStatus status,
String note) |
DeviceAppManagementTask |
withAssignedTo(String assignedTo)
Returns an immutable copy of
this with just the assignedTo field
changed. |
DeviceAppManagementTask |
withCategory(DeviceAppManagementTaskCategory category)
Returns an immutable copy of
this with just the category field
changed. |
DeviceAppManagementTask |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
DeviceAppManagementTask |
withCreator(String creator)
Returns an immutable copy of
this with just the creator field
changed. |
DeviceAppManagementTask |
withCreatorNotes(String creatorNotes)
Returns an immutable copy of
this with just the creatorNotes
field changed. |
DeviceAppManagementTask |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceAppManagementTask |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceAppManagementTask |
withDueDateTime(OffsetDateTime dueDateTime)
Returns an immutable copy of
this with just the dueDateTime
field changed. |
DeviceAppManagementTask |
withPriority(DeviceAppManagementTaskPriority priority)
Returns an immutable copy of
this with just the priority field
changed. |
DeviceAppManagementTask |
withStatus(DeviceAppManagementTaskStatus status)
Returns an immutable copy of
this with just the status field
changed. |
protected String displayName
protected String description
protected OffsetDateTime createdDateTime
protected OffsetDateTime dueDateTime
protected DeviceAppManagementTaskCategory category
protected DeviceAppManagementTaskPriority priority
protected String creator
protected String creatorNotes
protected String assignedTo
protected DeviceAppManagementTaskStatus status
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceAppManagementTask.Builder builderDeviceAppManagementTask()
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 DeviceAppManagementTask 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 name.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public DeviceAppManagementTask 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 description.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public DeviceAppManagementTask withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
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 created date.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getDueDateTime()
public DeviceAppManagementTask withDueDateTime(OffsetDateTime dueDateTime)
this with just the dueDateTime
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 due date.”
dueDateTime - new value of dueDateTime field (as defined in service metadata)this with just the dueDateTime field changedpublic Optional<DeviceAppManagementTaskCategory> getCategory()
public DeviceAppManagementTask withCategory(DeviceAppManagementTaskCategory category)
this with just the category 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 category.”
category - new value of category field (as defined in service metadata)this with just the category field changedpublic Optional<DeviceAppManagementTaskPriority> getPriority()
public DeviceAppManagementTask withPriority(DeviceAppManagementTaskPriority priority)
this with just the priority 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 priority.”
priority - new value of priority field (as defined in service metadata)this with just the priority field changedpublic Optional<String> getCreator()
public DeviceAppManagementTask withCreator(String creator)
this with just the creator 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 email address of the creator.”
creator - new value of creator field (as defined in service metadata)this with just the creator field changedpublic Optional<String> getCreatorNotes()
public DeviceAppManagementTask withCreatorNotes(String creatorNotes)
this with just the creatorNotes
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.
“Notes from the creator.”
creatorNotes - new value of creatorNotes field (as defined in service metadata)this with just the creatorNotes field changedpublic Optional<String> getAssignedTo()
public DeviceAppManagementTask withAssignedTo(String assignedTo)
this with just the assignedTo 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 name or email of the admin this task is assigned to.”
assignedTo - new value of assignedTo field (as defined in service metadata)this with just the assignedTo field changedpublic Optional<DeviceAppManagementTaskStatus> getStatus()
public DeviceAppManagementTask withStatus(DeviceAppManagementTaskStatus status)
this with just the status 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 status.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceAppManagementTask patch()
this with changed fields reset.public DeviceAppManagementTask put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn updateStatus(DeviceAppManagementTaskStatus status, String note)
Copyright © 2018–2020. All rights reserved.