public class DeviceCompliancePolicyScript extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceCompliancePolicyScript.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
deviceComplianceScriptId |
protected String |
odataType |
protected byte[] |
rulesContent |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceCompliancePolicyScript() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceCompliancePolicyScript.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDeviceComplianceScriptId()
“Device compliance script Id.”
|
Optional<byte[]> |
getRulesContent()
“Json of the rules.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceCompliancePolicyScript |
withDeviceComplianceScriptId(String deviceComplianceScriptId)
Returns an immutable copy of
this with just the deviceComplianceScriptId field changed. |
DeviceCompliancePolicyScript |
withRulesContent(byte[] rulesContent)
Returns an immutable copy of
this with just the rulesContent
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String deviceComplianceScriptId
protected byte[] rulesContent
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDeviceComplianceScriptId()
public DeviceCompliancePolicyScript withDeviceComplianceScriptId(String deviceComplianceScriptId)
this with just the deviceComplianceScriptId 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 compliance script Id.”
deviceComplianceScriptId - new value of deviceComplianceScriptId field (as defined in service metadata)this with just the deviceComplianceScriptId field changedpublic Optional<byte[]> getRulesContent()
public DeviceCompliancePolicyScript withRulesContent(byte[] rulesContent)
this with just the rulesContent
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.
“Json of the rules.”
rulesContent - new value of rulesContent field (as defined in service metadata)this with just the rulesContent field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceCompliancePolicyScript.Builder builder()
Copyright © 2018–2020. All rights reserved.