@@ -45,11 +45,12 @@ class GetJobDeploymentResponse(BaseModel):
4545 env_vars : Optional [Dict [str , StrictStr ]] = None
4646 command : Optional [List [StrictStr ]] = None
4747 args : Optional [List [StrictStr ]] = None
48+ original_command : Optional [StrictStr ] = None
4849 completions : Optional [StrictInt ] = 1
4950 parallelism : Optional [StrictInt ] = 1
5051 image_pull_secret_credentials : Optional [ImagePullSecretCredentials ] = None
5152 enable_logging : Optional [StrictBool ] = True
52- __properties : ClassVar [List [str ]] = ["creator_email" , "cluster_id" , "id" , "name" , "endpoint_url" , "image_url" , "type" , "status" , "created_at" , "hardware_instance_id" , "revision_number" , "user_annotations" , "env_vars" , "command" , "args" , "completions" , "parallelism" , "image_pull_secret_credentials" , "enable_logging" ]
53+ __properties : ClassVar [List [str ]] = ["creator_email" , "cluster_id" , "id" , "name" , "endpoint_url" , "image_url" , "type" , "status" , "created_at" , "hardware_instance_id" , "revision_number" , "user_annotations" , "env_vars" , "command" , "args" , "original_command" , " completions" , "parallelism" , "image_pull_secret_credentials" , "enable_logging" ]
5354
5455 model_config = ConfigDict (
5556 populate_by_name = True ,
@@ -118,6 +119,11 @@ def to_dict(self) -> Dict[str, Any]:
118119 if self .args is None and "args" in self .model_fields_set :
119120 _dict ['args' ] = None
120121
122+ # set to None if original_command (nullable) is None
123+ # and model_fields_set contains the field
124+ if self .original_command is None and "original_command" in self .model_fields_set :
125+ _dict ['original_command' ] = None
126+
121127 # set to None if image_pull_secret_credentials (nullable) is None
122128 # and model_fields_set contains the field
123129 if self .image_pull_secret_credentials is None and "image_pull_secret_credentials" in self .model_fields_set :
@@ -150,6 +156,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
150156 "env_vars" : obj .get ("env_vars" ),
151157 "command" : obj .get ("command" ),
152158 "args" : obj .get ("args" ),
159+ "original_command" : obj .get ("original_command" ),
153160 "completions" : obj .get ("completions" ) if obj .get ("completions" ) is not None else 1 ,
154161 "parallelism" : obj .get ("parallelism" ) if obj .get ("parallelism" ) is not None else 1 ,
155162 "image_pull_secret_credentials" : ImagePullSecretCredentials .from_dict (obj ["image_pull_secret_credentials" ]) if obj .get ("image_pull_secret_credentials" ) is not None else None ,
0 commit comments