package com.platform.modules.live.dto;

import com.platform.modules.live.constants.MediaConstants;
import lombok.Data;

/**
 * @Description: 提交转码作业Dto to 阿里
 * @Author: yikaihong
 * @CreateDate: 2019/1/28 15:57
 * @Version: 1.0
 */

@Data
public class SubmitJobsDto {
    private String action;
    private String input;
    private String outputBucket = MediaConstants.OUTPUT_BUCKET;
    private String outputLocation = MediaConstants.LOCATION;
    private String outputs;
    private String pipelineId = MediaConstants.PIPELINE_ID;

    public SubmitJobsDto(String input, String outputBucket, String outputLocation, String outputs, String pipelineId) {
        this.input = input;
        this.outputBucket = outputBucket;
        this.outputLocation = outputLocation;
        this.outputs = outputs;
        this.pipelineId = pipelineId;
    }

    public SubmitJobsDto(String input, String outputBucket, String outputs, String pipelineId) {
        this.input = input;
        this.outputBucket = outputBucket;
        this.outputs = outputs;
        this.pipelineId = pipelineId;
    }

    public SubmitJobsDto(String input, String outputs, String pipelineId) {
        this.input = input;
        this.outputs = outputs;
        this.pipelineId = pipelineId;
    }

    public SubmitJobsDto(String input, String outputs) {
        this.input = input;
        this.outputs = outputs;
    }

}