MicrosoftGraphScoredEmailAddress Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScoredEmailAddress

Implements

public final class MicrosoftGraphScoredEmailAddress
implements JsonSerializable<MicrosoftGraphScoredEmailAddress>

scoredEmailAddress.

Constructor Summary

Constructor Description
MicrosoftGraphScoredEmailAddress()

Creates an instance of MicrosoftGraphScoredEmailAddress class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: scoredEmailAddress.

String address()

Get the address property: The email address.

static MicrosoftGraphScoredEmailAddress fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScoredEmailAddress from the JsonReader.

String itemId()

Get the itemId property: The itemId property.

Double relevanceScore()

Get the relevanceScore property: The relevance score of the email address.

MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood()

Get the selectionLikelihood property: selectionLikelihoodInfo.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphScoredEmailAddress withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: scoredEmailAddress.

MicrosoftGraphScoredEmailAddress withAddress(String address)

Set the address property: The email address.

MicrosoftGraphScoredEmailAddress withItemId(String itemId)

Set the itemId property: The itemId property.

MicrosoftGraphScoredEmailAddress withRelevanceScore(Double relevanceScore)

Set the relevanceScore property: The relevance score of the email address.

MicrosoftGraphScoredEmailAddress withSelectionLikelihood(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood)

Set the selectionLikelihood property: selectionLikelihoodInfo.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphScoredEmailAddress

public MicrosoftGraphScoredEmailAddress()

Creates an instance of MicrosoftGraphScoredEmailAddress class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: scoredEmailAddress.

Returns:

the additionalProperties value.

address

public String address()

Get the address property: The email address.

Returns:

the address value.

fromJson

public static MicrosoftGraphScoredEmailAddress fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScoredEmailAddress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphScoredEmailAddress if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphScoredEmailAddress.

itemId

public String itemId()

Get the itemId property: The itemId property.

Returns:

the itemId value.

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\u2019s communication and collaboration patterns and business relationships.

Returns:

the relevanceScore value.

selectionLikelihood

public MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood()

Get the selectionLikelihood property: selectionLikelihoodInfo.

Returns:

the selectionLikelihood value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphScoredEmailAddress withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: scoredEmailAddress.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphScoredEmailAddress object itself.

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.

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.

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\u2019s communication and collaboration patterns and business relationships.

Parameters:

relevanceScore - the relevanceScore value to set.

Returns:

the MicrosoftGraphScoredEmailAddress object itself.

withSelectionLikelihood

public MicrosoftGraphScoredEmailAddress withSelectionLikelihood(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood)

Set the selectionLikelihood property: selectionLikelihoodInfo.

Parameters:

selectionLikelihood - the selectionLikelihood value to set.

Returns:

the MicrosoftGraphScoredEmailAddress object itself.

Applies to