Module slack_sdk.audit_logs.v1.logs

Classes

class AAARequest (*, id: str | None = None, team_id: str | None = None, **kwargs)
Expand source code
class AAARequest:
    id: Optional[str]
    team_id: Optional[str]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        team_id: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.team_id = team_id

Class variables

var id : str | None

The type of the None singleton.

var team_id : str | None

The type of the None singleton.

class AAARule (*,
id: str | None = None,
team_id: str | None = None,
title: str | None = None,
action: Dict[str, Any] | AAARuleAction | None = None,
condition: Dict[str, Any] | AAARuleCondition | None = None,
**kwargs)
Expand source code
class AAARule:
    id: Optional[str]
    team_id: Optional[str]
    title: Optional[str]
    action: Optional[AAARuleAction]
    condition: Optional[AAARuleCondition]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        team_id: Optional[str] = None,
        title: Optional[str] = None,
        action: Optional[Union[Dict[str, Any], AAARuleAction]] = None,
        condition: Optional[Union[Dict[str, Any], AAARuleCondition]] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.team_id = team_id
        self.title = title
        self.action = action if action is None or isinstance(action, AAARuleAction) else AAARuleAction(**action)
        self.condition = (
            condition if condition is None or isinstance(condition, AAARuleCondition) else AAARuleCondition(**condition)
        )

Class variables

var actionAAARuleAction | None

The type of the None singleton.

var conditionAAARuleCondition | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var team_id : str | None

The type of the None singleton.

var title : str | None

The type of the None singleton.

class AAARuleAction (*,
resolution: Dict[str, Any] | AAARuleActionResolution | None = None,
notify: List[Dict[str, Any] | AAARuleActionNotify] | None = None,
**kwargs)
Expand source code
class AAARuleAction:
    resolution: Optional[AAARuleActionResolution]
    notify: Optional[List[AAARuleActionNotify]]

    def __init__(
        self,
        *,
        resolution: Optional[Union[Dict[str, Any], AAARuleActionResolution]] = None,
        notify: Optional[List[Union[Dict[str, Any], AAARuleActionNotify]]] = None,
        **kwargs,
    ) -> None:
        self.resolution = (
            resolution
            if resolution is None or isinstance(resolution, AAARuleActionResolution)
            else AAARuleActionResolution(**resolution)
        )
        self.notify = None
        if notify is not None:
            self.notify = []
            for a in notify:
                if isinstance(a, dict):
                    self.notify.append(AAARuleActionNotify(**a))
                else:
                    self.notify.append(a)

Class variables

var notify : List[AAARuleActionNotify] | None

The type of the None singleton.

var resolutionAAARuleActionResolution | None

The type of the None singleton.

