public class AdvancedThreatProtectionOnboardingDeviceSettingState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AdvancedThreatProtectionOnboardingDeviceSettingState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
complianceGracePeriodExpirationDateTime |
protected String |
deviceId |
protected String |
deviceModel |
protected String |
deviceName |
protected DeviceType |
platformType |
protected String |
setting |
protected String |
settingName |
protected ComplianceStatus |
state |
protected String |
userEmail |
protected String |
userId |
protected String |
userName |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AdvancedThreatProtectionOnboardingDeviceSettingState() |
| Modifier and Type | Method and Description |
|---|---|
static AdvancedThreatProtectionOnboardingDeviceSettingState.Builder |
builderAdvancedThreatProtectionOnboardingDeviceSettingState()
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<OffsetDateTime> |
getComplianceGracePeriodExpirationDateTime()
“The DateTime when device compliance grace period expires”
|
Optional<String> |
getDeviceId()
“The Device Id that is being reported”
|
Optional<String> |
getDeviceModel()
“The device model that is being reported”
|
Optional<String> |
getDeviceName()
“The Device Name that is being reported”
|
Optional<DeviceType> |
getPlatformType()
“Device platform type”
|
Optional<String> |
getSetting()
“The setting class name and property name.”
|
Optional<String> |
getSettingName()
“The Setting Name that is being reported”
|
Optional<ComplianceStatus> |
getState()
“The compliance state of the setting”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserEmail()
“The User email address that is being reported”
|
Optional<String> |
getUserId()
“The user Id that is being reported”
|
Optional<String> |
getUserName()
“The User Name that is being reported”
|
Optional<String> |
getUserPrincipalName()
“The User PrincipalName that is being reported”
|
String |
odataTypeName() |
AdvancedThreatProtectionOnboardingDeviceSettingState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AdvancedThreatProtectionOnboardingDeviceSettingState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Returns an immutable copy of
this with just the complianceGracePeriodExpirationDateTime field changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withDeviceModel(String deviceModel)
Returns an immutable copy of
this with just the deviceModel
field changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withPlatformType(DeviceType platformType)
Returns an immutable copy of
this with just the platformType
field changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withSetting(String setting)
Returns an immutable copy of
this with just the setting field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withSettingName(String settingName)
Returns an immutable copy of
this with just the settingName
field changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withState(ComplianceStatus state)
Returns an immutable copy of
this with just the state field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withUserEmail(String userEmail)
Returns an immutable copy of
this with just the userEmail field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
AdvancedThreatProtectionOnboardingDeviceSettingState |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected DeviceType platformType
protected String setting
protected String settingName
protected String deviceId
protected String deviceName
protected String userId
protected String userEmail
protected String userName
protected String userPrincipalName
protected String deviceModel
protected ComplianceStatus state
protected OffsetDateTime complianceGracePeriodExpirationDateTime
protected AdvancedThreatProtectionOnboardingDeviceSettingState()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AdvancedThreatProtectionOnboardingDeviceSettingState.Builder builderAdvancedThreatProtectionOnboardingDeviceSettingState()
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<DeviceType> getPlatformType()
public AdvancedThreatProtectionOnboardingDeviceSettingState withPlatformType(DeviceType platformType)
this with just the platformType
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.
“Device platform type”
platformType - new value of platformType field (as defined in service metadata)this with just the platformType field changedpublic Optional<String> getSetting()
public AdvancedThreatProtectionOnboardingDeviceSettingState withSetting(String setting)
this with just the setting 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 setting class name and property name.”
setting - new value of setting field (as defined in service metadata)this with just the setting field changedpublic Optional<String> getSettingName()
public AdvancedThreatProtectionOnboardingDeviceSettingState withSettingName(String settingName)
this with just the settingName
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 Setting Name that is being reported”
settingName - new value of settingName field (as defined in service metadata)this with just the settingName field changedpublic Optional<String> getDeviceId()
public AdvancedThreatProtectionOnboardingDeviceSettingState withDeviceId(String deviceId)
this with just the deviceId 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 Device Id that is being reported”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic Optional<String> getDeviceName()
public AdvancedThreatProtectionOnboardingDeviceSettingState withDeviceName(String deviceName)
this with just the deviceName 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 Device Name that is being reported”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic Optional<String> getUserId()
public AdvancedThreatProtectionOnboardingDeviceSettingState withUserId(String userId)
this with just the userId 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 Id that is being reported”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getUserEmail()
public AdvancedThreatProtectionOnboardingDeviceSettingState withUserEmail(String userEmail)
this with just the userEmail 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 email address that is being reported”
userEmail - new value of userEmail field (as defined in service metadata)this with just the userEmail field changedpublic Optional<String> getUserName()
public AdvancedThreatProtectionOnboardingDeviceSettingState withUserName(String userName)
this with just the userName 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 Name that is being reported”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<String> getUserPrincipalName()
public AdvancedThreatProtectionOnboardingDeviceSettingState 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.
“The User PrincipalName that is being reported”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic Optional<String> getDeviceModel()
public AdvancedThreatProtectionOnboardingDeviceSettingState withDeviceModel(String deviceModel)
this with just the deviceModel
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 device model that is being reported”
deviceModel - new value of deviceModel field (as defined in service metadata)this with just the deviceModel field changedpublic Optional<ComplianceStatus> getState()
public AdvancedThreatProtectionOnboardingDeviceSettingState withState(ComplianceStatus 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.
“The compliance state of the setting”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<OffsetDateTime> getComplianceGracePeriodExpirationDateTime()
public AdvancedThreatProtectionOnboardingDeviceSettingState withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
this with just the complianceGracePeriodExpirationDateTime 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 DateTime when device compliance grace period expires”
complianceGracePeriodExpirationDateTime - new value of complianceGracePeriodExpirationDateTime field (as defined in service metadata)this with just the complianceGracePeriodExpirationDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AdvancedThreatProtectionOnboardingDeviceSettingState patch()
this with changed fields reset.public AdvancedThreatProtectionOnboardingDeviceSettingState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.