Class MicrosoftGraphMessageRule

    • Constructor Detail

      • MicrosoftGraphMessageRule

        public MicrosoftGraphMessageRule()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: The display name of the rule.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphMessageRule withDisplayName​(String displayName)
        Set the displayName property: The display name of the rule.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphMessageRule object itself.
      • hasError

        public Boolean hasError()
        Get the hasError property: Indicates whether the rule is in an error condition. Read-only.
        Returns:
        the hasError value.
      • withHasError

        public MicrosoftGraphMessageRule withHasError​(Boolean hasError)
        Set the hasError property: Indicates whether the rule is in an error condition. Read-only.
        Parameters:
        hasError - the hasError value to set.
        Returns:
        the MicrosoftGraphMessageRule object itself.
      • isEnabled

        public Boolean isEnabled()
        Get the isEnabled property: Indicates whether the rule is enabled to be applied to messages.
        Returns:
        the isEnabled value.
      • withIsEnabled

        public MicrosoftGraphMessageRule withIsEnabled​(Boolean isEnabled)
        Set the isEnabled property: Indicates whether the rule is enabled to be applied to messages.
        Parameters:
        isEnabled - the isEnabled value to set.
        Returns:
        the MicrosoftGraphMessageRule object itself.
      • isReadOnly

        public Boolean isReadOnly()
        Get the isReadOnly property: Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API.
        Returns:
        the isReadOnly value.
      • withIsReadOnly

        public MicrosoftGraphMessageRule withIsReadOnly​(Boolean isReadOnly)
        Set the isReadOnly property: Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API.
        Parameters:
        isReadOnly - the isReadOnly value to set.
        Returns:
        the MicrosoftGraphMessageRule object itself.
      • sequence

        public Integer sequence()
        Get the sequence property: Indicates the order in which the rule is executed, among other rules.
        Returns:
        the sequence value.
      • withSequence

        public MicrosoftGraphMessageRule withSequence​(Integer sequence)
        Set the sequence property: Indicates the order in which the rule is executed, among other rules.
        Parameters:
        sequence - the sequence value to set.
        Returns:
        the MicrosoftGraphMessageRule object itself.