public class MobileAppPolicySetItem extends PolicySetItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileAppPolicySetItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected InstallIntent |
intent |
protected MobileAppAssignmentSettings |
settings |
createdDateTime, displayName, errorCode, guidedDeploymentTags, guidedDeploymentTagsNextLink, itemType, lastModifiedDateTime, payloadId, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MobileAppPolicySetItem() |
| Modifier and Type | Method and Description |
|---|---|
static MobileAppPolicySetItem.Builder |
builderMobileAppPolicySetItem()
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<InstallIntent> |
getIntent()
“Install intent of the MobileAppPolicySetItem.”
|
Optional<MobileAppAssignmentSettings> |
getSettings()
“Settings of the MobileAppPolicySetItem.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
MobileAppPolicySetItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MobileAppPolicySetItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MobileAppPolicySetItem |
withIntent(InstallIntent intent)
Returns an immutable copy of
this with just the intent field
changed. |
MobileAppPolicySetItem |
withSettings(MobileAppAssignmentSettings settings)
Returns an immutable copy of
this with just the settings field
changed. |
getCreatedDateTime, getDisplayName, getErrorCode, getGuidedDeploymentTags, getItemType, getLastModifiedDateTime, getPayloadId, getStatus, withCreatedDateTime, withDisplayName, withErrorCode, withItemType, withLastModifiedDateTime, withPayloadId, withStatusprotected InstallIntent intent
protected MobileAppAssignmentSettings settings
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class PolicySetItempublic static MobileAppPolicySetItem.Builder builderMobileAppPolicySetItem()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class PolicySetItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class PolicySetItempublic Optional<InstallIntent> getIntent()
public MobileAppPolicySetItem withIntent(InstallIntent intent)
this with just the intent 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.
“Install intent of the MobileAppPolicySetItem.”
intent - new value of intent field (as defined in service metadata)this with just the intent field changedpublic Optional<MobileAppAssignmentSettings> getSettings()
public MobileAppPolicySetItem withSettings(MobileAppAssignmentSettings settings)
this with just the settings 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.
“Settings of the MobileAppPolicySetItem.”
settings - new value of settings field (as defined in service metadata)this with just the settings field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class PolicySetItempublic MobileAppPolicySetItem patch()
this with changed fields reset.patch in class PolicySetItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic MobileAppPolicySetItem put()
this
with changed fields reset (they were ignored anyway).put in class PolicySetItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class PolicySetItemCopyright © 2018–2020. All rights reserved.