共用方式為


Match Class

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

public class Match

The match details.

Method Summary

Modifier and Type Method and Description
String label()

Get the label value.

Integer matchId()

Get the matchId value.

Double score()

Get the score value.

String source()

Get the source value.

List<Integer> tags()

Get the tags value.

Match withLabel(String label)

Set the label value.

Match withMatchId(Integer matchId)

Set the matchId value.

Match withScore(Double score)

Set the score value.

Match withSource(String source)

Set the source value.

Match withTags(List<Integer> tags)

Set the tags value.

Method Details

label

public String label()

Get the label value.

Returns:

the label value

matchId

public Integer matchId()

Get the matchId value.

Returns:

the matchId value

score

public Double score()

Get the score value.

Returns:

the score value

source

public String source()

Get the source value.

Returns:

the source value

tags

public List tags()

Get the tags value.

Returns:

the tags value

withLabel

public Match withLabel(String label)

Set the label value.

Parameters:

label - the label value to set

Returns:

the Match object itself.

withMatchId

public Match withMatchId(Integer matchId)

Set the matchId value.

Parameters:

matchId - the matchId value to set

Returns:

the Match object itself.

withScore

public Match withScore(Double score)

Set the score value.

Parameters:

score - the score value to set

Returns:

the Match object itself.

withSource

public Match withSource(String source)

Set the source value.

Parameters:

source - the source value to set

Returns:

the Match object itself.

withTags

public Match withTags(List tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the Match object itself.

Applies to