Compartilhar via


Classification Classe

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.Classification

public class Classification

Os detalhes de classificação do texto.

Resumo do método

Modificador e tipo Método e descrição
ClassificationCategory1 category1()

Obtenha o valor de categoria1.

ClassificationCategory2 category2()

Obtenha o valor de categoria2.

ClassificationCategory3 category3()

Obtenha o valor de categoria3.

Boolean reviewRecommended()

Obtenha o valor reviewRecommended.

Classification withCategory1(ClassificationCategory1 category1)

Defina o valor de categoria1.

Classification withCategory2(ClassificationCategory2 category2)

Defina o valor de categoria2.

Classification withCategory3(ClassificationCategory3 category3)

Defina o valor de categoria3.

Classification withReviewRecommended(Boolean reviewRecommended)

Defina o valor reviewRecommended.

Detalhes do método

category1

public ClassificationCategory1 category1()

Obtenha o valor de categoria1.

Returns:

o valor de categoria1

category2

public ClassificationCategory2 category2()

Obtenha o valor de categoria2.

Returns:

o valor de categoria2

category3

public ClassificationCategory3 category3()

Obtenha o valor de categoria3.

Returns:

o valor de categoria3

reviewRecommended

public Boolean reviewRecommended()

Obtenha o valor reviewRecommended.

Returns:

o valor reviewRecommended

withCategory1

public Classification withCategory1(ClassificationCategory1 category1)

Defina o valor de categoria1.

Parameters:

category1 - o valor de categoria1 a ser definido

Returns:

o próprio objeto Classification.

withCategory2

public Classification withCategory2(ClassificationCategory2 category2)

Defina o valor de categoria2.

Parameters:

category2 - o valor de categoria2 a ser definido

Returns:

o próprio objeto Classification.

withCategory3

public Classification withCategory3(ClassificationCategory3 category3)

Defina o valor de categoria3.

Parameters:

category3 - o valor de categoria3 a ser definido

Returns:

o próprio objeto Classification.

withReviewRecommended

public Classification withReviewRecommended(Boolean reviewRecommended)

Defina o valor reviewRecommended.

Parameters:

reviewRecommended - o valor reviewRecommended a ser definido

Returns:

o próprio objeto Classification.

Aplica-se a