-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcreatejob.py
More file actions
21 lines (16 loc) · 834 Bytes
/
createjob.py
File metadata and controls
21 lines (16 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
import dataclasses
import requests as requests_http
from ..models import jobresponse as models_jobresponse
from typing import Optional
@dataclasses.dataclass
class CreateJobResponse:
content_type: str = dataclasses.field()
r"""HTTP response content type for this operation"""
status_code: int = dataclasses.field()
r"""HTTP response status code for this operation"""
raw_response: requests_http.Response = dataclasses.field()
r"""Raw HTTP response; suitable for custom response parsing"""
job_response: Optional[models_jobresponse.JobResponse] = dataclasses.field(default=None)
r"""Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for."""