public class SetRuleOperation extends RuleOperation
xmlElementName
Constructor and Description |
---|
SetRuleOperation()
Initializes a new instance of the SetRuleOperation class.
|
SetRuleOperation(Rule rule)
Initializes a new instance of the SetRuleOperation class.
|
Modifier and Type | Method and Description |
---|---|
Rule |
getRule()
Gets the rule to be updated.
|
String |
getXmlElementName()
Gets the Xml element name of the SetRuleOperation object.
|
protected void |
internalValidate()
Validates this instance.
|
void |
setRule(Rule value)
Sets the rule to be updated.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public SetRuleOperation()
public SetRuleOperation(Rule rule)
rule
- The rule
The inbox rule to update.public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- The writer.Exception
- the exceptionprotected void internalValidate() throws Exception
internalValidate
in class ComplexProperty
Exception
public String getXmlElementName()
getXmlElementName
in class RuleOperation
Copyright © 2012–2015 Microsoft. All rights reserved.