var aiNameExtracted = new AiNameExtracted
{
Name = new List<AiNameExtractedComponent>
{
new AiNameExtractedComponent
{
Category = "Surname",
Value = "Cane"
},
new AiNameExtractedComponent
{
Category = "SomeName",
Value = "John"
}
},
Score = 0.5
};
AiNameExtracted aiNameExtracted = Models.aiNameExtracted()
.name(Arrays.<AiNameExtractedComponent>asList(
Models.aiNameExtractedComponent()
.category("Surname")
.value("Cane")
.build(),
Models.aiNameExtractedComponent()
.category("SomeName")
.value("John")
.build()))
.score(0.5)
.build();
ai_name_extracted = models.AiNameExtracted(
name=[
models.AiNameExtractedComponent(
category='Surname',
value='Cane'),
models.AiNameExtractedComponent(
category='SomeName',
value='John')],
score=0.5)
ai_name_extracted = AiNameExtracted.new(
name: [
AiNameExtractedComponent.new(
category: 'Surname',
value: 'Cane'),
AiNameExtractedComponent.new(
category: 'SomeName',
value: 'John')],
score: 0.5)
let aiNameExtracted = Models.aiNameExtracted()
.name([
Models.aiNameExtractedComponent()
.category('Surname')
.value('Cane')
.build(),
Models.aiNameExtractedComponent()
.category('SomeName')
.value('John')
.build()])
.score(0.5)
.build();
$aiNameExtracted = Models::aiNameExtracted()
->name(array(
Models::aiNameExtractedComponent()
->category('Surname')
->value('Cane')
->build(),
Models::aiNameExtractedComponent()
->category('SomeName')
->value('John')
->build()))
->score(0.5)
->build();