nexla_sdk.resources.projects
Classes
ProjectsResource
Defined in nexla_sdk/resources/projects.py:8
Resource for managing projects.
Methods:
add_flows(self, project_id: int, flows: nexla_sdk.models.projects.requests.ProjectFlowList) -> nexla_sdk.models.flows.responses.FlowResponse- Source:
nexla_sdk/resources/projects.py:95 - Add flows to project.
- Source:
create(self, data: nexla_sdk.models.projects.requests.ProjectCreate) -> nexla_sdk.models.projects.responses.Project- Source:
nexla_sdk/resources/projects.py:44 - Create new project.
- Source:
delete(self, project_id: int) -> Dict[str, Any]- Source:
nexla_sdk/resources/projects.py:69 - Delete project.
- Source:
get(self, project_id: int, expand: bool = False) -> nexla_sdk.models.projects.responses.Project- Source:
nexla_sdk/resources/projects.py:31 - Get single project by ID.
- Source:
get_flows(self, project_id: int) -> nexla_sdk.models.flows.responses.FlowResponse- Source:
nexla_sdk/resources/projects.py:81 - Get flows in project.
- Source:
list(self, expand: bool = False, **kwargs) -> List[nexla_sdk.models.projects.responses.Project]- Source:
nexla_sdk/resources/projects.py:16 - List all projects.
- Source:
remove_flows(self, project_id: int, flows: Optional[nexla_sdk.models.projects.requests.ProjectFlowList] = None) -> nexla_sdk.models.flows.responses.FlowResponse- Source:
nexla_sdk/resources/projects.py:125 - Remove flows from project.
- Source:
replace_flows(self, project_id: int, flows: nexla_sdk.models.projects.requests.ProjectFlowList) -> nexla_sdk.models.flows.responses.FlowResponse- Source:
nexla_sdk/resources/projects.py:110 - Replace all flows in project.
- Source:
update(self, project_id: int, data: nexla_sdk.models.projects.requests.ProjectUpdate) -> nexla_sdk.models.projects.responses.Project- Source:
nexla_sdk/resources/projects.py:56 - Update project.
- Source: