Skip to content

Commit

Permalink
remove redundant user_id (box/box-openapi#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build committed Dec 6, 2024
1 parent 13b43a6 commit 5e97462
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "5604447", "specHash": "86fde16", "version": "1.8.0" }
{ "engineHash": "5604447", "specHash": "b2a3e3b", "version": "1.8.0" }
7 changes: 1 addition & 6 deletions box_sdk_gen/managers/trashed_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,13 @@


class RestoreFileFromTrashParent(BaseObject):
def __init__(
self, *, id: Optional[str] = None, user_id: Optional[str] = None, **kwargs
):
def __init__(self, *, id: Optional[str] = None, **kwargs):
"""
:param id: The ID of parent item, defaults to None
:type id: Optional[str], optional
:param user_id: The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided., defaults to None
:type user_id: Optional[str], optional
"""
super().__init__(**kwargs)
self.id = id
self.user_id = user_id


class TrashedFilesManager:
Expand Down
7 changes: 1 addition & 6 deletions box_sdk_gen/managers/trashed_folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,13 @@


class RestoreFolderFromTrashParent(BaseObject):
def __init__(
self, *, id: Optional[str] = None, user_id: Optional[str] = None, **kwargs
):
def __init__(self, *, id: Optional[str] = None, **kwargs):
"""
:param id: The ID of parent item, defaults to None
:type id: Optional[str], optional
:param user_id: The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided., defaults to None
:type user_id: Optional[str], optional
"""
super().__init__(**kwargs)
self.id = id
self.user_id = user_id


class TrashedFoldersManager:
Expand Down
7 changes: 1 addition & 6 deletions box_sdk_gen/managers/trashed_web_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,13 @@


class RestoreWeblinkFromTrashParent(BaseObject):
def __init__(
self, *, id: Optional[str] = None, user_id: Optional[str] = None, **kwargs
):
def __init__(self, *, id: Optional[str] = None, **kwargs):
"""
:param id: The ID of parent item, defaults to None
:type id: Optional[str], optional
:param user_id: The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided., defaults to None
:type user_id: Optional[str], optional
"""
super().__init__(**kwargs)
self.id = id
self.user_id = user_id


class TrashedWebLinksManager:
Expand Down
7 changes: 1 addition & 6 deletions box_sdk_gen/managers/uploads.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,13 @@ def __init__(


class PreflightFileUploadCheckParent(BaseObject):
def __init__(
self, *, id: Optional[str] = None, user_id: Optional[str] = None, **kwargs
):
def __init__(self, *, id: Optional[str] = None, **kwargs):
"""
:param id: The ID of parent item, defaults to None
:type id: Optional[str], optional
:param user_id: The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided., defaults to None
:type user_id: Optional[str], optional
"""
super().__init__(**kwargs)
self.id = id
self.user_id = user_id


class UploadFileAttributesParentField(BaseObject):
Expand Down

0 comments on commit 5e97462

Please sign in to comment.