diff --git a/dropbox/team_log.py b/dropbox/team_log.py index aedb7f1..7048992 100644 --- a/dropbox/team_log.py +++ b/dropbox/team_log.py @@ -19358,6 +19358,30 @@ def team_extensions_policy_changed_details(cls, val): """ return cls("team_extensions_policy_changed_details", val) + @classmethod + def team_external_sharing_controls_activation_state_changed_details(cls, val): + """ + Create an instance of this class set to the + ``team_external_sharing_controls_activation_state_changed_details`` tag + with value ``val``. + + :param TeamExternalSharingControlsActivationStateChangedDetails val: + :rtype: EventDetails + """ + return cls("team_external_sharing_controls_activation_state_changed_details", val) + + @classmethod + def team_external_sharing_controls_recipient_lists_changed_details(cls, val): + """ + Create an instance of this class set to the + ``team_external_sharing_controls_recipient_lists_changed_details`` tag + with value ``val``. + + :param TeamExternalSharingControlsRecipientListsChangedDetails val: + :rtype: EventDetails + """ + return cls("team_external_sharing_controls_recipient_lists_changed_details", val) + @classmethod def team_member_storage_request_policy_changed_details(cls, val): """ @@ -24615,6 +24639,22 @@ def is_team_extensions_policy_changed_details(self): """ return self._tag == "team_extensions_policy_changed_details" + def is_team_external_sharing_controls_activation_state_changed_details(self): + """ + Check if the union tag is ``team_external_sharing_controls_activation_state_changed_details``. + + :rtype: bool + """ + return self._tag == "team_external_sharing_controls_activation_state_changed_details" + + def is_team_external_sharing_controls_recipient_lists_changed_details(self): + """ + Check if the union tag is ``team_external_sharing_controls_recipient_lists_changed_details``. + + :rtype: bool + """ + return self._tag == "team_external_sharing_controls_recipient_lists_changed_details" + def is_team_member_storage_request_policy_changed_details(self): """ Check if the union tag is ``team_member_storage_request_policy_changed_details``. @@ -30867,6 +30907,30 @@ def get_team_extensions_policy_changed_details(self): raise AttributeError("tag 'team_extensions_policy_changed_details' not set") return self._value + def get_team_external_sharing_controls_activation_state_changed_details(self): + """ + Only call this if :meth:`is_team_external_sharing_controls_activation_state_changed_details` is true. + + :rtype: TeamExternalSharingControlsActivationStateChangedDetails + """ + if not self.is_team_external_sharing_controls_activation_state_changed_details(): + raise AttributeError( + "tag 'team_external_sharing_controls_activation_state_changed_details' not set" + ) + return self._value + + def get_team_external_sharing_controls_recipient_lists_changed_details(self): + """ + Only call this if :meth:`is_team_external_sharing_controls_recipient_lists_changed_details` is true. + + :rtype: TeamExternalSharingControlsRecipientListsChangedDetails + """ + if not self.is_team_external_sharing_controls_recipient_lists_changed_details(): + raise AttributeError( + "tag 'team_external_sharing_controls_recipient_lists_changed_details' not set" + ) + return self._value + def get_team_member_storage_request_policy_changed_details(self): """ Only call this if :meth:`is_team_member_storage_request_policy_changed_details` is true. @@ -33300,6 +33364,13 @@ class EventType(bb.Union): :ivar EventType.team_extensions_policy_changed: (team_policies) Changed App Integrations setting for team :vartype EventType.team_extensions_policy_changed: TeamExtensionsPolicyChangedType + :ivar EventType.team_external_sharing_controls_activation_state_changed: + (team_policies) Changed external sharing controls activation state + :vartype EventType.team_external_sharing_controls_activation_state_changed: TeamExternalSharingControlsActivationStateChangedType + :ivar EventType.team_external_sharing_controls_recipient_lists_changed: + (team_policies) Changed approved or blocked entries for external sharing + controls + :vartype EventType.team_external_sharing_controls_recipient_lists_changed: TeamExternalSharingControlsRecipientListsChangedType :ivar EventType.team_member_storage_request_policy_changed: (team_policies) Changed team member storage request policy for team :vartype EventType.team_member_storage_request_policy_changed: TeamMemberStorageRequestPolicyChangedType @@ -39806,6 +39877,30 @@ def team_extensions_policy_changed(cls, val): """ return cls("team_extensions_policy_changed", val) + @classmethod + def team_external_sharing_controls_activation_state_changed(cls, val): + """ + Create an instance of this class set to the + ``team_external_sharing_controls_activation_state_changed`` tag with + value ``val``. + + :param TeamExternalSharingControlsActivationStateChangedType val: + :rtype: EventType + """ + return cls("team_external_sharing_controls_activation_state_changed", val) + + @classmethod + def team_external_sharing_controls_recipient_lists_changed(cls, val): + """ + Create an instance of this class set to the + ``team_external_sharing_controls_recipient_lists_changed`` tag with + value ``val``. + + :param TeamExternalSharingControlsRecipientListsChangedType val: + :rtype: EventType + """ + return cls("team_external_sharing_controls_recipient_lists_changed", val) + @classmethod def team_member_storage_request_policy_changed(cls, val): """ @@ -45044,6 +45139,22 @@ def is_team_extensions_policy_changed(self): """ return self._tag == "team_extensions_policy_changed" + def is_team_external_sharing_controls_activation_state_changed(self): + """ + Check if the union tag is ``team_external_sharing_controls_activation_state_changed``. + + :rtype: bool + """ + return self._tag == "team_external_sharing_controls_activation_state_changed" + + def is_team_external_sharing_controls_recipient_lists_changed(self): + """ + Check if the union tag is ``team_external_sharing_controls_recipient_lists_changed``. + + :rtype: bool + """ + return self._tag == "team_external_sharing_controls_recipient_lists_changed" + def is_team_member_storage_request_policy_changed(self): """ Check if the union tag is ``team_member_storage_request_policy_changed``. @@ -52459,6 +52570,35 @@ def get_team_extensions_policy_changed(self): raise AttributeError("tag 'team_extensions_policy_changed' not set") return self._value + def get_team_external_sharing_controls_activation_state_changed(self): + """ + (team_policies) Changed external sharing controls activation state + + Only call this if :meth:`is_team_external_sharing_controls_activation_state_changed` is true. + + :rtype: TeamExternalSharingControlsActivationStateChangedType + """ + if not self.is_team_external_sharing_controls_activation_state_changed(): + raise AttributeError( + "tag 'team_external_sharing_controls_activation_state_changed' not set" + ) + return self._value + + def get_team_external_sharing_controls_recipient_lists_changed(self): + """ + (team_policies) Changed approved or blocked entries for external sharing + controls + + Only call this if :meth:`is_team_external_sharing_controls_recipient_lists_changed` is true. + + :rtype: TeamExternalSharingControlsRecipientListsChangedType + """ + if not self.is_team_external_sharing_controls_recipient_lists_changed(): + raise AttributeError( + "tag 'team_external_sharing_controls_recipient_lists_changed' not set" + ) + return self._value + def get_team_member_storage_request_policy_changed(self): """ (team_policies) Changed team member storage request policy for team @@ -54420,6 +54560,11 @@ class EventTypeArg(bb.Union): (team_policies) Changed team branding policy for team :ivar EventTypeArg.team_extensions_policy_changed: (team_policies) Changed App Integrations setting for team + :ivar EventTypeArg.team_external_sharing_controls_activation_state_changed: + (team_policies) Changed external sharing controls activation state + :ivar EventTypeArg.team_external_sharing_controls_recipient_lists_changed: + (team_policies) Changed approved or blocked entries for external sharing + controls :ivar EventTypeArg.team_member_storage_request_policy_changed: (team_policies) Changed team member storage request policy for team :ivar EventTypeArg.team_selective_sync_policy_changed: @@ -55703,6 +55848,10 @@ class EventTypeArg(bb.Union): # Attribute is overwritten below the class definition team_extensions_policy_changed = None # Attribute is overwritten below the class definition + team_external_sharing_controls_activation_state_changed = None + # Attribute is overwritten below the class definition + team_external_sharing_controls_recipient_lists_changed = None + # Attribute is overwritten below the class definition team_member_storage_request_policy_changed = None # Attribute is overwritten below the class definition team_selective_sync_policy_changed = None @@ -60399,6 +60548,22 @@ def is_team_extensions_policy_changed(self): """ return self._tag == "team_extensions_policy_changed" + def is_team_external_sharing_controls_activation_state_changed(self): + """ + Check if the union tag is ``team_external_sharing_controls_activation_state_changed``. + + :rtype: bool + """ + return self._tag == "team_external_sharing_controls_activation_state_changed" + + def is_team_external_sharing_controls_recipient_lists_changed(self): + """ + Check if the union tag is ``team_external_sharing_controls_recipient_lists_changed``. + + :rtype: bool + """ + return self._tag == "team_external_sharing_controls_recipient_lists_changed" + def is_team_member_storage_request_policy_changed(self): """ Check if the union tag is ``team_member_storage_request_policy_changed``. @@ -61553,6 +61718,64 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): ExternalDriveBackupStatusChangedType_validator = bv.Struct(ExternalDriveBackupStatusChangedType) +class ExternalSharingControlsActivationState(bb.Union): + """ + This class acts as a tagged union. Only one of the ``is_*`` methods will + return true. To get the associated value of a tag (if one exists), use the + corresponding ``get_*`` method. + """ + + _catch_all = "other" + # Attribute is overwritten below the class definition + active = None + # Attribute is overwritten below the class definition + disabled = None + # Attribute is overwritten below the class definition + legacy = None + # Attribute is overwritten below the class definition + other = None + + def is_active(self): + """ + Check if the union tag is ``active``. + + :rtype: bool + """ + return self._tag == "active" + + def is_disabled(self): + """ + Check if the union tag is ``disabled``. + + :rtype: bool + """ + return self._tag == "disabled" + + def is_legacy(self): + """ + Check if the union tag is ``legacy``. + + :rtype: bool + """ + return self._tag == "legacy" + + def is_other(self): + """ + Check if the union tag is ``other``. + + :rtype: bool + """ + return self._tag == "other" + + def _process_custom_annotations(self, annotation_type, field_path, processor): + super(ExternalSharingControlsActivationState, self)._process_custom_annotations( + annotation_type, field_path, processor + ) + + +ExternalSharingControlsActivationState_validator = bv.Union(ExternalSharingControlsActivationState) + + class ExternalSharingCreateReportDetails(bb.Struct): """ Created External sharing report. @@ -94866,6 +95089,166 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): TeamExtensionsPolicyChangedType_validator = bv.Struct(TeamExtensionsPolicyChangedType) +class TeamExternalSharingControlsActivationStateChangedDetails(bb.Struct): + """ + Changed external sharing controls activation state. + + :ivar TeamExternalSharingControlsActivationStateChangedDetails.previous_activation_state: + Previous external sharing controls activation state. + :ivar TeamExternalSharingControlsActivationStateChangedDetails.new_activation_state: + New external sharing controls activation state. + """ + + __slots__ = [ + "_previous_activation_state_value", + "_new_activation_state_value", + ] + + _has_required_fields = True + + def __init__(self, previous_activation_state=None, new_activation_state=None): + self._previous_activation_state_value = bb.NOT_SET + self._new_activation_state_value = bb.NOT_SET + if previous_activation_state is not None: + self.previous_activation_state = previous_activation_state + if new_activation_state is not None: + self.new_activation_state = new_activation_state + + # Instance attribute type: ExternalSharingControlsActivationState (validator is set below) + previous_activation_state = bb.Attribute("previous_activation_state", user_defined=True) + + # Instance attribute type: ExternalSharingControlsActivationState (validator is set below) + new_activation_state = bb.Attribute("new_activation_state", user_defined=True) + + def _process_custom_annotations(self, annotation_type, field_path, processor): + super( + TeamExternalSharingControlsActivationStateChangedDetails, self + )._process_custom_annotations(annotation_type, field_path, processor) + + +TeamExternalSharingControlsActivationStateChangedDetails_validator = bv.Struct( + TeamExternalSharingControlsActivationStateChangedDetails +) + + +class TeamExternalSharingControlsActivationStateChangedType(bb.Struct): + __slots__ = [ + "_description_value", + ] + + _has_required_fields = True + + def __init__(self, description=None): + self._description_value = bb.NOT_SET + if description is not None: + self.description = description + + # Instance attribute type: str (validator is set below) + description = bb.Attribute("description") + + def _process_custom_annotations(self, annotation_type, field_path, processor): + super( + TeamExternalSharingControlsActivationStateChangedType, self + )._process_custom_annotations(annotation_type, field_path, processor) + + +TeamExternalSharingControlsActivationStateChangedType_validator = bv.Struct( + TeamExternalSharingControlsActivationStateChangedType +) + + +class TeamExternalSharingControlsRecipientListsChangedDetails(bb.Struct): + """ + Changed approved or blocked entries for external sharing controls. + + :ivar TeamExternalSharingControlsRecipientListsChangedDetails.added_approved_entries: + Added approved external sharing recipient entries. + :ivar TeamExternalSharingControlsRecipientListsChangedDetails.removed_approved_entries: + Removed approved external sharing recipient entries. + :ivar TeamExternalSharingControlsRecipientListsChangedDetails.added_blocked_entries: + Added blocked external sharing recipient entries. + :ivar TeamExternalSharingControlsRecipientListsChangedDetails.removed_blocked_entries: + Removed blocked external sharing recipient entries. + """ + + __slots__ = [ + "_added_approved_entries_value", + "_removed_approved_entries_value", + "_added_blocked_entries_value", + "_removed_blocked_entries_value", + ] + + _has_required_fields = False + + def __init__( + self, + added_approved_entries=None, + removed_approved_entries=None, + added_blocked_entries=None, + removed_blocked_entries=None, + ): + self._added_approved_entries_value = bb.NOT_SET + self._removed_approved_entries_value = bb.NOT_SET + self._added_blocked_entries_value = bb.NOT_SET + self._removed_blocked_entries_value = bb.NOT_SET + if added_approved_entries is not None: + self.added_approved_entries = added_approved_entries + if removed_approved_entries is not None: + self.removed_approved_entries = removed_approved_entries + if added_blocked_entries is not None: + self.added_blocked_entries = added_blocked_entries + if removed_blocked_entries is not None: + self.removed_blocked_entries = removed_blocked_entries + + # Instance attribute type: list of [str] (validator is set below) + added_approved_entries = bb.Attribute("added_approved_entries", nullable=True) + + # Instance attribute type: list of [str] (validator is set below) + removed_approved_entries = bb.Attribute("removed_approved_entries", nullable=True) + + # Instance attribute type: list of [str] (validator is set below) + added_blocked_entries = bb.Attribute("added_blocked_entries", nullable=True) + + # Instance attribute type: list of [str] (validator is set below) + removed_blocked_entries = bb.Attribute("removed_blocked_entries", nullable=True) + + def _process_custom_annotations(self, annotation_type, field_path, processor): + super( + TeamExternalSharingControlsRecipientListsChangedDetails, self + )._process_custom_annotations(annotation_type, field_path, processor) + + +TeamExternalSharingControlsRecipientListsChangedDetails_validator = bv.Struct( + TeamExternalSharingControlsRecipientListsChangedDetails +) + + +class TeamExternalSharingControlsRecipientListsChangedType(bb.Struct): + __slots__ = [ + "_description_value", + ] + + _has_required_fields = True + + def __init__(self, description=None): + self._description_value = bb.NOT_SET + if description is not None: + self.description = description + + # Instance attribute type: str (validator is set below) + description = bb.Attribute("description") + + def _process_custom_annotations(self, annotation_type, field_path, processor): + super( + TeamExternalSharingControlsRecipientListsChangedType, self + )._process_custom_annotations(annotation_type, field_path, processor) + + +TeamExternalSharingControlsRecipientListsChangedType_validator = bv.Struct( + TeamExternalSharingControlsRecipientListsChangedType +) + + class TeamFolderChangeStatusDetails(bb.Struct): """ Changed archival status of team folder. @@ -104935,6 +105318,12 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): EventDetails._team_extensions_policy_changed_details_validator = ( TeamExtensionsPolicyChangedDetails_validator ) +EventDetails._team_external_sharing_controls_activation_state_changed_details_validator = ( + TeamExternalSharingControlsActivationStateChangedDetails_validator +) +EventDetails._team_external_sharing_controls_recipient_lists_changed_details_validator = ( + TeamExternalSharingControlsRecipientListsChangedDetails_validator +) EventDetails._team_member_storage_request_policy_changed_details_validator = ( TeamMemberStorageRequestPolicyChangedDetails_validator ) @@ -105647,6 +106036,8 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): "stack_cross_team_access_policy_changed_details": EventDetails._stack_cross_team_access_policy_changed_details_validator, "team_branding_policy_changed_details": EventDetails._team_branding_policy_changed_details_validator, "team_extensions_policy_changed_details": EventDetails._team_extensions_policy_changed_details_validator, + "team_external_sharing_controls_activation_state_changed_details": EventDetails._team_external_sharing_controls_activation_state_changed_details_validator, + "team_external_sharing_controls_recipient_lists_changed_details": EventDetails._team_external_sharing_controls_recipient_lists_changed_details_validator, "team_member_storage_request_policy_changed_details": EventDetails._team_member_storage_request_policy_changed_details_validator, "team_selective_sync_policy_changed_details": EventDetails._team_selective_sync_policy_changed_details_validator, "team_sharing_whitelist_subjects_changed_details": EventDetails._team_sharing_whitelist_subjects_changed_details_validator, @@ -106544,6 +106935,12 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): ) EventType._team_branding_policy_changed_validator = TeamBrandingPolicyChangedType_validator EventType._team_extensions_policy_changed_validator = TeamExtensionsPolicyChangedType_validator +EventType._team_external_sharing_controls_activation_state_changed_validator = ( + TeamExternalSharingControlsActivationStateChangedType_validator +) +EventType._team_external_sharing_controls_recipient_lists_changed_validator = ( + TeamExternalSharingControlsRecipientListsChangedType_validator +) EventType._team_member_storage_request_policy_changed_validator = ( TeamMemberStorageRequestPolicyChangedType_validator ) @@ -107223,6 +107620,8 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): "stack_cross_team_access_policy_changed": EventType._stack_cross_team_access_policy_changed_validator, "team_branding_policy_changed": EventType._team_branding_policy_changed_validator, "team_extensions_policy_changed": EventType._team_extensions_policy_changed_validator, + "team_external_sharing_controls_activation_state_changed": EventType._team_external_sharing_controls_activation_state_changed_validator, + "team_external_sharing_controls_recipient_lists_changed": EventType._team_external_sharing_controls_recipient_lists_changed_validator, "team_member_storage_request_policy_changed": EventType._team_member_storage_request_policy_changed_validator, "team_selective_sync_policy_changed": EventType._team_selective_sync_policy_changed_validator, "team_sharing_whitelist_subjects_changed": EventType._team_sharing_whitelist_subjects_changed_validator, @@ -107859,6 +108258,8 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): EventTypeArg._stack_cross_team_access_policy_changed_validator = bv.Void() EventTypeArg._team_branding_policy_changed_validator = bv.Void() EventTypeArg._team_extensions_policy_changed_validator = bv.Void() +EventTypeArg._team_external_sharing_controls_activation_state_changed_validator = bv.Void() +EventTypeArg._team_external_sharing_controls_recipient_lists_changed_validator = bv.Void() EventTypeArg._team_member_storage_request_policy_changed_validator = bv.Void() EventTypeArg._team_selective_sync_policy_changed_validator = bv.Void() EventTypeArg._team_sharing_whitelist_subjects_changed_validator = bv.Void() @@ -108492,6 +108893,8 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): "stack_cross_team_access_policy_changed": EventTypeArg._stack_cross_team_access_policy_changed_validator, "team_branding_policy_changed": EventTypeArg._team_branding_policy_changed_validator, "team_extensions_policy_changed": EventTypeArg._team_extensions_policy_changed_validator, + "team_external_sharing_controls_activation_state_changed": EventTypeArg._team_external_sharing_controls_activation_state_changed_validator, + "team_external_sharing_controls_recipient_lists_changed": EventTypeArg._team_external_sharing_controls_recipient_lists_changed_validator, "team_member_storage_request_policy_changed": EventTypeArg._team_member_storage_request_policy_changed_validator, "team_selective_sync_policy_changed": EventTypeArg._team_selective_sync_policy_changed_validator, "team_sharing_whitelist_subjects_changed": EventTypeArg._team_sharing_whitelist_subjects_changed_validator, @@ -109346,6 +109749,12 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): ) EventTypeArg.team_branding_policy_changed = EventTypeArg("team_branding_policy_changed") EventTypeArg.team_extensions_policy_changed = EventTypeArg("team_extensions_policy_changed") +EventTypeArg.team_external_sharing_controls_activation_state_changed = EventTypeArg( + "team_external_sharing_controls_activation_state_changed" +) +EventTypeArg.team_external_sharing_controls_recipient_lists_changed = EventTypeArg( + "team_external_sharing_controls_recipient_lists_changed" +) EventTypeArg.team_member_storage_request_policy_changed = EventTypeArg( "team_member_storage_request_policy_changed" ) @@ -109661,6 +110070,22 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): ("description", ExternalDriveBackupStatusChangedType.description.validator) ] +ExternalSharingControlsActivationState._active_validator = bv.Void() +ExternalSharingControlsActivationState._disabled_validator = bv.Void() +ExternalSharingControlsActivationState._legacy_validator = bv.Void() +ExternalSharingControlsActivationState._other_validator = bv.Void() +ExternalSharingControlsActivationState._tagmap = { + "active": ExternalSharingControlsActivationState._active_validator, + "disabled": ExternalSharingControlsActivationState._disabled_validator, + "legacy": ExternalSharingControlsActivationState._legacy_validator, + "other": ExternalSharingControlsActivationState._other_validator, +} + +ExternalSharingControlsActivationState.active = ExternalSharingControlsActivationState("active") +ExternalSharingControlsActivationState.disabled = ExternalSharingControlsActivationState("disabled") +ExternalSharingControlsActivationState.legacy = ExternalSharingControlsActivationState("legacy") +ExternalSharingControlsActivationState.other = ExternalSharingControlsActivationState("other") + ExternalSharingCreateReportDetails._all_field_names_ = set([]) ExternalSharingCreateReportDetails._all_fields_ = [] @@ -118575,6 +119000,80 @@ def _process_custom_annotations(self, annotation_type, field_path, processor): ("description", TeamExtensionsPolicyChangedType.description.validator) ] +TeamExternalSharingControlsActivationStateChangedDetails.previous_activation_state.validator = ( + ExternalSharingControlsActivationState_validator +) +TeamExternalSharingControlsActivationStateChangedDetails.new_activation_state.validator = ( + ExternalSharingControlsActivationState_validator +) +TeamExternalSharingControlsActivationStateChangedDetails._all_field_names_ = set( + [ + "previous_activation_state", + "new_activation_state", + ] +) +TeamExternalSharingControlsActivationStateChangedDetails._all_fields_ = [ + ( + "previous_activation_state", + TeamExternalSharingControlsActivationStateChangedDetails.previous_activation_state.validator, + ), + ( + "new_activation_state", + TeamExternalSharingControlsActivationStateChangedDetails.new_activation_state.validator, + ), +] + +TeamExternalSharingControlsActivationStateChangedType.description.validator = bv.String() +TeamExternalSharingControlsActivationStateChangedType._all_field_names_ = set(["description"]) +TeamExternalSharingControlsActivationStateChangedType._all_fields_ = [ + ("description", TeamExternalSharingControlsActivationStateChangedType.description.validator) +] + +TeamExternalSharingControlsRecipientListsChangedDetails.added_approved_entries.validator = ( + bv.Nullable(bv.List(bv.String(), min_items=1)) +) +TeamExternalSharingControlsRecipientListsChangedDetails.removed_approved_entries.validator = ( + bv.Nullable(bv.List(bv.String(), min_items=1)) +) +TeamExternalSharingControlsRecipientListsChangedDetails.added_blocked_entries.validator = ( + bv.Nullable(bv.List(bv.String(), min_items=1)) +) +TeamExternalSharingControlsRecipientListsChangedDetails.removed_blocked_entries.validator = ( + bv.Nullable(bv.List(bv.String(), min_items=1)) +) +TeamExternalSharingControlsRecipientListsChangedDetails._all_field_names_ = set( + [ + "added_approved_entries", + "removed_approved_entries", + "added_blocked_entries", + "removed_blocked_entries", + ] +) +TeamExternalSharingControlsRecipientListsChangedDetails._all_fields_ = [ + ( + "added_approved_entries", + TeamExternalSharingControlsRecipientListsChangedDetails.added_approved_entries.validator, + ), + ( + "removed_approved_entries", + TeamExternalSharingControlsRecipientListsChangedDetails.removed_approved_entries.validator, + ), + ( + "added_blocked_entries", + TeamExternalSharingControlsRecipientListsChangedDetails.added_blocked_entries.validator, + ), + ( + "removed_blocked_entries", + TeamExternalSharingControlsRecipientListsChangedDetails.removed_blocked_entries.validator, + ), +] + +TeamExternalSharingControlsRecipientListsChangedType.description.validator = bv.String() +TeamExternalSharingControlsRecipientListsChangedType._all_field_names_ = set(["description"]) +TeamExternalSharingControlsRecipientListsChangedType._all_fields_ = [ + ("description", TeamExternalSharingControlsRecipientListsChangedType.description.validator) +] + TeamFolderChangeStatusDetails.new_value.validator = team.TeamFolderStatus_validator TeamFolderChangeStatusDetails.previous_value.validator = bv.Nullable( team.TeamFolderStatus_validator diff --git a/spec b/spec index 94b1dbb..21aa909 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit 94b1dbbdcee63a2c22fe88bdc5c6fce22ab10d42 +Subproject commit 21aa90997f23ef47910b2555c0d2dadf2ec93863