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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • operation

      @SerializedName(value="operation", alternate="Operation") @Expose @Nullable public RuleOperation operation
      The 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

      @SerializedName(value="property", alternate="Property") @Expose @Nullable public String property
      The Property. The property from the externalItem schema. Required.
    • values

      @SerializedName(value="values", alternate="Values") @Expose @Nullable public List<String> 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 valuesJoinedBy
      The 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:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to