public class DeviceManagementAutopilotPolicyStatusDetail extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementAutopilotPolicyStatusDetail.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceManagementAutopilotPolicyComplianceStatus |
complianceStatus |
protected String |
displayName |
protected OffsetDateTime |
lastReportedDateTime |
protected DeviceManagementAutopilotPolicyType |
policyType |
protected Boolean |
trackedOnEnrollmentStatus |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementAutopilotPolicyStatusDetail() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementAutopilotPolicyStatusDetail.Builder |
builderDeviceManagementAutopilotPolicyStatusDetail()
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.ChangedFields |
getChangedFields() |
Optional<DeviceManagementAutopilotPolicyComplianceStatus> |
getComplianceStatus()
“The policy compliance status.”
|
Optional<String> |
getDisplayName()
“The friendly name of the policy.”
|
Optional<OffsetDateTime> |
getLastReportedDateTime()
“Timestamp of the reported policy status”
|
Optional<DeviceManagementAutopilotPolicyType> |
getPolicyType()
“The type of policy.”
|
Optional<Boolean> |
getTrackedOnEnrollmentStatus()
“Indicates if this prolicy was tracked as part of the autopilot bootstrap
enrollment sync session”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementAutopilotPolicyStatusDetail |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementAutopilotPolicyStatusDetail |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementAutopilotPolicyStatusDetail |
withComplianceStatus(DeviceManagementAutopilotPolicyComplianceStatus complianceStatus)
Returns an immutable copy of
this with just the complianceStatus
field changed. |
DeviceManagementAutopilotPolicyStatusDetail |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementAutopilotPolicyStatusDetail |
withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy of
this with just the lastReportedDateTime field changed. |
DeviceManagementAutopilotPolicyStatusDetail |
withPolicyType(DeviceManagementAutopilotPolicyType policyType)
Returns an immutable copy of
this with just the policyType field
changed. |
DeviceManagementAutopilotPolicyStatusDetail |
withTrackedOnEnrollmentStatus(Boolean trackedOnEnrollmentStatus)
Returns an immutable copy of
this with just the trackedOnEnrollmentStatus field changed. |
protected String displayName
protected DeviceManagementAutopilotPolicyType policyType
protected DeviceManagementAutopilotPolicyComplianceStatus complianceStatus
protected Boolean trackedOnEnrollmentStatus
protected OffsetDateTime lastReportedDateTime
protected DeviceManagementAutopilotPolicyStatusDetail()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementAutopilotPolicyStatusDetail.Builder builderDeviceManagementAutopilotPolicyStatusDetail()
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 DeviceManagementAutopilotPolicyStatusDetail 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 friendly name of the policy.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<DeviceManagementAutopilotPolicyType> getPolicyType()
public DeviceManagementAutopilotPolicyStatusDetail withPolicyType(DeviceManagementAutopilotPolicyType policyType)
this with just the policyType 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 type of policy.”
policyType - new value of policyType field (as defined in service metadata)this with just the policyType field changedpublic Optional<DeviceManagementAutopilotPolicyComplianceStatus> getComplianceStatus()
public DeviceManagementAutopilotPolicyStatusDetail withComplianceStatus(DeviceManagementAutopilotPolicyComplianceStatus complianceStatus)
this with just the complianceStatus
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 policy compliance status.”
complianceStatus - new value of complianceStatus field (as defined in service metadata)this with just the complianceStatus field changedpublic Optional<Boolean> getTrackedOnEnrollmentStatus()
public DeviceManagementAutopilotPolicyStatusDetail withTrackedOnEnrollmentStatus(Boolean trackedOnEnrollmentStatus)
this with just the trackedOnEnrollmentStatus 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.
“Indicates if this prolicy was tracked as part of the autopilot bootstrap enrollment sync session”
trackedOnEnrollmentStatus - new value of trackedOnEnrollmentStatus field (as defined in service metadata)this with just the trackedOnEnrollmentStatus field changedpublic Optional<OffsetDateTime> getLastReportedDateTime()
public DeviceManagementAutopilotPolicyStatusDetail withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
this with just the lastReportedDateTime 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.
“Timestamp of the reported policy status”
lastReportedDateTime - new value of lastReportedDateTime field (as defined in service metadata)this with just the lastReportedDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementAutopilotPolicyStatusDetail patch()
this with changed fields reset.public DeviceManagementAutopilotPolicyStatusDetail put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.