MicrosoftGraphBodyType Class

public final class MicrosoftGraphBodyType
extends ExpandableStringEnum<MicrosoftGraphBodyType>

bodyType.

Field Summary

Modifier and Type Field and Description
static final MicrosoftGraphBodyType HTML

Static value html for MicrosoftGraphBodyType.

static final MicrosoftGraphBodyType TEXT

Static value text for MicrosoftGraphBodyType.

Constructor Summary

Constructor Description
MicrosoftGraphBodyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MicrosoftGraphBodyType value.

Method Summary

Modifier and Type Method and Description
static MicrosoftGraphBodyType fromString(String name)

Creates or finds a MicrosoftGraphBodyType from its string representation.

static Collection<MicrosoftGraphBodyType> values()

Gets known MicrosoftGraphBodyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HTML

public static final MicrosoftGraphBodyType HTML

Static value html for MicrosoftGraphBodyType.

TEXT

public static final MicrosoftGraphBodyType TEXT

Static value text for MicrosoftGraphBodyType.

Constructor Details

MicrosoftGraphBodyType

@Deprecated
public MicrosoftGraphBodyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MicrosoftGraphBodyType value.

Method Details

fromString

public static MicrosoftGraphBodyType fromString(String name)

Creates or finds a MicrosoftGraphBodyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MicrosoftGraphBodyType.

values

public static Collection values()

Gets known MicrosoftGraphBodyType values.

Returns:

known MicrosoftGraphBodyType values.

Applies to