A value for a CustomField on a resource.
| JSON representation |
|---|
{
"customField": string,
"value": {
object ( |
| Fields | |
|---|---|
customField |
Required. The custom field for which this is a value. Format: "networks/{networkCode}/customFields/{customFieldId}" |
value |
Required. A typed value representation of the value. |
Value
Represent custom field value type.
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "dropdownValue": string, "stringValue": string, "numberValue": number, "toggleValue": boolean // End of mutually exclusive fields. } |
| Fields | |
|---|---|
| The value of this field. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
dropdownValue |
The customFieldOptionId, if the CustomFieldDataType is DROPDOWN. |
stringValue |
The value, if the CustomFieldDataType is STRING. |
numberValue |
The value, if the CustomFieldDataType is NUMBER. |
toggleValue |
The value, if the CustomFieldDataType is TOGGLE. |
| End of mutually exclusive fields. | |