class AAARuleActionNotify (*, entity_type: str | None = None, **kwargs)
Expand source code
class AAARuleActionNotify:
    entity_type: Optional[str]

    def __init__(
        self,
        *,
        entity_type: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.entity_type = entity_type

Class variables

var entity_type : str | None

The type of the None singleton.

class AAARuleActionResolution (*, value: str | None = None, **kwargs)
Expand source code
class AAARuleActionResolution:
    value: Optional[str]

    def __init__(
        self,
        *,
        value: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.value = value

Class variables

var value : str | None

The type of the None singleton.

class AAARuleCondition (*,
datatype: str | None = None,
operator: str | None = None,
values: List[Dict[str, Any] | AAARuleConditionValue] | None = None,
entity_type: str | None = None,
**kwargs)
Expand source code
class AAARuleCondition:
    datatype: Optional[str]
    operator: Optional[str]
    values: Optional[List[AAARuleConditionValue]]
    entity_type: Optional[str]

    def __init__(
        self,
        *,
        datatype: Optional[str] = None,
        operator: Optional[str] = None,
        values: Optional[List[Union[Dict[str, Any], AAARuleConditionValue]]] = None,
        entity_type: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.datatype = datatype
        self.operator = operator
        self.values = None
        if values is not None:
            self.values = []
            for a in values:
                if isinstance(a, dict):
                    self.values.append(AAARuleConditionValue(**a))
                else:
                    self.values.append(a)
        self.entity_type = entity_type

Class variables

var datatype : str | None

The type of the None singleton.

var entity_type : str | None

The type of the None singleton.

var operator : str | None

The type of the None singleton.

var values : List[AAARuleConditionValue] | None

The type of the None singleton.

class AAARuleConditionValue (*,
field: str | None = None,
values: List[str] | None = None,
datatype: str | None = None,
operator: str | None = None,
**kwargs)
Expand source code
class AAARuleConditionValue:
    field: Optional[str]
    values: Optional[List[str]]
    datatype: Optional[str]
    operator: Optional[str]

    def __init__(
        self,
        *,
        field: Optional[str] = None,
        values: Optional[List[str]] = None,
        datatype: Optional[str] = None,
        operator: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.field = field
        self.values = values
        self.datatype = datatype
        self.operator = operator

Class variables

var datatype : str | None

The type of the None singleton.

var field : str | None

The type of the None singleton.

var operator : str | None

The type of the None singleton.

var values : List[str] | None

The type of the None singleton.

class AccountTypeRole (*, id: str | None = None, name: str | None = None, **kwargs)
Expand source code
class AccountTypeRole:
    id: Optional[str]
    name: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.unknown_fields = kwargs

Class variables

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Actor (type: str | None = None,
user: User | Dict[str, Any] | None = None,
**kwargs)
Expand source code
class Actor:
    type: Optional[str]
    user: Optional[User]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        type: Optional[str] = None,
        user: Optional[Union[User, Dict[str, Any]]] = None,
        **kwargs,
    ) -> None:
        self.type = type
        self.user = User(**user) if isinstance(user, dict) else user
        self.unknown_fields = kwargs

Class variables

var type : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

var userUser | None

The type of the None singleton.

class App (*,
id: str | None = None,
name: str | None = None,
is_distributed: bool | None = None,
is_directory_approved: bool | None = None,
is_workflow_app: bool | None = None,
scopes: List[str] | None = None,
**kwargs)
Expand source code
class App:
    id: Optional[str]
    name: Optional[str]
    is_distributed: Optional[bool]
    is_directory_approved: Optional[bool]
    is_workflow_app: Optional[bool]
    scopes: Optional[List[str]]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        is_distributed: Optional[bool] = None,
        is_directory_approved: Optional[bool] = None,
        is_workflow_app: Optional[bool] = None,
        scopes: Optional[List[str]] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.is_distributed = is_distributed
        self.is_directory_approved = is_directory_approved
        self.is_workflow_app = is_workflow_app
        self.scopes = scopes
        self.unknown_fields = kwargs

Class variables

var id : str | None

The type of the None singleton.

var is_directory_approved : bool | None

The type of the None singleton.

var is_distributed : bool | None

The type of the None singleton.

var is_workflow_app : bool | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var scopes : List[str] | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Attribute (*,
name: str | None = None,
type: str | None = None,
items: AttributeItems | None = None,
**kwargs)
Expand source code
class Attribute:
    name: Optional[str]
    type: Optional[str]
    items: Optional[AttributeItems]

    def __init__(
        self,
        *,
        name: Optional[str] = None,
        type: Optional[str] = None,
        items: Optional[AttributeItems] = None,
        **kwargs,
    ) -> None:
        self.name = name
        self.type = type
        self.items = items

Class variables

var itemsAttributeItems | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var type : str | None

The type of the None singleton.

class AttributeItems (*, type: str | None = None, **kwargs)
Expand source code
class AttributeItems:
    type: Optional[str]

    def __init__(
        self,
        *,
        type: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.type = type

Class variables

var type : str | None

The type of the None singleton.

class Channel (*,
id: str | None = None,
privacy: str | None = None,
name: str | None = None,
is_shared: bool | None = None,
is_org_shared: bool | None = None,
teams_shared_with: List[str] | None = None,
original_connected_channel_id: str | None = None,
is_salesforce_channel: bool | None = None,
**kwargs)
Expand source code
class Channel:
    id: Optional[str]
    privacy: Optional[str]
    name: Optional[str]
    is_shared: Optional[bool]
    is_org_shared: Optional[bool]
    teams_shared_with: Optional[List[str]]
    original_connected_channel_id: Optional[str]
    is_salesforce_channel: Optional[bool]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        privacy: Optional[str] = None,
        name: Optional[str] = None,
        is_shared: Optional[bool] = None,
        is_org_shared: Optional[bool] = None,
        teams_shared_with: Optional[List[str]] = None,
        original_connected_channel_id: Optional[str] = None,
        is_salesforce_channel: Optional[bool] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.privacy = privacy
        self.name = name
        self.is_shared = is_shared
        self.is_org_shared = is_org_shared
        self.teams_shared_with = teams_shared_with
        self.original_connected_channel_id = original_connected_channel_id
        self.is_salesforce_channel = is_salesforce_channel
        self.unknown_fields = kwargs

Class variables

var id : str | None

The type of the None singleton.

var is_org_shared : bool | None

The type of the None singleton.

var is_salesforce_channel : bool | None

The type of the None singleton.

var is_shared : bool | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var original_connected_channel_id : str | None

The type of the None singleton.

var privacy : str | None

The type of the None singleton.

var teams_shared_with : List[str] | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Context (*,
location: Location | Dict[str, Any] | None = None,
ua: str | None = None,
ip_address: str | None = None,
session_id: str | None = None,
app: App | Dict[str, Any] | None = None,
**kwargs)
Expand source code
class Context:
    location: Optional[Location]
    ua: Optional[str]
    ip_address: Optional[str]
    session_id: Optional[str]
    app: Optional[App]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        location: Optional[Union[Location, Dict[str, Any]]] = None,
        ua: Optional[str] = None,
        ip_address: Optional[str] = None,
        session_id: Optional[str] = None,
        app: Optional[Union[App, Dict[str, Any]]] = None,
        **kwargs,
    ) -> None:
        self.location = Location(**location) if isinstance(location, dict) else location
        self.ua = ua
        self.ip_address = ip_address
        self.session_id = session_id
        self.app = App(**app) if isinstance(app, dict) else app
        self.unknown_fields = kwargs

Class variables

var appApp | None

The type of the None singleton.

var ip_address : str | None

The type of the None singleton.

var locationLocation | None

The type of the None singleton.

var session_id : str | None

The type of the None singleton.

var ua : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class ConversationPref (*, type: List[str] | None = None, user: List[str] | None = None, **kwargs)
Expand source code
class ConversationPref:
    type: Optional[List[str]]
    user: Optional[List[str]]

    def __init__(
        self,
        *,
        type: Optional[List[str]] = None,
        user: Optional[List[str]] = None,
        **kwargs,
    ) -> None:
        self.type = type
        self.user = user
        self.unknown_fields = kwargs

Class variables

var type : List[str] | None

The type of the None singleton.

var user : List[str] | None

The type of the None singleton.

class Details (*,
name: str | None = None,
new_value: str | List[str] | Dict[str, Any] | None = None,
previous_value: str | List[str] | Dict[str, Any] | None = None,
expires_on: int | None = None,
mobile_only: bool | None = None,
web_only: bool | None = None,
non_sso_only: bool | None = None,
type: str | None = None,
is_workflow: bool | None = None,
inviter: User | Dict[str, Any] | None = None,
kicker: User | Dict[str, Any] | None = None,
shared_to: str | None = None,
reason: str | None = None,
origin_team: str | None = None,
target_team: str | None = None,
is_internal_integration: bool | None = None,
cleared_resolution: str | None = None,
app_owner_id: str | None = None,
bot_scopes: List[str] | None = None,
new_scopes: List[str] | None = None,
previous_scopes: List[str] | None = None,
granular_bot_token: bool | None = None,
scopes: List[str] | None = None,
scopes_bot: List[str] | None = None,
resolution: str | None = None,
app_previously_resolved: bool | None = None,
admin_app_id: str | None = None,
bot_id: str | None = None,
installer_user_id: str | None = None,
approver_id: str | None = None,
approval_type: str | None = None,
app_previously_approved: bool | None = None,
old_scopes: List[str] | None = None,
channels: List[str] | None = None,
permissions: List[Dict[str, Any]] | None = None,
new_version_id: str | None = None,
trigger: str | None = None,
export_type: str | None = None,
export_start_ts: str | None = None,
export_end_ts: str | None = None,
barrier_id: str | None = None,
primary_usergroup_id: str | None = None,
barriered_from_usergroup_ids: List[str] | None = None,
restricted_subjects: List[str] | None = None,
duration: int | None = None,
desktop_app_browser_quit: bool | None = None,
invite_id: str | None = None,
external_organization_id: str | None = None,
external_organization_name: str | None = None,
external_user_id: str | None = None,
external_user_email: str | None = None,
channel_id: str | None = None,
added_team_id: str | None = None,
is_token_rotation_enabled_app: bool | None = None,
old_retention_policy: Dict[str, Any] | RetentionPolicy | None = None,
new_retention_policy: Dict[str, Any] | RetentionPolicy | None = None,
who_can_post: Dict[str, List[str]] | ConversationPref | None = None,
can_thread: Dict[str, List[str]] | ConversationPref | None = None,
is_external_limited: bool | None = None,
exporting_team_id: int | None = None,
session_search_start: int | None = None,
deprecation_search_end: int | None = None,
is_error: bool | None = None,
creator: str | None = None,
team: str | None = None,
app_id: str | None = None,
enable_at_here: Dict[str, Any] | FeatureEnablement | None = None,
enable_at_channel: Dict[str, Any] | FeatureEnablement | None = None,
can_huddle: Dict[str, Any] | FeatureEnablement | None = None,
url_private: str | None = None,
shared_with: Dict[str, Any] | SharedWith | None = None,
initiated_by: str | None = None,
source_team: str | None = None,
destination_team: str | None = None,
succeeded_users: List[str] | str | None = None,
failed_users: List[str] | str | None = None,
enterprise: str | None = None,
subteam: str | None = None,
action: str | None = None,
idp_group_member_count: int | None = None,
workspace_member_count: int | None = None,
added_user_count: int | None = None,
added_user_error_count: int | None = None,
reactivated_user_count: int | None = None,
removed_user_count: int | None = None,
removed_user_error_count: int | None = None,
total_removal_count: int | None = None,
is_flagged: str | None = None,
target_user: str | None = None,
idp_config_id: str | None = None,
config_type: str | None = None,
idp_entity_id_hash: str | None = None,
label: str | None = None,
previous_profile: Dict[str, Any] | Profile | None = None,
new_profile: Dict[str, Any] | Profile | None = None,
target_user_id: str | None = None,
space_file_id: Dict[str, Any] | SpaceFileId | None = None,
target_entity: str | None = None,
target_entity_id: str | None = None,
changed_permissions: List[str] | None = None,
datastore_name: str | None = None,
attributes: List[Dict[str, str] | Attribute] | None = None,
channel: str | None = None,
entity_type: str | None = None,
actor: str | None = None,
access_level: str | None = None,
functions: List[str] | None = None,
workflows: List[str] | None = None,
datastores: List[str] | None = None,
permissions_updated: bool | None = None,
matched_rule: Dict[str, Any] | AAARule | None = None,
request: Dict[str, Any] | AAARequest | None = None,
rules_checked: List[Dict[str, Any] | AAARule] | None = None,
disconnecting_team: str | None = None,
is_channel_canvas: bool | None = None,
linked_channel_id: str | None = None,
column_id: str | None = None,
row_id: str | None = None,
cell_date_updated: int | None = None,
view_id: str | None = None,
user: str | None = None,
**kwargs)
Expand source code
class Details:
    name: Optional[str]
    new_value: Optional[Union[str, List[str], Dict[str, Any]]]
    previous_value: Optional[Union[str, List[str], Dict[str, Any]]]
    expires_on: Optional[int]
    mobile_only: Optional[bool]
    web_only: Optional[bool]
    non_sso_only: Optional[bool]
    type: Optional[str]
    is_workflow: Optional[bool]
    inviter: Optional[User]
    kicker: Optional[User]
    shared_to: Optional[str]
    reason: Optional[str]
    origin_team: Optional[str]
    target_team: Optional[str]
    is_internal_integration: Optional[bool]
    cleared_resolution: Optional[str]
    app_owner_id: Optional[str]
    bot_scopes: Optional[List[str]]
    new_scopes: Optional[List[str]]
    previous_scopes: Optional[List[str]]
    granular_bot_token: Optional[bool]
    scopes: Optional[List[str]]
    scopes_bot: Optional[List[str]]
    resolution: Optional[str]
    app_previously_resolved: Optional[bool]
    admin_app_id: Optional[str]
    bot_id: Optional[str]
    installer_user_id: Optional[str]
    approver_id: Optional[str]
    approval_type: Optional[str]
    app_previously_approved: Optional[bool]
    old_scopes: Optional[List[str]]
    channels: Optional[List[str]]
    permissions: Optional[List[Dict[str, Any]]]
    new_version_id: Optional[str]
    trigger: Optional[str]
    export_type: Optional[str]
    export_start_ts: Optional[str]
    export_end_ts: Optional[str]
    barrier_id: Optional[str]
    primary_usergroup_id: Optional[str]
    barriered_from_usergroup_ids: Optional[List[str]]
    restricted_subjects: Optional[List[str]]
    duration: Optional[int]
    desktop_app_browser_quit: Optional[bool]
    invite_id: Optional[str]
    external_organization_id: Optional[str]
    external_organization_name: Optional[str]
    external_user_id: Optional[str]
    external_user_email: Optional[str]
    channel_id: Optional[str]
    added_team_id: Optional[str]
    unknown_fields: Dict[str, Any]
    is_token_rotation_enabled_app: Optional[bool]
    old_retention_policy: Optional[RetentionPolicy]
    new_retention_policy: Optional[RetentionPolicy]
    who_can_post: Optional[ConversationPref]
    can_thread: Optional[ConversationPref]
    is_external_limited: Optional[bool]
    exporting_team_id: Optional[int]
    session_search_start: Optional[int]
    deprecation_search_end: Optional[int]
    is_error: Optional[bool]
    creator: Optional[str]
    team: Optional[str]
    app_id: Optional[str]
    enable_at_here: Optional[FeatureEnablement]
    enable_at_channel: Optional[FeatureEnablement]
    can_huddle: Optional[FeatureEnablement]
    url_private: Optional[str]
    shared_with: Optional[SharedWith]
    initiated_by: Optional[str]
    source_team: Optional[str]
    destination_team: Optional[str]
    succeeded_users: Optional[List[str]]
    failed_users: Optional[List[str]]
    enterprise: Optional[str]
    subteam: Optional[str]
    action: Optional[str]
    idp_group_member_count: Optional[int]
    workspace_member_count: Optional[int]
    added_user_count: Optional[int]
    added_user_error_count: Optional[int]
    reactivated_user_count: Optional[int]
    removed_user_count: Optional[int]
    removed_user_error_count: Optional[int]
    total_removal_count: Optional[int]
    is_flagged: Optional[str]
    target_user: Optional[str]
    idp_config_id: Optional[str]
    config_type: Optional[str]
    idp_entity_id_hash: Optional[str]
    label: Optional[str]
    previous_profile: Optional[Profile]
    new_profile: Optional[Profile]
    target_user_id: Optional[str]
    space_file_id: Optional[SpaceFileId]
    target_entity: Optional[str]
    target_entity_id: Optional[str]
    changed_permissions: Optional[List[str]]
    datastore_name: Optional[str]
    attributes: Optional[List[Attribute]]
    channel: Optional[str]
    entity_type: Optional[str]
    actor: Optional[str]
    access_level: Optional[str]
    functions: Optional[List[str]]
    workflows: Optional[List[str]]
    datastores: Optional[List[str]]
    permissions_updated: Optional[bool]
    matched_rule: Optional[AAARule]
    request: Optional[AAARequest]
    rules_checked: Optional[List[AAARule]]
    disconnecting_team: Optional[str]
    is_channel_canvas: Optional[bool]
    linked_channel_id: Optional[str]
    column_id: Optional[str]
    row_id: Optional[str]
    cell_date_updated: Optional[int]
    view_id: Optional[str]
    user: Optional[str]

    def __init__(
        self,
        *,
        name: Optional[str] = None,
        new_value: Optional[Union[str, List[str], Dict[str, Any]]] = None,
        previous_value: Optional[Union[str, List[str], Dict[str, Any]]] = None,
        expires_on: Optional[int] = None,
        mobile_only: Optional[bool] = None,
        web_only: Optional[bool] = None,
        non_sso_only: Optional[bool] = None,
        type: Optional[str] = None,
        is_workflow: Optional[bool] = None,
        inviter: Optional[Union[Dict[str, Any], User]] = None,
        kicker: Optional[Union[Dict[str, Any], User]] = None,
        shared_to: Optional[str] = None,
        reason: Optional[str] = None,
        origin_team: Optional[str] = None,
        target_team: Optional[str] = None,
        is_internal_integration: Optional[bool] = None,
        cleared_resolution: Optional[str] = None,
        app_owner_id: Optional[str] = None,
        bot_scopes: Optional[List[str]] = None,
        new_scopes: Optional[List[str]] = None,
        previous_scopes: Optional[List[str]] = None,
        granular_bot_token: Optional[bool] = None,
        scopes: Optional[List[str]] = None,
        scopes_bot: Optional[List[str]] = None,
        resolution: Optional[str] = None,
        app_previously_resolved: Optional[bool] = None,
        admin_app_id: Optional[str] = None,
        bot_id: Optional[str] = None,
        installer_user_id: Optional[str] = None,
        approver_id: Optional[str] = None,
        approval_type: Optional[str] = None,
        app_previously_approved: Optional[bool] = None,
        old_scopes: Optional[List[str]] = None,
        channels: Optional[List[str]] = None,
        permissions: Optional[List[Dict[str, Any]]] = None,
        new_version_id: Optional[str] = None,
        trigger: Optional[str] = None,
        export_type: Optional[str] = None,
        export_start_ts: Optional[str] = None,
        export_end_ts: Optional[str] = None,
        barrier_id: Optional[str] = None,
        primary_usergroup_id: Optional[str] = None,
        barriered_from_usergroup_ids: Optional[List[str]] = None,
        restricted_subjects: Optional[List[str]] = None,
        duration: Optional[int] = None,
        desktop_app_browser_quit: Optional[bool] = None,
        invite_id: Optional[str] = None,
        external_organization_id: Optional[str] = None,
        external_organization_name: Optional[str] = None,
        external_user_id: Optional[str] = None,
        external_user_email: Optional[str] = None,
        channel_id: Optional[str] = None,
        added_team_id: Optional[str] = None,
        is_token_rotation_enabled_app: Optional[bool] = None,
        old_retention_policy: Optional[Union[Dict[str, Any], RetentionPolicy]] = None,
        new_retention_policy: Optional[Union[Dict[str, Any], RetentionPolicy]] = None,
        who_can_post: Optional[Union[Dict[str, List[str]], ConversationPref]] = None,
        can_thread: Optional[Union[Dict[str, List[str]], ConversationPref]] = None,
        is_external_limited: Optional[bool] = None,
        exporting_team_id: Optional[int] = None,
        session_search_start: Optional[int] = None,
        deprecation_search_end: Optional[int] = None,
        is_error: Optional[bool] = None,
        creator: Optional[str] = None,
        team: Optional[str] = None,
        app_id: Optional[str] = None,
        enable_at_here: Optional[Union[Dict[str, Any], FeatureEnablement]] = None,
        enable_at_channel: Optional[Union[Dict[str, Any], FeatureEnablement]] = None,
        can_huddle: Optional[Union[Dict[str, Any], FeatureEnablement]] = None,
        url_private: Optional[str] = None,
        shared_with: Optional[Union[Dict[str, Any], SharedWith]] = None,
        initiated_by: Optional[str] = None,
        source_team: Optional[str] = None,
        destination_team: Optional[str] = None,
        succeeded_users: Optional[Union[List[str], str]] = None,
        failed_users: Optional[Union[List[str], str]] = None,
        enterprise: Optional[str] = None,
        subteam: Optional[str] = None,
        action: Optional[str] = None,
        idp_group_member_count: Optional[int] = None,
        workspace_member_count: Optional[int] = None,
        added_user_count: Optional[int] = None,
        added_user_error_count: Optional[int] = None,
        reactivated_user_count: Optional[int] = None,
        removed_user_count: Optional[int] = None,
        removed_user_error_count: Optional[int] = None,
        total_removal_count: Optional[int] = None,
        is_flagged: Optional[str] = None,
        target_user: Optional[str] = None,
        idp_config_id: Optional[str] = None,
        config_type: Optional[str] = None,
        idp_entity_id_hash: Optional[str] = None,
        label: Optional[str] = None,
        previous_profile: Optional[Union[Dict[str, Any], Profile]] = None,
        new_profile: Optional[Union[Dict[str, Any], Profile]] = None,
        target_user_id: Optional[str] = None,
        space_file_id: Optional[Union[Dict[str, Any], SpaceFileId]] = None,
        target_entity: Optional[str] = None,
        target_entity_id: Optional[str] = None,
        changed_permissions: Optional[List[str]] = None,
        datastore_name: Optional[str] = None,
        attributes: Optional[List[Union[Dict[str, str], Attribute]]] = None,
        channel: Optional[str] = None,
        entity_type: Optional[str] = None,
        actor: Optional[str] = None,
        access_level: Optional[str] = None,
        functions: Optional[List[str]] = None,
        workflows: Optional[List[str]] = None,
        datastores: Optional[List[str]] = None,
        permissions_updated: Optional[bool] = None,
        matched_rule: Optional[Union[Dict[str, Any], AAARule]] = None,
        request: Optional[Union[Dict[str, Any], AAARequest]] = None,
        rules_checked: Optional[List[Union[Dict[str, Any], AAARule]]] = None,
        disconnecting_team: Optional[str] = None,
        is_channel_canvas: Optional[bool] = None,
        linked_channel_id: Optional[str] = None,
        column_id: Optional[str] = None,
        row_id: Optional[str] = None,
        cell_date_updated: Optional[int] = None,
        view_id: Optional[str] = None,
        user: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.name = name
        self.new_value = new_value
        self.previous_value = previous_value
        self.expires_on = expires_on
        self.mobile_only = mobile_only
        self.web_only = web_only
        self.non_sso_only = non_sso_only
        self.type = type
        self.is_workflow = is_workflow
        self.inviter = inviter if inviter is None or isinstance(inviter, User) else User(**inviter)
        self.kicker = kicker if kicker is None or isinstance(kicker, User) else User(**kicker)
        self.shared_to = shared_to
        self.reason = reason
        self.origin_team = origin_team
        self.target_team = target_team
        self.is_internal_integration = is_internal_integration
        self.cleared_resolution = cleared_resolution
        self.app_owner_id = app_owner_id
        self.bot_scopes = bot_scopes
        self.new_scopes = new_scopes
        self.previous_scopes = previous_scopes
        self.granular_bot_token = granular_bot_token
        self.scopes = scopes
        self.scopes_bot = scopes_bot
        self.resolution = resolution
        self.app_previously_resolved = app_previously_resolved
        self.admin_app_id = admin_app_id
        self.bot_id = bot_id
        self.unknown_fields = kwargs
        self.installer_user_id = installer_user_id
        self.approver_id = approver_id
        self.approval_type = approval_type
        self.app_previously_approved = app_previously_approved
        self.old_scopes = old_scopes
        self.channels = channels
        self.permissions = permissions
        self.new_version_id = new_version_id
        self.trigger = trigger
        self.export_type = export_type
        self.export_start_ts = export_start_ts
        self.export_end_ts = export_end_ts
        self.barrier_id = barrier_id
        self.primary_usergroup_id = primary_usergroup_id
        self.barriered_from_usergroup_ids = barriered_from_usergroup_ids
        self.restricted_subjects = restricted_subjects
        self.duration = duration
        self.desktop_app_browser_quit = desktop_app_browser_quit
        self.invite_id = invite_id
        self.external_organization_id = external_organization_id
        self.external_organization_name = external_organization_name
        self.external_user_id = external_user_id
        self.external_user_email = external_user_email
        self.channel_id = channel_id
        self.added_team_id = added_team_id
        self.is_token_rotation_enabled_app = is_token_rotation_enabled_app
        self.old_retention_policy = (
            old_retention_policy
            if old_retention_policy is None or isinstance(old_retention_policy, RetentionPolicy)
            else RetentionPolicy(**old_retention_policy)
        )
        self.new_retention_policy = (
            new_retention_policy
            if new_retention_policy is None or isinstance(new_retention_policy, RetentionPolicy)
            else RetentionPolicy(**new_retention_policy)
        )
        self.who_can_post = (
            who_can_post
            if who_can_post is None or isinstance(who_can_post, ConversationPref)
            else ConversationPref(**who_can_post)
        )
        self.can_thread = (
            can_thread if can_thread is None or isinstance(can_thread, ConversationPref) else ConversationPref(**can_thread)
        )
        self.is_external_limited = is_external_limited
        self.exporting_team_id = exporting_team_id
        self.session_search_start = session_search_start
        self.deprecation_search_end = deprecation_search_end
        self.is_error = is_error
        self.creator = creator
        self.team = team
        self.app_id = app_id
        self.enable_at_here = (
            enable_at_here
            if enable_at_here is None or isinstance(enable_at_here, FeatureEnablement)
            else FeatureEnablement(**enable_at_here)
        )
        self.enable_at_channel = (
            enable_at_channel
            if enable_at_channel is None or isinstance(enable_at_channel, FeatureEnablement)
            else FeatureEnablement(**enable_at_channel)
        )
        self.can_huddle = (
            can_huddle
            if can_huddle is None or isinstance(can_huddle, FeatureEnablement)
            else FeatureEnablement(**can_huddle)
        )
        self.url_private = url_private
        self.shared_with = (
            shared_with if shared_with is None or isinstance(shared_with, SharedWith) else SharedWith(**shared_with)
        )
        self.initiated_by = initiated_by
        self.source_team = source_team
        self.destination_team = destination_team
        self.succeeded_users = (
            succeeded_users if succeeded_users is None or isinstance(succeeded_users, list) else json.loads(succeeded_users)
        )
        self.failed_users = (
            failed_users if failed_users is None or isinstance(failed_users, list) else json.loads(failed_users)
        )
        self.enterprise = enterprise
        self.subteam = subteam
        self.action = action
        self.idp_group_member_count = idp_group_member_count
        self.workspace_member_count = workspace_member_count
        self.added_user_count = added_user_count
        self.added_user_error_count = added_user_error_count
        self.reactivated_user_count = reactivated_user_count
        self.removed_user_count = removed_user_count
        self.removed_user_error_count = removed_user_error_count
        self.total_removal_count = total_removal_count
        self.is_flagged = is_flagged
        self.target_user = target_user
        self.idp_config_id = idp_config_id
        self.config_type = config_type
        self.idp_entity_id_hash = idp_entity_id_hash
        self.label = label
        self.previous_profile = (
            previous_profile
            if previous_profile is None or isinstance(previous_profile, Profile)
            else Profile(**previous_profile)
        )
        self.new_profile = new_profile if new_profile is None or isinstance(new_profile, Profile) else Profile(**new_profile)
        self.target_user_id = target_user_id
        self.space_file_id = (
            space_file_id
            if space_file_id is None or isinstance(space_file_id, SpaceFileId)
            else SpaceFileId(**space_file_id)
        )
        self.target_entity = target_entity
        self.target_entity_id = target_entity_id
        self.changed_permissions = changed_permissions
        self.datastore_name = datastore_name
        self.attributes = None
        if attributes is not None:
            self.attributes = []
            for a in attributes:
                if isinstance(a, dict):
                    self.attributes.append(Attribute(**a))
                else:
                    self.attributes.append(a)
        self.channel = channel
        self.entity_type = entity_type
        self.actor = actor
        self.access_level = access_level
        self.functions = functions
        self.workflows = workflows
        self.datastores = datastores
        self.permissions_updated = permissions_updated
        self.matched_rule = (
            matched_rule if matched_rule is None or isinstance(matched_rule, AAARule) else AAARule(**matched_rule)
        )
        self.request = request if request is None or isinstance(request, AAARequest) else AAARequest(**request)
        self.rules_checked = None
        if rules_checked is not None:
            self.rules_checked = []
            for a in rules_checked:
                if isinstance(a, dict):
                    self.rules_checked.append(AAARule(**a))
                else:
                    self.rules_checked.append(a)
        self.disconnecting_team = disconnecting_team
        self.is_channel_canvas = is_channel_canvas
        self.linked_channel_id = linked_channel_id
        self.column_id = column_id
        self.row_id = row_id
        self.cell_date_updated = cell_date_updated
        self.view_id = view_id
        self.user = user

Class variables

var access_level : str | None

The type of the None singleton.

var action : str | None

The type of the None singleton.

var actor : str | None

The type of the None singleton.

var added_team_id : str | None

The type of the None singleton.

var added_user_count : int | None

The type of the None singleton.

var added_user_error_count : int | None

The type of the None singleton.

var admin_app_id : str | None

The type of the None singleton.

var app_id : str | None

The type of the None singleton.

var app_owner_id : str | None

The type of the None singleton.

var app_previously_approved : bool | None

The type of the None singleton.

var app_previously_resolved : bool | None

The type of the None singleton.

var approval_type : str | None

The type of the None singleton.

var approver_id : str | None

The type of the None singleton.

var attributes : List[Attribute] | None

The type of the None singleton.

var barrier_id : str | None

The type of the None singleton.

var barriered_from_usergroup_ids : List[str] | None

The type of the None singleton.

var bot_id : str | None

The type of the None singleton.

var bot_scopes : List[str] | None

The type of the None singleton.

var can_huddleFeatureEnablement | None

The type of the None singleton.

var can_threadConversationPref | None

The type of the None singleton.

var cell_date_updated : int | None

The type of the None singleton.

var changed_permissions : List[str] | None

The type of the None singleton.

var channel : str | None

The type of the None singleton.

var channel_id : str | None

The type of the None singleton.

var channels : List[str] | None

The type of the None singleton.

var cleared_resolution : str | None

The type of the None singleton.

var column_id : str | None

The type of the None singleton.

var config_type : str | None

The type of the None singleton.

var creator : str | None

The type of the None singleton.

var datastore_name : str | None

The type of the None singleton.

var datastores : List[str] | None

The type of the None singleton.

var deprecation_search_end : int | None

The type of the None singleton.

var desktop_app_browser_quit : bool | None

The type of the None singleton.

var destination_team : str | None

The type of the None singleton.

var disconnecting_team : str | None

The type of the None singleton.

var duration : int | None

The type of the None singleton.

var enable_at_channelFeatureEnablement | None

The type of the None singleton.

var enable_at_hereFeatureEnablement | None

The type of the None singleton.

var enterprise : str | None

The type of the None singleton.

var entity_type : str | None

The type of the None singleton.

var expires_on : int | None

The type of the None singleton.

var export_end_ts : str | None

The type of the None singleton.

var export_start_ts : str | None

The type of the None singleton.

var export_type : str | None

The type of the None singleton.

var exporting_team_id : int | None

The type of the None singleton.

var external_organization_id : str | None

The type of the None singleton.

var external_organization_name : str | None

The type of the None singleton.

var external_user_email : str | None

The type of the None singleton.

var external_user_id : str | None

The type of the None singleton.

var failed_users : List[str] | None

The type of the None singleton.

var functions : List[str] | None

The type of the None singleton.

var granular_bot_token : bool | None

The type of the None singleton.

var idp_config_id : str | None

The type of the None singleton.

var idp_entity_id_hash : str | None

The type of the None singleton.

var idp_group_member_count : int | None

The type of the None singleton.

var initiated_by : str | None

The type of the None singleton.

var installer_user_id : str | None

The type of the None singleton.

var invite_id : str | None

The type of the None singleton.

var inviterUser | None

The type of the None singleton.

var is_channel_canvas : bool | None

The type of the None singleton.

var is_error : bool | None

The type of the None singleton.

var is_external_limited : bool | None

The type of the None singleton.

var is_flagged : str | None

The type of the None singleton.

var is_internal_integration : bool | None

The type of the None singleton.

var is_token_rotation_enabled_app : bool | None

The type of the None singleton.

var is_workflow : bool | None

The type of the None singleton.

var kickerUser | None

The type of the None singleton.

var label : str | None

The type of the None singleton.

var linked_channel_id : str | None

The type of the None singleton.

var matched_ruleAAARule | None

The type of the None singleton.

var mobile_only : bool | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var new_profileProfile | None

The type of the None singleton.

var new_retention_policyRetentionPolicy | None

The type of the None singleton.

var new_scopes : List[str] | None

The type of the None singleton.

var new_value : str | List[str] | Dict[str, Any] | None

The type of the None singleton.

var new_version_id : str | None

The type of the None singleton.

var non_sso_only : bool | None

The type of the None singleton.

var old_retention_policyRetentionPolicy | None

The type of the None singleton.

var old_scopes : List[str] | None

The type of the None singleton.

var origin_team : str | None

The type of the None singleton.

var permissions : List[Dict[str, Any]] | None

The type of the None singleton.

var permissions_updated : bool | None

The type of the None singleton.

var previous_profileProfile | None

The type of the None singleton.

var previous_scopes : List[str] | None

The type of the None singleton.

var previous_value : str | List[str] | Dict[str, Any] | None

The type of the None singleton.

var primary_usergroup_id : str | None

The type of the None singleton.

var reactivated_user_count : int | None

The type of the None singleton.

var reason : str | None

The type of the None singleton.

var removed_user_count : int | None

The type of the None singleton.

var removed_user_error_count : int | None

The type of the None singleton.

var requestAAARequest | None

The type of the None singleton.

var resolution : str | None

The type of the None singleton.

var restricted_subjects : List[str] | None

The type of the None singleton.

var row_id : str | None

The type of the None singleton.

var rules_checked : List[AAARule] | None

The type of the None singleton.

var scopes : List[str] | None

The type of the None singleton.

var scopes_bot : List[str] | None

The type of the None singleton.

var session_search_start : int | None

The type of the None singleton.

var shared_to : str | None

The type of the None singleton.

var shared_withSharedWith | None

The type of the None singleton.

var source_team : str | None

The type of the None singleton.

var space_file_idSpaceFileId | None

The type of the None singleton.

var subteam : str | None

The type of the None singleton.

var succeeded_users : List[str] | None

The type of the None singleton.

var target_entity : str | None

The type of the None singleton.

var target_entity_id : str | None

The type of the None singleton.

var target_team : str | None

The type of the None singleton.

var target_user : str | None

The type of the None singleton.

var target_user_id : str | None

The type of the None singleton.

var team : str | None

The type of the None singleton.

var total_removal_count : int | None

The type of the None singleton.

var trigger : str | None

The type of the None singleton.

var type : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

var url_private : str | None

The type of the None singleton.

var user : str | None

The type of the None singleton.

var view_id : str | None

The type of the None singleton.

var web_only : bool | None

The type of the None singleton.

var who_can_postConversationPref | None

The type of the None singleton.

var workflows : List[str] | None

The type of the None singleton.

var workspace_member_count : int | None

The type of the None singleton.

class Entity (*,
type: str | None = None,
user: User | Dict[str, Any] | None = None,
workspace: Location | Dict[str, Any] | None = None,
enterprise: Location | Dict[str, Any] | None = None,
channel: Channel | Dict[str, Any] | None = None,
file: File | Dict[str, Any] | None = None,
app: App | Dict[str, Any] | None = None,
message: Message | Dict[str, Any] | None = None,
huddle: Huddle | Dict[str, Any] | None = None,
role: Role | Dict[str, Any] | None = None,
usergroup: Usergroup | Dict[str, Any] | None = None,
workflow: Workflow | Dict[str, Any] | None = None,
barrier: InformationBarrier | Dict[str, Any] | None = None,
workflow_v2: WorkflowV2 | Dict[str, Any] | None = None,
account_type_role: AccountTypeRole | Dict[str, Any] | None = None,
list: SlackList | Dict[str, Any] | None = None,
**kwargs)
Expand source code
class Entity:
    type: Optional[str]
    user: Optional[User]
    workspace: Optional[Location]
    enterprise: Optional[Location]
    channel: Optional[Channel]
    file: Optional[File]
    app: Optional[App]
    message: Optional[Message]
    huddle: Optional[Huddle]
    role: Optional[Role]
    usergroup: Optional[Usergroup]
    workflow: Optional[Workflow]
    barrier: Optional[InformationBarrier]
    workflow_v2: Optional[WorkflowV2]
    account_type_role: Optional[AccountTypeRole]
    list: Optional[SlackList]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        type: Optional[str] = None,
        user: Optional[Union[User, Dict[str, Any]]] = None,
        workspace: Optional[Union[Location, Dict[str, Any]]] = None,
        enterprise: Optional[Union[Location, Dict[str, Any]]] = None,
        channel: Optional[Union[Channel, Dict[str, Any]]] = None,
        file: Optional[Union[File, Dict[str, Any]]] = None,
        app: Optional[Union[App, Dict[str, Any]]] = None,
        message: Optional[Union[Message, Dict[str, Any]]] = None,
        huddle: Optional[Union[Huddle, Dict[str, Any]]] = None,
        role: Optional[Union[Role, Dict[str, Any]]] = None,
        usergroup: Optional[Union[Usergroup, Dict[str, Any]]] = None,
        workflow: Optional[Union[Workflow, Dict[str, Any]]] = None,
        barrier: Optional[Union[InformationBarrier, Dict[str, Any]]] = None,
        workflow_v2: Optional[Union[WorkflowV2, Dict[str, Any]]] = None,
        account_type_role: Optional[Union[AccountTypeRole, Dict[str, Any]]] = None,
        list: Optional[Union[SlackList, Dict[str, Any]]] = None,
        **kwargs,
    ) -> None:
        self.type = type
        self.user = User(**user) if isinstance(user, dict) else user
        self.workspace = Location(**workspace) if isinstance(workspace, dict) else workspace
        self.enterprise = Location(**enterprise) if isinstance(enterprise, dict) else enterprise
        self.channel = Channel(**channel) if isinstance(channel, dict) else channel
        self.file = File(**file) if isinstance(file, dict) else file
        self.app = App(**app) if isinstance(app, dict) else app
        self.message = Message(**message) if isinstance(message, dict) else message
        self.huddle = Huddle(**huddle) if isinstance(huddle, dict) else huddle
        self.role = Role(**role) if isinstance(role, dict) else role
        self.usergroup = Usergroup(**usergroup) if isinstance(usergroup, dict) else usergroup
        self.workflow = Workflow(**workflow) if isinstance(workflow, dict) else workflow
        self.barrier = InformationBarrier(**barrier) if isinstance(barrier, dict) else barrier
        self.workflow_v2 = WorkflowV2(**workflow_v2) if isinstance(workflow_v2, dict) else workflow_v2
        self.account_type_role = (
            AccountTypeRole(**account_type_role) if isinstance(account_type_role, dict) else account_type_role
        )
        self.list = SlackList(**list) if isinstance(list, dict) else list
        self.unknown_fields = kwargs

Class variables

var account_type_roleAccountTypeRole | None

The type of the None singleton.

var appApp | None

The type of the None singleton.

var barrierInformationBarrier | None

The type of the None singleton.

var channelChannel | None

The type of the None singleton.

var enterpriseLocation | None

The type of the None singleton.

var fileFile | None

The type of the None singleton.

var huddleHuddle | None

The type of the None singleton.

var listSlackList | None

The type of the None singleton.

var messageMessage | None

The type of the None singleton.

var roleRole | None

The type of the None singleton.

var type : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

var userUser | None

The type of the None singleton.

var usergroupUsergroup | None

The type of the None singleton.

var workflowWorkflow | None

The type of the None singleton.

var workflow_v2WorkflowV2 | None

The type of the None singleton.

var workspaceLocation | None

The type of the None singleton.

class Entry (*,
id: str | None = None,
date_create: int | None = None,
action: str | None = None,
actor: Actor | Dict[str, Any] | None = None,
entity: Entity | Dict[str, Any] | None = None,
context: Context | Dict[str, Any] | None = None,
details: Details | Dict[str, Any] | None = None,
**kwargs)
Expand source code
class Entry:
    id: Optional[str]
    date_create: Optional[int]
    action: Optional[str]
    actor: Optional[Actor]
    entity: Optional[Entity]
    context: Optional[Context]
    details: Optional[Details]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        date_create: Optional[int] = None,
        action: Optional[str] = None,
        actor: Optional[Union[Actor, Dict[str, Any]]] = None,
        entity: Optional[Union[Entity, Dict[str, Any]]] = None,
        context: Optional[Union[Context, Dict[str, Any]]] = None,
        details: Optional[Union[Details, Dict[str, Any]]] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.date_create = date_create
        self.action = action
        self.actor = Actor(**actor) if isinstance(actor, dict) else actor
        self.entity = Entity(**entity) if isinstance(entity, dict) else entity
        self.context = Context(**context) if isinstance(context, dict) else context
        self.details = Details(**details) if isinstance(details, dict) else details
        self.unknown_fields = kwargs

Class variables

var action : str | None

The type of the None singleton.

var actorActor | None

The type of the None singleton.

var contextContext | None

The type of the None singleton.

var date_create : int | None

The type of the None singleton.

var detailsDetails | None

The type of the None singleton.

var entityEntity | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class FeatureEnablement (*, enabled: bool | None = None, **kwargs)
Expand source code
class FeatureEnablement:
    enabled: Optional[bool]

    def __init__(
        self,
        *,
        enabled: Optional[bool] = None,
        **kwargs,
    ) -> None:
        self.enabled = enabled
        self.unknown_fields = kwargs

Class variables

var enabled : bool | None

The type of the None singleton.

class File (*,
id: str | None = None,
name: str | None = None,
filetype: str | None = None,
title: str | None = None,
**kwargs)
Expand source code
class File:
    id: Optional[str]
    name: Optional[str]
    filetype: Optional[str]
    title: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        filetype: Optional[str] = None,
        title: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.filetype = filetype
        self.title = title
        self.unknown_fields = kwargs

Class variables

var filetype : str | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var title : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Huddle (*,
id: str | None = None,
date_start: int | None = None,
date_end: int | None = None,
participants: List[str] | None = None,
**kwargs)
Expand source code
class Huddle:
    id: Optional[str]
    date_start: Optional[int]
    date_end: Optional[int]
    participants: Optional[List[str]]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        date_start: Optional[int] = None,
        date_end: Optional[int] = None,
        participants: Optional[List[str]] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.date_start = date_start
        self.date_end = date_end
        self.participants = participants
        self.unknown_fields = kwargs

Class variables

var date_end : int | None

The type of the None singleton.

var date_start : int | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var participants : List[str] | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class InformationBarrier (*,
id: str | None = None,
primary_usergroup: str | None = None,
barriered_from_usergroups: List[str] | None = None,
restricted_subjects: List[str] | None = None,
**kwargs)
Expand source code
class InformationBarrier:
    id: Optional[str]
    primary_usergroup: Optional[str]
    barriered_from_usergroups: Optional[List[str]]
    restricted_subjects: Optional[List[str]]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        primary_usergroup: Optional[str] = None,
        barriered_from_usergroups: Optional[List[str]] = None,
        restricted_subjects: Optional[List[str]] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.primary_usergroup = primary_usergroup
        self.barriered_from_usergroups = barriered_from_usergroups
        self.restricted_subjects = restricted_subjects
        self.unknown_fields = kwargs

Class variables

var barriered_from_usergroups : List[str] | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var primary_usergroup : str | None

The type of the None singleton.

var restricted_subjects : List[str] | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Location (*,
type: str | None = None,
id: str | None = None,
name: str | None = None,
domain: str | None = None,
**kwargs)
Expand source code
class Location:
    type: Optional[str]
    id: Optional[str]
    name: Optional[str]
    domain: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        type: Optional[str] = None,
        id: Optional[str] = None,
        name: Optional[str] = None,
        domain: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.type = type
        self.id = id
        self.name = name
        self.domain = domain
        self.unknown_fields = kwargs

Class variables

var domain : str | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var type : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class LogsResponse (*,
entries: List[Entry | Dict[str, Any]] | None = None,
response_metadata: ResponseMetadata | Dict[str, Any] | None = None,
ok: bool | None = None,
error: str | None = None,
needed: str | None = None,
provided: str | None = None,
**kwargs)
Expand source code
class LogsResponse:
    entries: Optional[List[Entry]]
    response_metadata: Optional[ResponseMetadata]
    ok: Optional[bool]
    error: Optional[str]
    needed: Optional[str]
    provided: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        entries: Optional[List[Union[Entry, Dict[str, Any]]]] = None,
        response_metadata: Optional[Union[ResponseMetadata, Dict[str, Any]]] = None,
        ok: Optional[bool] = None,
        error: Optional[str] = None,
        needed: Optional[str] = None,
        provided: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.entries = [Entry(**e) if isinstance(e, dict) else e for e in entries]
        self.response_metadata = (
            ResponseMetadata(**response_metadata) if isinstance(response_metadata, dict) else response_metadata
        )
        self.ok = ok
        self.error = error
        self.needed = needed
        self.provided = provided
        self.unknown_fields = kwargs

Class variables

var entries : List[Entry] | None

The type of the None singleton.

var error : str | None

The type of the None singleton.

var needed : str | None

The type of the None singleton.

var ok : bool | None

The type of the None singleton.

var provided : str | None

The type of the None singleton.

var response_metadataResponseMetadata | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Message (*,
channel: str | None = None,
team: str | None = None,
timestamp: str | None = None,
**kwargs)
Expand source code
class Message:
    channel: Optional[str]
    team: Optional[str]
    timestamp: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        channel: Optional[str] = None,
        team: Optional[str] = None,
        timestamp: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.channel = channel
        self.team = team
        self.timestamp = timestamp
        self.unknown_fields = kwargs

Class variables

var channel : str | None

The type of the None singleton.

var team : str | None

The type of the None singleton.

var timestamp : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Profile (*,
real_name: str | None = None,
first_name: str | None = None,
last_name: str | None = None,
display_name: str | None = None,
image_original: str | None = None,
image_24: str | None = None,
image_32: str | None = None,
image_48: str | None = None,
image_72: str | None = None,
image_192: str | None = None,
image_512: str | None = None,
image_1024: str | None = None,
**kwargs)
Expand source code
class Profile:
    real_name: Optional[str]
    first_name: Optional[str]
    last_name: Optional[str]
    display_name: Optional[str]
    image_original: Optional[str]
    image_24: Optional[str]
    image_32: Optional[str]
    image_48: Optional[str]
    image_72: Optional[str]
    image_192: Optional[str]
    image_512: Optional[str]
    image_1024: Optional[str]

    def __init__(
        self,
        *,
        real_name: Optional[str] = None,
        first_name: Optional[str] = None,
        last_name: Optional[str] = None,
        display_name: Optional[str] = None,
        image_original: Optional[str] = None,
        image_24: Optional[str] = None,
        image_32: Optional[str] = None,
        image_48: Optional[str] = None,
        image_72: Optional[str] = None,
        image_192: Optional[str] = None,
        image_512: Optional[str] = None,
        image_1024: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.real_name = real_name
        self.first_name = first_name
        self.last_name = last_name
        self.display_name = display_name
        self.image_original = image_original
        self.image_24 = image_24
        self.image_32 = image_32
        self.image_48 = image_48
        self.image_72 = image_72
        self.image_192 = image_192
        self.image_512 = image_512
        self.image_1024 = image_1024

Class variables

var display_name : str | None

The type of the None singleton.

var first_name : str | None

The type of the None singleton.

var image_1024 : str | None

The type of the None singleton.

var image_192 : str | None

The type of the None singleton.

var image_24 : str | None

The type of the None singleton.

var image_32 : str | None

The type of the None singleton.

var image_48 : str | None

The type of the None singleton.

var image_512 : str | None

The type of the None singleton.

var image_72 : str | None

The type of the None singleton.

var image_original : str | None

The type of the None singleton.

var last_name : str | None

The type of the None singleton.

var real_name : str | None

The type of the None singleton.

class ResponseMetadata (*, next_cursor: str | None = None, **kwargs)
Expand source code
class ResponseMetadata:
    next_cursor: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        next_cursor: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.next_cursor = next_cursor
        self.unknown_fields = kwargs

Class variables

var next_cursor : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class RetentionPolicy (*, type: str | None = None, duration_days: int | None = None, **kwargs)
Expand source code
class RetentionPolicy:
    type: Optional[str]
    duration_days: Optional[int]

    def __init__(
        self,
        *,
        type: Optional[str] = None,
        duration_days: Optional[int] = None,
        **kwargs,
    ) -> None:
        self.type = type
        self.duration_days = duration_days
        self.unknown_fields = kwargs

Class variables

var duration_days : int | None

The type of the None singleton.

var type : str | None

The type of the None singleton.

class Role (*,
id: str | None = None,
name: str | None = None,
type: str | None = None,
**kwargs)
Expand source code
class Role:
    id: Optional[str]
    name: Optional[str]
    type: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        type: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.type = type
        self.unknown_fields = kwargs

Class variables

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var type : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class SharedWith (*, channel_id: str | None = None, access_level: str | None = None, **kwargs)
Expand source code
class SharedWith:
    channel_id: Optional[str]
    access_level: Optional[str]

    def __init__(
        self,
        *,
        channel_id: Optional[str] = None,
        access_level: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.channel_id = channel_id
        self.access_level = access_level
        self.unknown_fields = kwargs

Class variables

var access_level : str | None

The type of the None singleton.

var channel_id : str | None

The type of the None singleton.

class SlackList (*, id: str | None = None, **kwargs)
Expand source code
class SlackList:
    id: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.unknown_fields = kwargs

Class variables

var id : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class SpaceFileId (*, payload: str | None = None, **kwargs)
Expand source code
class SpaceFileId:
    payload: Optional[str]

    def __init__(
        self,
        *,
        payload: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.payload = payload

Class variables

var payload : str | None

The type of the None singleton.

class User (*,
id: str | None = None,
name: str | None = None,
email: str | None = None,
team: str | None = None,
**kwargs)
Expand source code
class User:
    id: Optional[str]
    name: Optional[str]
    email: Optional[str]
    team: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        email: Optional[str] = None,
        team: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.email = email
        self.team = team
        self.unknown_fields = kwargs

Class variables

var email : str | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var team : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Usergroup (*, id: str | None = None, name: str | None = None, **kwargs)
Expand source code
class Usergroup:
    id: Optional[str]
    name: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.unknown_fields = kwargs

Class variables

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class Workflow (*,
id: str | None = None,
name: str | None = None,
domain: str | None = None,
**kwargs)
Expand source code
class Workflow:
    id: Optional[str]
    name: Optional[str]
    domain: Optional[str]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        name: Optional[str] = None,
        domain: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.name = name
        self.domain = domain
        self.unknown_fields = kwargs

Class variables

var domain : str | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

class WorkflowV2 (*,
id: str | None = None,
app_id: str | None = None,
date_updated: int | None = None,
callback_id: str | None = None,
name: str | None = None,
updated_by: str | None = None,
step_configuration: List[Dict[str, Any] | WorkflowV2StepConfiguration] | None = None,
**kwargs)
Expand source code
class WorkflowV2:
    id: Optional[str]
    app_id: Optional[str]
    date_updated: Optional[int]
    callback_id: Optional[str]
    name: Optional[str]
    updated_by: Optional[str]
    step_configuration: Optional[List[WorkflowV2StepConfiguration]]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        id: Optional[str] = None,
        app_id: Optional[str] = None,
        date_updated: Optional[int] = None,
        callback_id: Optional[str] = None,
        name: Optional[str] = None,
        updated_by: Optional[str] = None,
        step_configuration: Optional[List[Union[Dict[str, Any], WorkflowV2StepConfiguration]]] = None,
        **kwargs,
    ) -> None:
        self.id = id
        self.app_id = app_id
        self.date_updated = date_updated
        self.callback_id = callback_id
        self.name = name
        self.updated_by = updated_by
        self.step_configuration = None
        if step_configuration is not None:
            self.step_configuration = []
            for a in step_configuration:
                if isinstance(a, dict):
                    self.step_configuration.append(WorkflowV2StepConfiguration(**a))
                else:
                    self.step_configuration.append(a)
        self.unknown_fields = kwargs

Class variables

var app_id : str | None

The type of the None singleton.

var callback_id : str | None

The type of the None singleton.

var date_updated : int | None

The type of the None singleton.

var id : str | None

The type of the None singleton.

var name : str | None

The type of the None singleton.

var step_configuration : List[WorkflowV2StepConfiguration] | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.

var updated_by : str | None

The type of the None singleton.

class WorkflowV2StepConfiguration (*,
name: str | None = None,
step_function_type: str | None = None,
step_function_app_id: str | None = None,
**kwargs)
Expand source code
class WorkflowV2StepConfiguration:
    name: Optional[str]
    step_function_type: Optional[str]
    step_function_app_id: Optional[int]
    unknown_fields: Dict[str, Any]

    def __init__(
        self,
        *,
        name: Optional[str] = None,
        step_function_type: Optional[str] = None,
        step_function_app_id: Optional[str] = None,
        **kwargs,
    ) -> None:
        self.name = name
        self.step_function_type = step_function_type
        self.step_function_app_id = step_function_app_id
        self.unknown_fields = kwargs

Class variables

var name : str | None

The type of the None singleton.

var step_function_app_id : int | None

The type of the None singleton.

var step_function_type : str | None

The type of the None singleton.

var unknown_fields : Dict[str, Any]

The type of the None singleton.