---
schema_version: "1"
id: a5d449ceaf60cbc3b9f7ce339e13a08d259aef8531f8ff76c0ca765b14e7202d
title: FieldValue 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_FieldValue.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a4395ff6c63f39415ca8709aead8393391926aad99bebe55473a8ea8bf99b41f
description: 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.Creates an instance of the FieldValue class with the specified parameter values.Creates an instance of the FieldValue class.The developer name of the field that is used for search results and verification.The value of the field that is used for search results and verification.
---
# FieldValue Class

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.

## 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.")

- **[FieldValue Constructors](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_id_verification_FieldValue_constructors)**
- **[FieldValue Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_id_verification_FieldValue_properties)**

## FieldValue Constructors

The following are constructors for FieldValue.

- **[FieldValue(developerName, value)](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_id_verification_FieldValue_ctor)**  
    Creates an instance of the [FieldValue](#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.") class with the specified parameter values.
- **[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_id_verification_FieldValue_ctor_2)**  
    Creates an instance of the [FieldValue](#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.") class.

### FieldValue(developerName, value)

Creates an instance of the [FieldValue](#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.") class with the specified parameter values.

#### Signature

public FieldValue(String developerName, String value)

#### Parameters

developerName

Type: String

The developer name of the field that is used for search results and verification.

value

Type: String

The value of the field that is used for search results and verification.

### FieldValue()

Creates an instance of the [FieldValue](#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.") class.

#### Signature

public FieldValue()

## FieldValue Properties

The following are properties for FieldValue.

- **[developerName](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_id_verification_FieldValue_developerName)**  
    The developer name of the field that is used for search results and verification.
- **[value](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_FieldValue.htm#apex_id_verification_FieldValue_value)**  
    The value of the field that is used for search results and verification.

### developerName

The developer name of the field that is used for search results and verification.

#### Signature

public String developerName {get; set;}

#### Property Value

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

### value

The value of the field that is used for search results and verification.

#### Signature

public String value {get; set;}

#### Property Value

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