public class MessageRule extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected MessageRuleActions |
actions |
protected MessageRulePredicates |
conditions |
protected String |
displayName |
protected MessageRulePredicates |
exceptions |
protected Boolean |
hasError |
protected Boolean |
isEnabled |
protected Boolean |
isReadOnly |
protected Integer |
sequence |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MessageRule() |
| Modifier and Type | Method and Description |
|---|---|
static MessageRule.Builder |
builderMessageRule()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<MessageRuleActions> |
getActions() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<MessageRulePredicates> |
getConditions() |
Optional<String> |
getDisplayName() |
Optional<MessageRulePredicates> |
getExceptions() |
Optional<Boolean> |
getHasError() |
Optional<Boolean> |
getIsEnabled() |
Optional<Boolean> |
getIsReadOnly() |
Optional<Integer> |
getSequence() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
MessageRule |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MessageRule |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MessageRule |
withActions(MessageRuleActions actions) |
MessageRule |
withConditions(MessageRulePredicates conditions) |
MessageRule |
withDisplayName(String displayName) |
MessageRule |
withExceptions(MessageRulePredicates exceptions) |
MessageRule |
withHasError(Boolean hasError) |
MessageRule |
withIsEnabled(Boolean isEnabled) |
MessageRule |
withIsReadOnly(Boolean isReadOnly) |
MessageRule |
withSequence(Integer sequence) |
protected String displayName
protected Integer sequence
protected MessageRulePredicates conditions
protected MessageRuleActions actions
protected MessageRulePredicates exceptions
protected Boolean isEnabled
protected Boolean hasError
protected Boolean isReadOnly
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static MessageRule.Builder builderMessageRule()
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 MessageRule withDisplayName(String displayName)
public MessageRule withSequence(Integer sequence)
public Optional<MessageRulePredicates> getConditions()
public MessageRule withConditions(MessageRulePredicates conditions)
public Optional<MessageRuleActions> getActions()
public MessageRule withActions(MessageRuleActions actions)
public Optional<MessageRulePredicates> getExceptions()
public MessageRule withExceptions(MessageRulePredicates exceptions)
public MessageRule withIsEnabled(Boolean isEnabled)
public MessageRule withHasError(Boolean hasError)
public MessageRule withIsReadOnly(Boolean isReadOnly)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic MessageRule patch()
this with changed fields reset.public MessageRule put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.