var aiNameMatchResult = new AiNameMatchResult
{
Similarity = 0.6,
Mismatches = new List<AiNameMismatch>
{
new AiNameMismatch
{
Category = "Gender",
Explanation = "no_match"
}
}
};
AiNameMatchResult aiNameMatchResult = Models.aiNameMatchResult()
.similarity(0.6)
.mismatches(Arrays.<AiNameMismatch>asList(
Models.aiNameMismatch()
.category("Gender")
.explanation("no_match")
.build()))
.build();
ai_name_match_result = models.AiNameMatchResult(
similarity=0.6,
mismatches=[
models.AiNameMismatch(
category='Gender',
explanation='no_match')])
ai_name_match_result = AiNameMatchResult.new(
similarity: 0.6,
mismatches: [
AiNameMismatch.new(
category: 'Gender',
explanation: 'no_match')])
let aiNameMatchResult = Models.aiNameMatchResult()
.similarity(0.6)
.mismatches([
Models.aiNameMismatch()
.category('Gender')
.explanation('no_match')
.build()])
.build();
$aiNameMatchResult = Models::aiNameMatchResult()
->similarity(0.6)
->mismatches(array(
Models::aiNameMismatch()
->category('Gender')
->explanation('no_match')
->build()))
->build();