Skip to content

DocumentAttributeValue

Source code in docs_src/capo_kendra/types/document_attribute_value.py
class DocumentAttributeValue(TypedDict, closed=True):
    string_value: NotRequired[
        "capo_kendra.types.document_attribute_string_value.DocumentAttributeStringValue"
    ]
    """<p>A string, such as "department".</p>"""
    string_list_value: NotRequired[
        "capo_kendra.types.document_attribute_string_list_value.DocumentAttributeStringListValue"
    ]
    """<p>A list of strings. The default maximum length or number of strings is 10.</p>"""
    long_value: NotRequired["capo_kendra.types.long.Long"]
    """<p>A long integer value.</p>"""
    date_value: NotRequired["capo_kendra.types.timestamp.Timestamp"]
    """<p>A date expressed as an ISO 8601 string.</p> <p>It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.</p>"""

date_value instance-attribute

date_value: NotRequired[Timestamp]

A date expressed as an ISO 8601 string.

It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

long_value instance-attribute

long_value: NotRequired[Long]

A long integer value.

string_list_value instance-attribute

string_list_value: NotRequired[DocumentAttributeStringListValue]

A list of strings. The default maximum length or number of strings is 10.

string_value instance-attribute

string_value: NotRequired[DocumentAttributeStringValue]

A string, such as "department".