PublishApprovalStatus Class

public final class PublishApprovalStatus
extends ExpandableStringEnum<PublishApprovalStatus>

The Microsoft Agent Certification review status of the Microsoft 365 store title published for an agent.

Field Summary

Modifier and Type Field and Description
static final PublishApprovalStatus APPROVED

The title passed review, as of this read.

static final PublishApprovalStatus NOT_PUBLISHED

The agent has never been published to the Microsoft 365 store, so there is nothing to review.

static final PublishApprovalStatus NO_APPROVAL_NEEDED

The agent is published at a scope that does not go through Microsoft Agent Certification.

static final PublishApprovalStatus PENDING

The published title is awaiting a review decision.

static final PublishApprovalStatus REJECTED

The title was rejected in review, as of this read.

Constructor Summary

Constructor Description
PublishApprovalStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublishApprovalStatus value.

Method Summary

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

Creates or finds a PublishApprovalStatus from its string representation.

static Collection<PublishApprovalStatus> values()

Gets known PublishApprovalStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPROVED

public static final PublishApprovalStatus APPROVED

The title passed review, as of this read.

NOT_PUBLISHED

public static final PublishApprovalStatus NOT_PUBLISHED

The agent has never been published to the Microsoft 365 store, so there is nothing to review.

NO_APPROVAL_NEEDED

public static final PublishApprovalStatus NO_APPROVAL_NEEDED

The agent is published at a scope that does not go through Microsoft Agent Certification. Only tenant-scoped titles are reviewed.

PENDING

public static final PublishApprovalStatus PENDING

The published title is awaiting a review decision.

REJECTED

public static final PublishApprovalStatus REJECTED

The title was rejected in review, as of this read.

Constructor Details

PublishApprovalStatus

@Deprecated
public PublishApprovalStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublishApprovalStatus value.

Method Details

fromString

public static PublishApprovalStatus fromString(String name)

Creates or finds a PublishApprovalStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublishApprovalStatus.

values

public static Collection<PublishApprovalStatus> values()

Gets known PublishApprovalStatus values.

Returns:

known PublishApprovalStatus values.

Applies to