-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix schemas for updating classification on a file and folder (bo…
- Loading branch information
1 parent
edaa076
commit f3ec8c6
Showing
12 changed files
with
103 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "engineHash": "c8ba3d9", "specHash": "d5769a1", "version": "0.6.5" } | ||
{ "engineHash": "c8ba3d9", "specHash": "98bca8f", "version": "0.6.5" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from typing import Optional | ||
|
||
from typing import List | ||
|
||
from box_sdk_gen.internal.base_object import BaseObject | ||
|
||
from box_sdk_gen.schemas.file_version import FileVersion | ||
|
||
|
||
class FileVersionsOnHold(BaseObject): | ||
def __init__( | ||
self, | ||
*, | ||
limit: Optional[int] = None, | ||
next_marker: Optional[str] = None, | ||
prev_marker: Optional[str] = None, | ||
entries: Optional[List[FileVersion]] = None, | ||
**kwargs | ||
): | ||
""" | ||
:param limit: The limit that was used for these entries. This will be the same as the | ||
`limit` query parameter unless that value exceeded the maximum value | ||
allowed. The maximum value varies by API., defaults to None | ||
:type limit: Optional[int], optional | ||
:param next_marker: The marker for the start of the next page of results., defaults to None | ||
:type next_marker: Optional[str], optional | ||
:param prev_marker: The marker for the start of the previous page of results., defaults to None | ||
:type prev_marker: Optional[str], optional | ||
:param entries: A list of file versions on hold., defaults to None | ||
:type entries: Optional[List[FileVersion]], optional | ||
""" | ||
super().__init__(**kwargs) | ||
self.limit = limit | ||
self.next_marker = next_marker | ||
self.prev_marker = prev_marker | ||
self.entries = entries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from typing import Optional | ||
|
||
from typing import List | ||
|
||
from box_sdk_gen.internal.base_object import BaseObject | ||
|
||
from box_sdk_gen.schemas.file_mini import FileMini | ||
|
||
|
||
class FilesOnHold(BaseObject): | ||
def __init__( | ||
self, | ||
*, | ||
limit: Optional[int] = None, | ||
next_marker: Optional[str] = None, | ||
prev_marker: Optional[str] = None, | ||
entries: Optional[List[FileMini]] = None, | ||
**kwargs | ||
): | ||
""" | ||
:param limit: The limit that was used for these entries. This will be the same as the | ||
`limit` query parameter unless that value exceeded the maximum value | ||
allowed. The maximum value varies by API., defaults to None | ||
:type limit: Optional[int], optional | ||
:param next_marker: The marker for the start of the next page of results., defaults to None | ||
:type next_marker: Optional[str], optional | ||
:param prev_marker: The marker for the start of the previous page of results., defaults to None | ||
:type prev_marker: Optional[str], optional | ||
:param entries: A list of files, defaults to None | ||
:type entries: Optional[List[FileMini]], optional | ||
""" | ||
super().__init__(**kwargs) | ||
self.limit = limit | ||
self.next_marker = next_marker | ||
self.prev_marker = prev_marker | ||
self.entries = entries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters