Share via


MicrosoftGraphConversationMember Class

public final class MicrosoftGraphConversationMember
extends MicrosoftGraphEntity

Represents a conversation member.

Constructor Summary

Constructor Description
MicrosoftGraphConversationMember()

Creates an instance of MicrosoftGraphConversationMember class.

Method Summary

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

Get the additionalProperties property: conversationMember.

String displayName()

Get the displayName property: The display name of the user.

static MicrosoftGraphConversationMember fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphConversationMember from the JsonReader.

List<String> roles()

Get the roles property: The roles for that user.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphConversationMember withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: conversationMember.

MicrosoftGraphConversationMember withDisplayName(String displayName)

Set the displayName property: The display name of the user.

MicrosoftGraphConversationMember withId(String id)

Set the id property: Read-only.

MicrosoftGraphConversationMember withRoles(List<String> roles)

Set the roles property: The roles for that user.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphConversationMember

public MicrosoftGraphConversationMember()

Creates an instance of MicrosoftGraphConversationMember class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: conversationMember.

Overrides:

MicrosoftGraphConversationMember.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The display name of the user.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphConversationMember fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphConversationMember from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

roles

public List<String> roles()

Get the roles property: The roles for that user.

Returns:

the roles value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphConversationMember.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphConversationMember.validate()

withAdditionalProperties

public MicrosoftGraphConversationMember withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: conversationMember.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphConversationMember object itself.

withDisplayName

public MicrosoftGraphConversationMember withDisplayName(String displayName)

Set the displayName property: The display name of the user.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphConversationMember object itself.

withId

public MicrosoftGraphConversationMember withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphConversationMember.withId(String id)

Parameters:

id

withRoles

public MicrosoftGraphConversationMember withRoles(List<String> roles)

Set the roles property: The roles for that user.

Parameters:

roles - the roles value to set.

Returns:

the MicrosoftGraphConversationMember object itself.

Applies to