public class RestrictedAppsViolation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
RestrictedAppsViolation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceConfigurationId |
protected String |
deviceConfigurationName |
protected String |
deviceName |
protected String |
managedDeviceId |
protected PolicyPlatformType |
platformType |
protected List<ManagedDeviceReportedApp> |
restrictedApps |
protected String |
restrictedAppsNextLink |
protected RestrictedAppsState |
restrictedAppsState |
protected String |
userId |
protected String |
userName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
RestrictedAppsViolation() |
| Modifier and Type | Method and Description |
|---|---|
static RestrictedAppsViolation.Builder |
builderRestrictedAppsViolation()
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> |
getDeviceConfigurationId()
“Device configuration profile unique identifier, must be Guid”
|
Optional<String> |
getDeviceConfigurationName()
“Device configuration profile name”
|
Optional<String> |
getDeviceName()
“Device name”
|
Optional<String> |
getManagedDeviceId()
“Managed device unique identifier, must be Guid”
|
Optional<PolicyPlatformType> |
getPlatformType()
“Platform type”
|
com.github.davidmoten.odata.client.CollectionPage<ManagedDeviceReportedApp> |
getRestrictedApps()
“List of violated restricted apps”
|
com.github.davidmoten.odata.client.CollectionPage<ManagedDeviceReportedApp> |
getRestrictedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of violated restricted apps”
|
Optional<RestrictedAppsState> |
getRestrictedAppsState()
“Restricted apps state”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“User unique identifier, must be Guid”
|
Optional<String> |
getUserName()
“User name”
|
String |
odataTypeName() |
RestrictedAppsViolation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
RestrictedAppsViolation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
RestrictedAppsViolation |
withDeviceConfigurationId(String deviceConfigurationId)
Returns an immutable copy of
this with just the deviceConfigurationId field changed. |
RestrictedAppsViolation |
withDeviceConfigurationName(String deviceConfigurationName)
Returns an immutable copy of
this with just the deviceConfigurationName field changed. |
RestrictedAppsViolation |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
RestrictedAppsViolation |
withManagedDeviceId(String managedDeviceId)
Returns an immutable copy of
this with just the managedDeviceId
field changed. |
RestrictedAppsViolation |
withPlatformType(PolicyPlatformType platformType)
Returns an immutable copy of
this with just the platformType
field changed. |
RestrictedAppsViolation |
withRestrictedAppsState(RestrictedAppsState restrictedAppsState)
Returns an immutable copy of
this with just the restrictedAppsState field changed. |
RestrictedAppsViolation |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
RestrictedAppsViolation |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
protected String userId
protected String userName
protected String managedDeviceId
protected String deviceName
protected String deviceConfigurationId
protected String deviceConfigurationName
protected PolicyPlatformType platformType
protected RestrictedAppsState restrictedAppsState
protected List<ManagedDeviceReportedApp> restrictedApps
protected String restrictedAppsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static RestrictedAppsViolation.Builder builderRestrictedAppsViolation()
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> getUserId()
public RestrictedAppsViolation 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 RestrictedAppsViolation 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.
“User name”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<String> getManagedDeviceId()
public RestrictedAppsViolation 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.
“Managed device unique identifier, must be Guid”
managedDeviceId - new value of managedDeviceId field (as defined in service metadata)this with just the managedDeviceId field changedpublic RestrictedAppsViolation 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.
“Device name”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic Optional<String> getDeviceConfigurationId()
public RestrictedAppsViolation withDeviceConfigurationId(String deviceConfigurationId)
this with just the deviceConfigurationId 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 configuration profile unique identifier, must be Guid”
deviceConfigurationId - new value of deviceConfigurationId field (as defined in service metadata)this with just the deviceConfigurationId field changedpublic Optional<String> getDeviceConfigurationName()
public RestrictedAppsViolation withDeviceConfigurationName(String deviceConfigurationName)
this with just the deviceConfigurationName 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 configuration profile name”
deviceConfigurationName - new value of deviceConfigurationName field (as defined in service metadata)this with just the deviceConfigurationName field changedpublic Optional<PolicyPlatformType> getPlatformType()
public RestrictedAppsViolation 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”
platformType - new value of platformType field (as defined in service metadata)this with just the platformType field changedpublic Optional<RestrictedAppsState> getRestrictedAppsState()
public RestrictedAppsViolation withRestrictedAppsState(RestrictedAppsState restrictedAppsState)
this with just the restrictedAppsState 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.
“Restricted apps state”
restrictedAppsState - new value of restrictedAppsState field (as defined in service metadata)this with just the restrictedAppsState field changedpublic com.github.davidmoten.odata.client.CollectionPage<ManagedDeviceReportedApp> getRestrictedApps()
public com.github.davidmoten.odata.client.CollectionPage<ManagedDeviceReportedApp> getRestrictedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic RestrictedAppsViolation patch()
this with changed fields reset.public RestrictedAppsViolation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.