inttegro.resources.file_references

Generated public typing surface. Do not edit by hand.

 1"""File reference reconciliation resource."""
 2
 3from __future__ import annotations
 4
 5from ..http_client import HttpClient
 6
 7
 8class FileReferences:
 9    """Reconcile Inttegro resource file references.
10
11    Access this service as ``InttegroClient.file_references``. Methods use the client's shared transport and return the typed resource shapes documented below.
12    """
13
14    def __init__(self, http: HttpClient):
15        self.http = http
16
17    def reconcile(self, payload: dict):
18        """Replace the live file references for a Inttegro resource.
19
20        API endpoint: ``/file_references/reconcile``.
21
22        Args:
23            payload (dict): Typed request object or equivalent request mapping for this operation.
24
25        Returns:
26            ``Reconciliation`` decoded from the documented response shape.
27
28        Raises:
29            APIError: The API rejected the request or could not complete it.
30            NetworkError: The request could not reach the Inttegro API.
31            TimeoutError: The configured request deadline elapsed.
32        """
33        return self.http.post("/file_references/reconcile", payload)
class FileReferences:
 9class FileReferences:
10    """Reconcile Inttegro resource file references.
11
12    Access this service as ``InttegroClient.file_references``. Methods use the client's shared transport and return the typed resource shapes documented below.
13    """
14
15    def __init__(self, http: HttpClient):
16        self.http = http
17
18    def reconcile(self, payload: dict):
19        """Replace the live file references for a Inttegro resource.
20
21        API endpoint: ``/file_references/reconcile``.
22
23        Args:
24            payload (dict): Typed request object or equivalent request mapping for this operation.
25
26        Returns:
27            ``Reconciliation`` decoded from the documented response shape.
28
29        Raises:
30            APIError: The API rejected the request or could not complete it.
31            NetworkError: The request could not reach the Inttegro API.
32            TimeoutError: The configured request deadline elapsed.
33        """
34        return self.http.post("/file_references/reconcile", payload)

Reconcile Inttegro resource file references.

Access this service as InttegroClient.file_references. Methods use the client's shared transport and return the typed resource shapes documented below.

FileReferences(http: inttegro.http_client.HttpClient)
15    def __init__(self, http: HttpClient):
16        self.http = http
http
18    def reconcile(self, payload: dict):
19        """Replace the live file references for a Inttegro resource.
20
21        API endpoint: ``/file_references/reconcile``.
22
23        Args:
24            payload (dict): Typed request object or equivalent request mapping for this operation.
25
26        Returns:
27            ``Reconciliation`` decoded from the documented response shape.
28
29        Raises:
30            APIError: The API rejected the request or could not complete it.
31            NetworkError: The request could not reach the Inttegro API.
32            TimeoutError: The configured request deadline elapsed.
33        """
34        return self.http.post("/file_references/reconcile", payload)

Replace the live file references for a Inttegro resource.

API endpoint: /file_references/reconcile.

Arguments:
  • payload (dict): Typed request object or equivalent request mapping for this operation.
Returns:

Reconciliation decoded from the documented response shape.

Raises:
  • APIError: The API rejected the request or could not complete it.
  • NetworkError: The request could not reach the Inttegro API.
  • TimeoutError: The configured request deadline elapsed.