Class PropertyRule
java.lang.Object
com.microsoft.graph.externalconnectors.models.PropertyRule
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class PropertyRule
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Property Rule.
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe OData type of the object as returned by the serviceThe Operation.The Property.The Values.The Values Joined By. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
operation
@SerializedName(value="operation", alternate="Operation") @Expose @Nullable public RuleOperation operationThe Operation. Specifies the operations to be performed during evaluation of a single propertyRule, where property and a string from the values collection are the respective operands. Possible values are: null, equals, notEquals, contains, notContains, lessThan, greaterThan, startsWith. Required. -
property
The Property. The property from the externalItem schema. Required. -
values
The Values. A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. -
valuesJoinedBy
@SerializedName(value="valuesJoinedBy", alternate="ValuesJoinedBy") @Expose @Nullable public BinaryOperator valuesJoinedByThe Values Joined By. The join operator for evaluating multiple propertyRules. For example, if and is specified, then all propertyRules must be true for the propertyRule to be true. Possible values are: or, and. Required.
-
-
Constructor Details
-
PropertyRule
public PropertyRule()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-