Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data FieldValueUnion Source #
Object to store union of Field values.
See: newFieldValueUnion
smart constructor.
FieldValueUnion' | |
|
Instances
newFieldValueUnion :: FieldValueUnion Source #
Create a value of FieldValueUnion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:booleanValue:FieldValueUnion'
, fieldValueUnion_booleanValue
- Can be either null, or have a Boolean value type. Only one value can be
provided.
$sel:doubleValue:FieldValueUnion'
, fieldValueUnion_doubleValue
- Can be either null, or have a Double number value type. Only one value
can be provided.
$sel:stringValue:FieldValueUnion'
, fieldValueUnion_stringValue
- String value type.
fieldValueUnion_booleanValue :: Lens' FieldValueUnion (Maybe Bool) Source #
Can be either null, or have a Boolean value type. Only one value can be provided.
fieldValueUnion_doubleValue :: Lens' FieldValueUnion (Maybe Double) Source #
Can be either null, or have a Double number value type. Only one value can be provided.
fieldValueUnion_stringValue :: Lens' FieldValueUnion (Maybe Text) Source #
String value type.