public class ManagedDeviceMobileAppConfigurationState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedDeviceMobileAppConfigurationState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected PolicyPlatformType |
platformType |
protected Integer |
settingCount |
protected List<ManagedDeviceMobileAppConfigurationSettingState> |
settingStates |
protected String |
settingStatesNextLink |
protected ComplianceStatus |
state |
protected String |
userId |
protected String |
userPrincipalName |
protected Integer |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedDeviceMobileAppConfigurationState() |
| Modifier and Type | Method and Description |
|---|---|
static ManagedDeviceMobileAppConfigurationState.Builder |
builderManagedDeviceMobileAppConfigurationState()
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> |
getDisplayName()
“The name of the policy for this policyBase”
|
Optional<PolicyPlatformType> |
getPlatformType()
“Platform type that the policy applies to”
|
Optional<Integer> |
getSettingCount()
“Count of how many setting a policy holds”
|
com.github.davidmoten.odata.client.CollectionPage<ManagedDeviceMobileAppConfigurationSettingState> |
getSettingStates() |
Optional<ComplianceStatus> |
getState()
“The compliance state of the policy”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“User unique identifier, must be Guid”
|
Optional<String> |
getUserPrincipalName()
“User Principal Name”
|
Optional<Integer> |
getVersion()
“The version of the policy”
|
String |
odataTypeName() |
ManagedDeviceMobileAppConfigurationState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedDeviceMobileAppConfigurationState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagedDeviceMobileAppConfigurationState |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
ManagedDeviceMobileAppConfigurationState |
withPlatformType(PolicyPlatformType platformType)
Returns an immutable copy of
this with just the platformType
field changed. |
ManagedDeviceMobileAppConfigurationState |
withSettingCount(Integer settingCount)
Returns an immutable copy of
this with just the settingCount
field changed. |
ManagedDeviceMobileAppConfigurationState |
withState(ComplianceStatus state)
Returns an immutable copy of
this with just the state field
changed. |
ManagedDeviceMobileAppConfigurationState |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
ManagedDeviceMobileAppConfigurationState |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
ManagedDeviceMobileAppConfigurationState |
withVersion(Integer version)
Returns an immutable copy of
this with just the version field
changed. |
protected List<ManagedDeviceMobileAppConfigurationSettingState> settingStates
protected String settingStatesNextLink
protected String displayName
protected Integer version
protected PolicyPlatformType platformType
protected ComplianceStatus state
protected Integer settingCount
protected String userId
protected String userPrincipalName
protected ManagedDeviceMobileAppConfigurationState()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ManagedDeviceMobileAppConfigurationState.Builder builderManagedDeviceMobileAppConfigurationState()
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 com.github.davidmoten.odata.client.CollectionPage<ManagedDeviceMobileAppConfigurationSettingState> getSettingStates()
public Optional<String> getDisplayName()
public ManagedDeviceMobileAppConfigurationState 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 of the policy for this policyBase”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<Integer> getVersion()
public ManagedDeviceMobileAppConfigurationState withVersion(Integer version)
this with just the version 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 version of the policy”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic Optional<PolicyPlatformType> getPlatformType()
public ManagedDeviceMobileAppConfigurationState withPlatformType(PolicyPlatformType 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.
“Platform type that the policy applies to”
platformType - new value of platformType field (as defined in service metadata)this with just the platformType field changedpublic Optional<ComplianceStatus> getState()
public ManagedDeviceMobileAppConfigurationState 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 policy”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<Integer> getSettingCount()
public ManagedDeviceMobileAppConfigurationState withSettingCount(Integer settingCount)
this with just the settingCount
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.
“Count of how many setting a policy holds”
settingCount - new value of settingCount field (as defined in service metadata)this with just the settingCount field changedpublic Optional<String> getUserId()
public ManagedDeviceMobileAppConfigurationState 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.
“User unique identifier, must be Guid”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getUserPrincipalName()
public ManagedDeviceMobileAppConfigurationState 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 com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagedDeviceMobileAppConfigurationState patch()
this with changed fields reset.public ManagedDeviceMobileAppConfigurationState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.