Skip to content

jobs_submit_job_request

OQTOPUS Cloud User API

OQTOPUS Cloud User API. This API is used to interact with the OQTOPUS Cloud service. The API provides endpoints to manage devices, jobs, and results.

The version of the OpenAPI document: 1.0 Contact: oqtopus-team[at]googlegroups.com Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.

Classes:

JobsSubmitJobRequest


              flowchart TD
              oqtopus_client.rest.models.jobs_submit_job_request.JobsSubmitJobRequest[JobsSubmitJobRequest]

              

              click oqtopus_client.rest.models.jobs_submit_job_request.JobsSubmitJobRequest href "" "oqtopus_client.rest.models.jobs_submit_job_request.JobsSubmitJobRequest"
            

JobsSubmitJobRequest

Methods:

  • from_dict

    Create an instance of JobsSubmitJobRequest from a dict

  • from_json

    Create an instance of JobsSubmitJobRequest from a JSON string

  • to_dict

    Return the dictionary representation of the model using alias.

  • to_json

    Returns the JSON representation of the model using alias

  • to_str

    Returns the string representation of the model using alias

from_dict classmethod

from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]

Create an instance of JobsSubmitJobRequest from a dict

from_json classmethod

from_json(json_str: str) -> Optional[Self]

Create an instance of JobsSubmitJobRequest from a JSON string

to_dict

to_dict() -> Dict[str, Any]

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic's self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

to_json

to_json() -> str

Returns the JSON representation of the model using alias

to_str

to_str() -> str

Returns the string representation of the model using alias