public class ManagementConditionStatement extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagementConditionStatement.Builder |
| 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 ManagementConditionExpression |
expression |
protected OffsetDateTime |
modifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagementConditionStatement() |
| Modifier and Type | Method and Description |
|---|---|
static ManagementConditionStatement.Builder |
builderManagementConditionStatement()
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.CollectionPage<DevicePlatformType> |
getApplicablePlatforms()
“This is calculated from looking the management conditions associated to the
management condition statement and finding the intersection of applicable
platforms.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The time the management condition statement was created.
|
Optional<String> |
getDescription()
“The admin defined description of the management condition statement.”
|
Optional<String> |
getDisplayName()
“The admin defined name of the management condition statement.”
|
Optional<String> |
getETag()
“ETag of the management condition statement.
|
Optional<ManagementConditionExpression> |
getExpression()
“The management condition statement expression used to evaluate if a management
condition statement was activated/deactivated.”
|
ManagementConditionCollectionRequest |
getManagementConditions()
“The management conditions associated to the management condition statement.”
|
com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<ManagementConditionExpressionString> |
getManagementConditionStatementExpressionString() |
Optional<OffsetDateTime> |
getModifiedDateTime()
“The time the management condition statement was last modified.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ManagementConditionStatement |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagementConditionStatement |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagementConditionStatement |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ManagementConditionStatement |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
ManagementConditionStatement |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
ManagementConditionStatement |
withETag(String eTag)
Returns an immutable copy of
this with just the eTag field
changed. |
ManagementConditionStatement |
withExpression(ManagementConditionExpression expression)
Returns an immutable copy of
this with just the expression field
changed. |
ManagementConditionStatement |
withModifiedDateTime(OffsetDateTime modifiedDateTime)
Returns an immutable copy of
this with just the modifiedDateTime
field changed. |
protected String displayName
protected String description
protected OffsetDateTime createdDateTime
protected OffsetDateTime modifiedDateTime
protected ManagementConditionExpression expression
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 static ManagementConditionStatement.Builder builderManagementConditionStatement()
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> getDisplayName()
public ManagementConditionStatement 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 statement.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public ManagementConditionStatement 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 statement.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public ManagementConditionStatement 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 statement 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 ManagementConditionStatement 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 statement 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<ManagementConditionExpression> getExpression()
public ManagementConditionStatement withExpression(ManagementConditionExpression expression)
this with just the expression 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 management condition statement expression used to evaluate if a management condition statement was activated/deactivated.”
expression - new value of expression field (as defined in service metadata)this with just the expression field changedpublic Optional<String> getETag()
public ManagementConditionStatement 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 statement. 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 ManagementConditionCollectionRequest getManagementConditions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagementConditionStatement patch()
this with changed fields reset.public ManagementConditionStatement put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<ManagementConditionExpressionString> getManagementConditionStatementExpressionString()
Copyright © 2018–2020. All rights reserved.