Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 10.9 KB

File metadata and controls

11 lines (7 loc) · 10.9 KB

AdditionalFieldDefinition

Additional information about the employee or team.

Fields

Field Type Required Description
key Optional[str] Key to reference this field, e.g. "languages". Note that the key should be all lowercase alphabetic characters with no numbers, spaces, hyphens or underscores.
value List[models.Value] List of type string or HypertextField.

HypertextField is defined as
<br/>{<br/> anchor: string, // Anchor text for the hypertext field.<br/> hyperlink: string, // URL for the hypertext field.<br/>}<br/>
Example: {"anchor":"Glean","hyperlink":"https://glean.com"}

When OpenAPI Generator supports oneOf, we will semantically enforce this in the docs.

Note: If using the Python SDK to pass in a list of strings, the value may need to be a list of dictionaries. In that case, the key in that dictionary will be ignored.
Example: "languages": [{"lang":"English","lang":"Spanish",...}]. In this case, the key "lang" will be ignored and can even be passed in as an empty string.