All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ice20201109.models.GetPackageJobResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;

import com.aliyun.tea.*;

public class GetPackageJobResponseBody extends TeaModel {
    /**
     * 

The information about the packaging job.

*/ @NameInMap("PackageJob") public GetPackageJobResponseBodyPackageJob packageJob; /** *

The request ID.

* * example: *

31E30781-9495-5E2D-A84D-759B0A01E262

*/ @NameInMap("RequestId") public String requestId; public static GetPackageJobResponseBody build(java.util.Map map) throws Exception { GetPackageJobResponseBody self = new GetPackageJobResponseBody(); return TeaModel.build(map, self); } public GetPackageJobResponseBody setPackageJob(GetPackageJobResponseBodyPackageJob packageJob) { this.packageJob = packageJob; return this; } public GetPackageJobResponseBodyPackageJob getPackageJob() { return this.packageJob; } public GetPackageJobResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetPackageJobResponseBodyPackageJobInputsInput extends TeaModel { /** *

The media object.

*
    *
  • If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported.
  • *
  • If Type is set to Media, the ID of a media asset is returned.
  • *
* * example: *

oss://bucket/path/to/video.mp4

*/ @NameInMap("Media") public String media; /** *

The type of the media object. Valid values:

*
    *
  • OSS: an Object Storage Service (OSS) object.
  • *
  • Media: a media asset.
  • *
* * example: *

OSS

*/ @NameInMap("Type") public String type; public static GetPackageJobResponseBodyPackageJobInputsInput build(java.util.Map map) throws Exception { GetPackageJobResponseBodyPackageJobInputsInput self = new GetPackageJobResponseBodyPackageJobInputsInput(); return TeaModel.build(map, self); } public GetPackageJobResponseBodyPackageJobInputsInput setMedia(String media) { this.media = media; return this; } public String getMedia() { return this.media; } public GetPackageJobResponseBodyPackageJobInputsInput setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } public static class GetPackageJobResponseBodyPackageJobInputs extends TeaModel { /** *

The information about the input stream file.

*/ @NameInMap("Input") public GetPackageJobResponseBodyPackageJobInputsInput input; public static GetPackageJobResponseBodyPackageJobInputs build(java.util.Map map) throws Exception { GetPackageJobResponseBodyPackageJobInputs self = new GetPackageJobResponseBodyPackageJobInputs(); return TeaModel.build(map, self); } public GetPackageJobResponseBodyPackageJobInputs setInput(GetPackageJobResponseBodyPackageJobInputsInput input) { this.input = input; return this; } public GetPackageJobResponseBodyPackageJobInputsInput getInput() { return this.input; } } public static class GetPackageJobResponseBodyPackageJobOutput extends TeaModel { /** *

The media object.

*
    *
  • If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported.
  • *
  • If Type is set to Media, the ID of a media asset is returned.
  • *
* * example: *

oss://bucket/path/to/video.m3u8

*/ @NameInMap("Media") public String media; /** *

The type of the media object. Valid values:

*
    *
  • OSS: an OSS object.
  • *
  • Media: a media asset.
  • *
* * example: *

OSS

*/ @NameInMap("Type") public String type; public static GetPackageJobResponseBodyPackageJobOutput build(java.util.Map map) throws Exception { GetPackageJobResponseBodyPackageJobOutput self = new GetPackageJobResponseBodyPackageJobOutput(); return TeaModel.build(map, self); } public GetPackageJobResponseBodyPackageJobOutput setMedia(String media) { this.media = media; return this; } public String getMedia() { return this.media; } public GetPackageJobResponseBodyPackageJobOutput setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } public static class GetPackageJobResponseBodyPackageJob extends TeaModel { /** *

The error code returned if the job fails.

* * example: *

InvalidParameter

*/ @NameInMap("Code") public String code; /** *

The time when the job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

* * example: *

2022-09-08T11:34:05Z

*/ @NameInMap("CreateTime") public String createTime; /** *

The time when the job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

* * example: *

2022-09-08T11:44:05Z

*/ @NameInMap("FinishTime") public String finishTime; /** *

The input of the job.

*/ @NameInMap("Inputs") public java.util.List inputs; /** *

The job ID.

* * example: *

ab4802364a2e49208c99efab82dfa8e8

*/ @NameInMap("JobId") public String jobId; /** *

The error message that is returned.

* * example: *

Resource content bad.

*/ @NameInMap("Message") public String message; /** *

The time when the job was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

* * example: *

2022-09-08T11:44:05Z

*/ @NameInMap("ModifiedTime") public String modifiedTime; /** *

The name of the job.

* * example: *

job-name

*/ @NameInMap("Name") public String name; /** *

The output of the job.

*/ @NameInMap("Output") public GetPackageJobResponseBodyPackageJobOutput output; /** *

The URL of the output file.

* * example: *

http://bucket.oss-cn-shanghai.aliyuncs.com/output.m3u8

*/ @NameInMap("OutputUrl") public String outputUrl; /** *

The ID of the MPS queue to which the job was submitted.

* * example: *

36f3fee40aa047c0b067d0fb85edc12b

*/ @NameInMap("PipelineId") public String pipelineId; /** *

The priority of the job. Valid values: 1 to 10. The greater the value, the higher the priority.

* * example: *

6

*/ @NameInMap("Priority") public Integer priority; /** *

The state of the job.

* * example: *

Init

*/ @NameInMap("Status") public String status; /** *

The time when the job was submitted. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

* * example: *

2022-09-08T11:34:05Z

*/ @NameInMap("SubmitTime") public String submitTime; /** *

The source of the job. Valid values:

*
    *
  • API
  • *
  • WorkFlow
  • *
  • Console
  • *
* * example: *

API

*/ @NameInMap("TriggerSource") public String triggerSource; /** *

The user-defined data.

* * example: *

{"param": "value"}

*/ @NameInMap("UserData") public String userData; public static GetPackageJobResponseBodyPackageJob build(java.util.Map map) throws Exception { GetPackageJobResponseBodyPackageJob self = new GetPackageJobResponseBodyPackageJob(); return TeaModel.build(map, self); } public GetPackageJobResponseBodyPackageJob setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public GetPackageJobResponseBodyPackageJob setCreateTime(String createTime) { this.createTime = createTime; return this; } public String getCreateTime() { return this.createTime; } public GetPackageJobResponseBodyPackageJob setFinishTime(String finishTime) { this.finishTime = finishTime; return this; } public String getFinishTime() { return this.finishTime; } public GetPackageJobResponseBodyPackageJob setInputs(java.util.List inputs) { this.inputs = inputs; return this; } public java.util.List getInputs() { return this.inputs; } public GetPackageJobResponseBodyPackageJob setJobId(String jobId) { this.jobId = jobId; return this; } public String getJobId() { return this.jobId; } public GetPackageJobResponseBodyPackageJob setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetPackageJobResponseBodyPackageJob setModifiedTime(String modifiedTime) { this.modifiedTime = modifiedTime; return this; } public String getModifiedTime() { return this.modifiedTime; } public GetPackageJobResponseBodyPackageJob setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public GetPackageJobResponseBodyPackageJob setOutput(GetPackageJobResponseBodyPackageJobOutput output) { this.output = output; return this; } public GetPackageJobResponseBodyPackageJobOutput getOutput() { return this.output; } public GetPackageJobResponseBodyPackageJob setOutputUrl(String outputUrl) { this.outputUrl = outputUrl; return this; } public String getOutputUrl() { return this.outputUrl; } public GetPackageJobResponseBodyPackageJob setPipelineId(String pipelineId) { this.pipelineId = pipelineId; return this; } public String getPipelineId() { return this.pipelineId; } public GetPackageJobResponseBodyPackageJob setPriority(Integer priority) { this.priority = priority; return this; } public Integer getPriority() { return this.priority; } public GetPackageJobResponseBodyPackageJob setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public GetPackageJobResponseBodyPackageJob setSubmitTime(String submitTime) { this.submitTime = submitTime; return this; } public String getSubmitTime() { return this.submitTime; } public GetPackageJobResponseBodyPackageJob setTriggerSource(String triggerSource) { this.triggerSource = triggerSource; return this; } public String getTriggerSource() { return this.triggerSource; } public GetPackageJobResponseBodyPackageJob setUserData(String userData) { this.userData = userData; return this; } public String getUserData() { return this.userData; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy