public class ManagementCondition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected List<DevicePlatformType> |
applicablePlatforms |
protected String |
applicablePlatformsNextLink |
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected String |
eTag |
protected OffsetDateTime |
modifiedDateTime |
protected String |
uniqueName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagementCondition() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> |
getApplicablePlatforms()
“The applicable platforms for this management condition.”
|
com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> |
getApplicablePlatforms(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The applicable platforms for this management condition.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The time the management condition was created.
|
Optional<String> |
getDescription()
“The admin defined description of the management condition.”
|
Optional<String> |
getDisplayName()
“The admin defined name of the management condition.”
|
Optional<String> |
getETag()
“ETag of the management condition.
|
ManagementConditionStatementCollectionRequest |
getManagementConditionStatements()
“The management condition statements associated to the management condition.”
|
Optional<OffsetDateTime> |
getModifiedDateTime()
“The time the management condition was last modified.
|
Optional<String> |
getUniqueName()
“Unique name for the management condition.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ManagementCondition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagementCondition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagementCondition |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ManagementCondition |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
ManagementCondition |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
ManagementCondition |
withETag(String eTag)
Returns an immutable copy of
this with just the eTag field
changed. |
ManagementCondition |
withModifiedDateTime(OffsetDateTime modifiedDateTime)
Returns an immutable copy of
this with just the modifiedDateTime
field changed. |
ManagementCondition |
withUniqueName(String uniqueName)
Returns an immutable copy of
this with just the uniqueName field
changed. |
protected String uniqueName
protected String displayName
protected String description
protected OffsetDateTime createdDateTime
protected OffsetDateTime modifiedDateTime
protected String eTag
protected List<DevicePlatformType> applicablePlatforms
protected String applicablePlatformsNextLink
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> getUniqueName()
public ManagementCondition withUniqueName(String uniqueName)
this with just the uniqueName 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.
“Unique name for the management condition. Used in management condition expressions.”
uniqueName - new value of uniqueName field (as defined in service metadata)this with just the uniqueName field changedpublic Optional<String> getDisplayName()
public ManagementCondition 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 admin defined name of the management condition.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public ManagementCondition 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 admin defined description of the management condition.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public ManagementCondition 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 time the management condition was created. Generated service side.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getModifiedDateTime()
public ManagementCondition withModifiedDateTime(OffsetDateTime modifiedDateTime)
this with just the modifiedDateTime
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 time the management condition was last modified. Updated service side.”
modifiedDateTime - new value of modifiedDateTime field (as defined in service metadata)this with just the modifiedDateTime field changedpublic Optional<String> getETag()
public ManagementCondition withETag(String eTag)
this with just the eTag 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.
“ETag of the management condition. Updated service side.”
eTag - new value of eTag field (as defined in service metadata)this with just the eTag field changedpublic com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> getApplicablePlatforms()
public com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> getApplicablePlatforms(com.github.davidmoten.odata.client.HttpRequestOptions options)
public ManagementConditionStatementCollectionRequest getManagementConditionStatements()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagementCondition patch()
this with changed fields reset.public ManagementCondition put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.