-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f981c5
commit 44d360a
Showing
6 changed files
with
278 additions
and
1 deletion.
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,2 +1,2 @@ | ||
configured_endpoints: 107 | ||
configured_endpoints: 108 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/intercom%2Fintercom-a202b2b4aa0e356eb61376a3bf484132be2e9e3bff3796e1fe4606ab2a3734fd.yml |
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
47 changes: 47 additions & 0 deletions
47
src/python_minus_intercom/types/contacts/contact_attached_companies.py
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,47 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import List, Optional | ||
from typing_extensions import Literal | ||
|
||
from ..._models import BaseModel | ||
from ..shared.company import Company | ||
|
||
__all__ = ["ContactAttachedCompanies", "Pages"] | ||
|
||
|
||
class Pages(BaseModel): | ||
next: Optional[str] = None | ||
"""A link to the next page of results. | ||
A response that does not contain a next link does not have further data to | ||
fetch. | ||
""" | ||
|
||
page: Optional[int] = None | ||
|
||
per_page: Optional[int] = None | ||
|
||
total_pages: Optional[int] = None | ||
|
||
type: Optional[Literal["pages"]] = None | ||
|
||
|
||
class ContactAttachedCompanies(BaseModel): | ||
companies: Optional[List[Company]] = None | ||
"""An array containing Company Objects""" | ||
|
||
pages: Optional[Pages] = None | ||
""" | ||
The majority of list resources in the API are paginated to allow clients to | ||
traverse data over multiple requests. | ||
Their responses are likely to contain a pages object that hosts pagination links | ||
which a client can use to paginate through the data without having to construct | ||
a query. The link relations for the pages field are as follows. | ||
""" | ||
|
||
total_count: Optional[int] = None | ||
"""The total number of companies associated to this contact""" | ||
|
||
type: Optional[Literal["list"]] = None | ||
"""The type of object""" |
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