Class MicrosoftGraphScoredEmailAddress


  • public final class MicrosoftGraphScoredEmailAddress
    extends Object
    scoredEmailAddress.
    • Constructor Detail

      • MicrosoftGraphScoredEmailAddress

        public MicrosoftGraphScoredEmailAddress()
    • Method Detail

      • address

        public String address()
        Get the address property: The email address.
        Returns:
        the address value.
      • withAddress

        public MicrosoftGraphScoredEmailAddress withAddress​(String address)
        Set the address property: The email address.
        Parameters:
        address - the address value to set.
        Returns:
        the MicrosoftGraphScoredEmailAddress object itself.
      • itemId

        public String itemId()
        Get the itemId property: The itemId property.
        Returns:
        the itemId value.
      • withItemId

        public MicrosoftGraphScoredEmailAddress withItemId​(String itemId)
        Set the itemId property: The itemId property.
        Parameters:
        itemId - the itemId value to set.
        Returns:
        the MicrosoftGraphScoredEmailAddress object itself.
      • relevanceScore

        public Double relevanceScore()
        Get the relevanceScore property: The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships.
        Returns:
        the relevanceScore value.
      • withRelevanceScore

        public MicrosoftGraphScoredEmailAddress withRelevanceScore​(Double relevanceScore)
        Set the relevanceScore property: The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships.
        Parameters:
        relevanceScore - the relevanceScore value to set.
        Returns:
        the MicrosoftGraphScoredEmailAddress object itself.
      • selectionLikelihood

        public MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood()
        Get the selectionLikelihood property: The selectionLikelihood property.
        Returns:
        the selectionLikelihood value.
      • withSelectionLikelihood

        public MicrosoftGraphScoredEmailAddress withSelectionLikelihood​(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood)
        Set the selectionLikelihood property: The selectionLikelihood property.
        Parameters:
        selectionLikelihood - the selectionLikelihood value to set.
        Returns:
        the MicrosoftGraphScoredEmailAddress object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: scoredEmailAddress.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphScoredEmailAddress withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: scoredEmailAddress.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphScoredEmailAddress object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.