MicrosoftGraphOutlookUser Class

public final class MicrosoftGraphOutlookUser
extends MicrosoftGraphEntity

outlookUser.

Constructor Summary

Constructor Description
MicrosoftGraphOutlookUser()

Creates an instance of MicrosoftGraphOutlookUser class.

Method Summary

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

Get the additionalProperties property: outlookUser.

static MicrosoftGraphOutlookUser fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOutlookUser from the JsonReader.

List<MicrosoftGraphOutlookCategory> masterCategories()

Get the masterCategories property: A list of categories defined for the user.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOutlookUser withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: outlookUser.

MicrosoftGraphOutlookUser withId(String id)

Set the id property: Read-only.

MicrosoftGraphOutlookUser withMasterCategories(List<MicrosoftGraphOutlookCategory> masterCategories)

Set the masterCategories property: A list of categories defined for the user.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOutlookUser

public MicrosoftGraphOutlookUser()

Creates an instance of MicrosoftGraphOutlookUser class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: outlookUser.

Overrides:

MicrosoftGraphOutlookUser.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphOutlookUser fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOutlookUser from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

masterCategories

public List masterCategories()

Get the masterCategories property: A list of categories defined for the user.

Returns:

the masterCategories value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOutlookUser.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOutlookUser.validate()

withAdditionalProperties

public MicrosoftGraphOutlookUser withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: outlookUser.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOutlookUser object itself.

withId

public MicrosoftGraphOutlookUser withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOutlookUser.withId(String id)

Parameters:

id

withMasterCategories

public MicrosoftGraphOutlookUser withMasterCategories(List masterCategories)

Set the masterCategories property: A list of categories defined for the user.

Parameters:

masterCategories - the masterCategories value to set.

Returns:

the MicrosoftGraphOutlookUser object itself.

Applies to