Microsoft365PublishScope Class

public final class Microsoft365PublishScope
extends ExpandableStringEnum<Microsoft365PublishScope>

The publish scope for the generated Microsoft Teams app.

Field Summary

Modifier and Type Field and Description
static final Microsoft365PublishScope PERSONAL

Publish the app for the acting user only.

static final Microsoft365PublishScope SHARED

Publish the app to a shared scope within the organization.

static final Microsoft365PublishScope TENANT

Publish the app tenant-wide.

Constructor Summary

Constructor Description
Microsoft365PublishScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Microsoft365PublishScope value.

Method Summary

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

Creates or finds a Microsoft365PublishScope from its string representation.

static Collection<Microsoft365PublishScope> values()

Gets known Microsoft365PublishScope values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PERSONAL

public static final Microsoft365PublishScope PERSONAL

Publish the app for the acting user only.

SHARED

public static final Microsoft365PublishScope SHARED

Publish the app to a shared scope within the organization.

TENANT

public static final Microsoft365PublishScope TENANT

Publish the app tenant-wide.

Constructor Details

Microsoft365PublishScope

@Deprecated
public Microsoft365PublishScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Microsoft365PublishScope value.

Method Details

fromString

public static Microsoft365PublishScope fromString(String name)

Creates or finds a Microsoft365PublishScope from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Microsoft365PublishScope.

values

public static Collection<Microsoft365PublishScope> values()

Gets known Microsoft365PublishScope values.

Returns:

known Microsoft365PublishScope values.

Applies to