---
schema_version: "1"
id: 0ec7f369597a8b2dda93822d803b7e42576735b13b3526ef2aeef0251ab2a4c9
title: SelectedSearchResult Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7371feda0db5978bc6bc09476ff6b94498b62c168af76ffd603a0dc32d9be82c
description: Contains the details of the record that has been selected for verification.Creates an instance of the SelectedSearchResult class with the specified parameter values.Creates an instance of the SelectedSearchResult class.Specifies the name of the object to be verified.Specifies the object record ID on which the data is to be verified.Specifies the object record fields on which the data is to be verified.
---
# SelectedSearchResult Class

Contains the details of the record that has been selected for verification.

## Namespace

[id\_verification](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_namespace_id_verification.htm "The id_verification namespace provides an interface and classes for Health Cloud to verify the caller’s identity.")

- **[SelectedSearchResult Constructors](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_constructors)**
- **[SelectedSearchResult Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_properties)**

## SelectedSearchResult Constructors

The following are constructors for SelectedSearchResult.

- **[SelectedSearchResult(selectedRecordId, objectName, selectedRecordObject)](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_ctor)**  
    Creates an instance of the [SelectedSearchResult](#apex_class_id_verification_SelectedSearchResult "Contains the details of the record that has been selected for verification.") class with the specified parameter values.
- **[SelectedSearchResult()](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_ctor_2)**  
    Creates an instance of the [SelectedSearchResult](#apex_class_id_verification_SelectedSearchResult "Contains the details of the record that has been selected for verification.") class.

### SelectedSearchResult(selectedRecordId, objectName, selectedRecordObject)

Creates an instance of the [SelectedSearchResult](#apex_class_id_verification_SelectedSearchResult "Contains the details of the record that has been selected for verification.") class with the specified parameter values.

#### Signature

public SelectedSearchResult(String selectedRecordId, String objectName, List<id\_verification.FieldValue> selectedRecordObject)

#### Parameters

selectedRecordId

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

Required. Specifies the object record ID on which the data is to be verified.

objectName

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

Required. Specifies the name of the object to be verified.

selectedRecordObject

Type: List<[id\_verification.FieldValue](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_class_id_verification_FieldValue "Contains a key-value pair represented by the developer name and value of the field. The key-value pair is used for both search results and verification.")\>

Specifies the object record fields on which the data is to be verified.

### SelectedSearchResult()

Creates an instance of the [SelectedSearchResult](#apex_class_id_verification_SelectedSearchResult "Contains the details of the record that has been selected for verification.") class.

#### Signature

public SelectedSearchResult()

## SelectedSearchResult Properties

The following are properties for SelectedSearchResult.

- **[objectName](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_objectName)**  
    Specifies the name of the object to be verified.
- **[selectedRecordId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_selectedRecordId)**  
    Specifies the object record ID on which the data is to be verified.
- **[selectedRecordObject](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SelectedSearchResult.htm#apex_id_verification_SelectedSearchResult_selectedRecordObject)**  
    Specifies the object record fields on which the data is to be verified.

### objectName

Specifies the name of the object to be verified.

#### Signature

public String objectName {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### selectedRecordId

Specifies the object record ID on which the data is to be verified.

#### Signature

public String selectedRecordId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### selectedRecordObject

Specifies the object record fields on which the data is to be verified.

#### Signature

public List<id\_verification.FieldValue> selectedRecordObject {get; set;}

#### Property Value

Type: List<[id\_verification.FieldValue](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_class_id_verification_FieldValue "Contains a key-value pair represented by the developer name and value of the field. The key-value pair is used for both search results and verification.")\>