-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathaudience.py
More file actions
36 lines (22 loc) · 838 Bytes
/
audience.py
File metadata and controls
36 lines (22 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal
from .._models import BaseModel
__all__ = ["Audience"]
class Audience(BaseModel):
id: str
"""A unique identifier representing the audience_id"""
created_at: str
description: str
"""A description of the audience"""
name: str
"""The name of the audience"""
updated_at: str
filter: Optional["AudienceFilterConfig"] = None
"""
Filter configuration for audience membership containing an array of filter rules
"""
operator: Optional[Literal["AND", "OR"]] = None
"""The logical operator (AND/OR) for the top-level filter"""
from .shared.audience_filter_config import AudienceFilterConfig