MicrosoftGraphInferenceClassification Class

public final class MicrosoftGraphInferenceClassification
extends MicrosoftGraphEntity

inferenceClassification.

Constructor Summary

Constructor Description
MicrosoftGraphInferenceClassification()

Creates an instance of MicrosoftGraphInferenceClassification class.

Method Summary

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

Get the additionalProperties property: inferenceClassification.

static MicrosoftGraphInferenceClassification fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInferenceClassification from the JsonReader.

List<MicrosoftGraphInferenceClassificationOverride> overrides()

Get the overrides property: A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphInferenceClassification withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: inferenceClassification.

MicrosoftGraphInferenceClassification withId(String id)

Set the id property: Read-only.

MicrosoftGraphInferenceClassification withOverrides(List<MicrosoftGraphInferenceClassificationOverride> overrides)

Set the overrides property: A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphInferenceClassification

public MicrosoftGraphInferenceClassification()

Creates an instance of MicrosoftGraphInferenceClassification class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: inferenceClassification.

Overrides:

MicrosoftGraphInferenceClassification.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphInferenceClassification fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInferenceClassification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphInferenceClassification 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 MicrosoftGraphInferenceClassification.

overrides

public List overrides()

Get the overrides property: A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.

Returns:

the overrides value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphInferenceClassification.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphInferenceClassification.validate()

withAdditionalProperties

public MicrosoftGraphInferenceClassification withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: inferenceClassification.

Overrides:

MicrosoftGraphInferenceClassification.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphInferenceClassification object itself.

withId

public MicrosoftGraphInferenceClassification withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphInferenceClassification.withId(String id)

Parameters:

id

withOverrides

public MicrosoftGraphInferenceClassification withOverrides(List overrides)

Set the overrides property: A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.

Parameters:

overrides - the overrides value to set.

Returns:

the MicrosoftGraphInferenceClassification object itself.

Applies to