Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions dropbox/team_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -90881,22 +90881,31 @@ class SharedLinkViewDetails(bb.Struct):

:ivar SharedLinkViewDetails.shared_link_owner:
Shared link owner details. Might be missing due to historical data gap.
:ivar SharedLinkViewDetails.subdomain:
Team subdomain used to access the shared link.
"""

__slots__ = [
"_shared_link_owner_value",
"_subdomain_value",
]

_has_required_fields = False

def __init__(self, shared_link_owner=None):
def __init__(self, shared_link_owner=None, subdomain=None):
self._shared_link_owner_value = bb.NOT_SET
self._subdomain_value = bb.NOT_SET
if shared_link_owner is not None:
self.shared_link_owner = shared_link_owner
if subdomain is not None:
self.subdomain = subdomain

# Instance attribute type: UserLogInfo (validator is set below)
shared_link_owner = bb.Attribute("shared_link_owner", nullable=True, user_defined=True)

# Instance attribute type: str (validator is set below)
subdomain = bb.Attribute("subdomain", nullable=True)

def _process_custom_annotations(self, annotation_type, field_path, processor):
super(SharedLinkViewDetails, self)._process_custom_annotations(
annotation_type, field_path, processor
Expand Down Expand Up @@ -119481,9 +119490,16 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
SharedLinkShareType._all_fields_ = [("description", SharedLinkShareType.description.validator)]

SharedLinkViewDetails.shared_link_owner.validator = bv.Nullable(UserLogInfo_validator)
SharedLinkViewDetails._all_field_names_ = set(["shared_link_owner"])
SharedLinkViewDetails.subdomain.validator = bv.Nullable(bv.String())
SharedLinkViewDetails._all_field_names_ = set(
[
"shared_link_owner",
"subdomain",
]
)
SharedLinkViewDetails._all_fields_ = [
("shared_link_owner", SharedLinkViewDetails.shared_link_owner.validator)
("shared_link_owner", SharedLinkViewDetails.shared_link_owner.validator),
("subdomain", SharedLinkViewDetails.subdomain.validator),
]

SharedLinkViewType.description.validator = bv.String()
Expand Down
2 changes: 1 addition & 1 deletion spec
Submodule spec updated 1 files
+3 −0 team_log.stone
Loading