-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update collaboration resource (box/box-openapi#483)
- Loading branch information
1 parent
d396b07
commit 72d6ed9
Showing
14 changed files
with
211 additions
and
83 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": "6ae899a", "specHash": "c2c76f3", "version": "1.7.0" } | ||
{ "engineHash": "6ae899a", "specHash": "6d5f53e", "version": "1.7.0" } |
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,45 @@ | ||
from typing import Optional | ||
|
||
from typing import List | ||
|
||
from box_sdk_gen.internal.base_object import BaseObject | ||
|
||
from box_sdk_gen.schemas.collaboration import Collaboration | ||
|
||
|
||
class CollaborationsOffsetPaginated(BaseObject): | ||
def __init__( | ||
self, | ||
*, | ||
total_count: Optional[int] = None, | ||
limit: Optional[int] = None, | ||
offset: Optional[int] = None, | ||
entries: Optional[List[Collaboration]] = None, | ||
**kwargs | ||
): | ||
""" | ||
:param total_count: One greater than the offset of the last entry in the entire collection. | ||
The total number of entries in the collection may be less than | ||
`total_count`. | ||
This field is only returned for calls that use offset-based pagination. | ||
For marker-based paginated APIs, this field will be omitted., defaults to None | ||
:type total_count: Optional[int], optional | ||
: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 offset: The 0-based offset of the first entry in this set. This will be the same | ||
as the `offset` query parameter. | ||
This field is only returned for calls that use offset-based pagination. | ||
For marker-based paginated APIs, this field will be omitted., defaults to None | ||
:type offset: Optional[int], optional | ||
:param entries: A list of collaborations, defaults to None | ||
:type entries: Optional[List[Collaboration]], optional | ||
""" | ||
super().__init__(**kwargs) | ||
self.total_count = total_count | ||
self.limit = limit | ||
self.offset = offset | ||
self.entries = entries |
Oops, something went wrong.