public class SecurityBaselineDeviceState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityBaselineDeviceState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceDisplayName |
protected OffsetDateTime |
lastReportedDateTime |
protected String |
managedDeviceId |
protected SecurityBaselineComplianceState |
state |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SecurityBaselineDeviceState() |
| Modifier and Type | Method and Description |
|---|---|
static SecurityBaselineDeviceState.Builder |
builderSecurityBaselineDeviceState()
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<String> |
getDeviceDisplayName()
“Display name of the device”
|
Optional<OffsetDateTime> |
getLastReportedDateTime()
“Last modified date time of the policy report”
|
Optional<String> |
getManagedDeviceId()
“Intune device id”
|
Optional<SecurityBaselineComplianceState> |
getState()
“Security baseline compliance state”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserPrincipalName()
“User Principal Name”
|
String |
odataTypeName() |
SecurityBaselineDeviceState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SecurityBaselineDeviceState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SecurityBaselineDeviceState |
withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy of
this with just the deviceDisplayName
field changed. |
SecurityBaselineDeviceState |
withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy of
this with just the lastReportedDateTime field changed. |
SecurityBaselineDeviceState |
withManagedDeviceId(String managedDeviceId)
Returns an immutable copy of
this with just the managedDeviceId
field changed. |
SecurityBaselineDeviceState |
withState(SecurityBaselineComplianceState state)
Returns an immutable copy of
this with just the state field
changed. |
SecurityBaselineDeviceState |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected String managedDeviceId
protected String deviceDisplayName
protected String userPrincipalName
protected SecurityBaselineComplianceState state
protected OffsetDateTime lastReportedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SecurityBaselineDeviceState.Builder builderSecurityBaselineDeviceState()
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> getManagedDeviceId()
public SecurityBaselineDeviceState withManagedDeviceId(String managedDeviceId)
this with just the managedDeviceId
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.
“Intune device id”
managedDeviceId - new value of managedDeviceId field (as defined in service metadata)this with just the managedDeviceId field changedpublic Optional<String> getDeviceDisplayName()
public SecurityBaselineDeviceState withDeviceDisplayName(String deviceDisplayName)
this with just the deviceDisplayName
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.
“Display name of the device”
deviceDisplayName - new value of deviceDisplayName field (as defined in service metadata)this with just the deviceDisplayName field changedpublic Optional<String> getUserPrincipalName()
public SecurityBaselineDeviceState withUserPrincipalName(String userPrincipalName)
this with just the userPrincipalName
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.
“User Principal Name”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic Optional<SecurityBaselineComplianceState> getState()
public SecurityBaselineDeviceState withState(SecurityBaselineComplianceState state)
this with just the state 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.
“Security baseline compliance state”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<OffsetDateTime> getLastReportedDateTime()
public SecurityBaselineDeviceState 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.
“Last modified date time of the policy report”
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 SecurityBaselineDeviceState patch()
this with changed fields reset.public SecurityBaselineDeviceState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.