public class ManagedAppPolicy extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedAppPolicy() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The date and time the policy was created.”
|
Optional<String> |
getDescription()
“The policy's description.”
|
Optional<String> |
getDisplayName()
“Policy display name.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Last time the policy was modified.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“Version of the entity.”
|
String |
odataTypeName() |
ManagedAppPolicy |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedAppPolicy |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
targetApps(List<ManagedMobileApp> apps) |
String |
toString() |
ManagedAppPolicy |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ManagedAppPolicy |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
ManagedAppPolicy |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
ManagedAppPolicy |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
ManagedAppPolicy |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected String displayName
protected String description
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String roleScopeTagIdsNextLink
protected String version
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic 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> getDisplayName()
public ManagedAppPolicy 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.
“Policy display name.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public ManagedAppPolicy withDescription(String description)
this with just the description
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 policy's description.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public ManagedAppPolicy withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
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 date and time the policy was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public ManagedAppPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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.
“Last time the policy was modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public ManagedAppPolicy withVersion(String 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.
“Version of the entity.”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagedAppPolicy patch()
this with changed fields reset.public ManagedAppPolicy put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn targetApps(List<ManagedMobileApp> apps)
Copyright © 2018–2020. All rights reserved.