MicrosoftGraphInferenceClassificationOverride Class

public final class MicrosoftGraphInferenceClassificationOverride
extends MicrosoftGraphEntity

inferenceClassificationOverride.

Constructor Summary

Constructor Description
MicrosoftGraphInferenceClassificationOverride()

Creates an instance of MicrosoftGraphInferenceClassificationOverride class.

Method Summary

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

Get the additionalProperties property: inferenceClassificationOverride.

MicrosoftGraphInferenceClassificationType classifyAs()

Get the classifyAs property: inferenceClassificationType.

static MicrosoftGraphInferenceClassificationOverride fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInferenceClassificationOverride from the JsonReader.

MicrosoftGraphEmailAddress senderEmailAddress()

Get the senderEmailAddress property: emailAddress.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphInferenceClassificationOverride withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: inferenceClassificationOverride.

MicrosoftGraphInferenceClassificationOverride withClassifyAs(MicrosoftGraphInferenceClassificationType classifyAs)

Set the classifyAs property: inferenceClassificationType.

MicrosoftGraphInferenceClassificationOverride withId(String id)

Set the id property: Read-only.

MicrosoftGraphInferenceClassificationOverride withSenderEmailAddress(MicrosoftGraphEmailAddress senderEmailAddress)

Set the senderEmailAddress property: emailAddress.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphInferenceClassificationOverride

public MicrosoftGraphInferenceClassificationOverride()

Creates an instance of MicrosoftGraphInferenceClassificationOverride class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: inferenceClassificationOverride.

Overrides:

MicrosoftGraphInferenceClassificationOverride.additionalProperties()

Returns:

the additionalProperties value.

classifyAs

public MicrosoftGraphInferenceClassificationType classifyAs()

Get the classifyAs property: inferenceClassificationType.

Returns:

the classifyAs value.

fromJson

public static MicrosoftGraphInferenceClassificationOverride fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInferenceClassificationOverride from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

senderEmailAddress

public MicrosoftGraphEmailAddress senderEmailAddress()

Get the senderEmailAddress property: emailAddress.

Returns:

the senderEmailAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphInferenceClassificationOverride.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphInferenceClassificationOverride.validate()

withAdditionalProperties

public MicrosoftGraphInferenceClassificationOverride withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: inferenceClassificationOverride.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphInferenceClassificationOverride object itself.

withClassifyAs

public MicrosoftGraphInferenceClassificationOverride withClassifyAs(MicrosoftGraphInferenceClassificationType classifyAs)

Set the classifyAs property: inferenceClassificationType.

Parameters:

classifyAs - the classifyAs value to set.

Returns:

the MicrosoftGraphInferenceClassificationOverride object itself.

withId

public MicrosoftGraphInferenceClassificationOverride withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphInferenceClassificationOverride.withId(String id)

Parameters:

id

withSenderEmailAddress

public MicrosoftGraphInferenceClassificationOverride withSenderEmailAddress(MicrosoftGraphEmailAddress senderEmailAddress)

Set the senderEmailAddress property: emailAddress.

Parameters:

senderEmailAddress - the senderEmailAddress value to set.

Returns:

the MicrosoftGraphInferenceClassificationOverride object itself.

Applies to