index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetVideoPlayAuthResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetVideoPlayAuthResponseBody} extends {@link TeaModel}
*
* <p>GetVideoPlayAuthResponseBody</p>
*/
public class GetVideoPlayAuthResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PlayAuth")
private String playAuth;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VideoMeta")
private VideoMeta videoMeta;
private GetVideoPlayAuthResponseBody(Builder builder) {
this.playAuth = builder.playAuth;
this.requestId = builder.requestId;
this.videoMeta = builder.videoMeta;
}
public static Builder builder() {
return new Builder();
}
public static GetVideoPlayAuthResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return playAuth
*/
public String getPlayAuth() {
return this.playAuth;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return videoMeta
*/
public VideoMeta getVideoMeta() {
return this.videoMeta;
}
public static final class Builder {
private String playAuth;
private String requestId;
private VideoMeta videoMeta;
private Builder() {
}
private Builder(GetVideoPlayAuthResponseBody model) {
this.playAuth = model.playAuth;
this.requestId = model.requestId;
this.videoMeta = model.videoMeta;
}
/**
* <p>The credential for media playback.</p>
*
* <strong>example:</strong>
* <p>sstyYuew6789000000xtt7TYUh****</p>
*/
public Builder playAuth(String playAuth) {
this.playAuth = playAuth;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E4EBD2BF-5EB0-4476-8829-9D94E1B1****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The metadata of the audio or video file.</p>
*/
public Builder videoMeta(VideoMeta videoMeta) {
this.videoMeta = videoMeta;
return this;
}
public GetVideoPlayAuthResponseBody build() {
return new GetVideoPlayAuthResponseBody(this);
}
}
/**
*
* {@link GetVideoPlayAuthResponseBody} extends {@link TeaModel}
*
* <p>GetVideoPlayAuthResponseBody</p>
*/
public static class VideoMeta extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CoverURL")
private String coverURL;
@com.aliyun.core.annotation.NameInMap("Duration")
private Float duration;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
private VideoMeta(Builder builder) {
this.coverURL = builder.coverURL;
this.duration = builder.duration;
this.status = builder.status;
this.title = builder.title;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static VideoMeta create() {
return builder().build();
}
/**
* @return coverURL
*/
public String getCoverURL() {
return this.coverURL;
}
/**
* @return duration
*/
public Float getDuration() {
return this.duration;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder {
private String coverURL;
private Float duration;
private String status;
private String title;
private String videoId;
private Builder() {
}
private Builder(VideoMeta model) {
this.coverURL = model.coverURL;
this.duration = model.duration;
this.status = model.status;
this.title = model.title;
this.videoId = model.videoId;
}
/**
* <p>The thumbnail URL of the media file.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.aliyundoc.com/****.jpg">https://example.aliyundoc.com/****.jpg</a></p>
*/
public Builder coverURL(String coverURL) {
this.coverURL = coverURL;
return this;
}
/**
* <p>The duration of the media file. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>120.0</p>
*/
public Builder duration(Float duration) {
this.duration = duration;
return this;
}
/**
* <p>The status of the media file. For more information about the value range and description, see <a href="~~52839#title-vqg-8cz-7p8~~">Status: the status of a video</a>.</p>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The title of the media file.</p>
*
* <strong>example:</strong>
* <p>VOD</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* <p>The ID of the media file.</p>
*
* <strong>example:</strong>
* <p>dfde02284a5c46622a097adaf44a****</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
public VideoMeta build() {
return new VideoMeta(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetVodTemplateRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetVodTemplateRequest} extends {@link RequestModel}
*
* <p>GetVodTemplateRequest</p>
*/
public class GetVodTemplateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VodTemplateId")
@com.aliyun.core.annotation.Validation(required = true)
private String vodTemplateId;
private GetVodTemplateRequest(Builder builder) {
super(builder);
this.vodTemplateId = builder.vodTemplateId;
}
public static Builder builder() {
return new Builder();
}
public static GetVodTemplateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return vodTemplateId
*/
public String getVodTemplateId() {
return this.vodTemplateId;
}
public static final class Builder extends Request.Builder<GetVodTemplateRequest, Builder> {
private String vodTemplateId;
private Builder() {
super();
}
private Builder(GetVodTemplateRequest request) {
super(request);
this.vodTemplateId = request.vodTemplateId;
}
/**
* <p>The ID of the snapshot template.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>7c49f2f4c0969*****fcd446690</p>
*/
public Builder vodTemplateId(String vodTemplateId) {
this.putQueryParameter("VodTemplateId", vodTemplateId);
this.vodTemplateId = vodTemplateId;
return this;
}
@Override
public GetVodTemplateRequest build() {
return new GetVodTemplateRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetVodTemplateResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetVodTemplateResponse} extends {@link TeaModel}
*
* <p>GetVodTemplateResponse</p>
*/
public class GetVodTemplateResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetVodTemplateResponseBody body;
private GetVodTemplateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetVodTemplateResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetVodTemplateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetVodTemplateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetVodTemplateResponseBody body);
@Override
GetVodTemplateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetVodTemplateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetVodTemplateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetVodTemplateResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetVodTemplateResponseBody body) {
this.body = body;
return this;
}
@Override
public GetVodTemplateResponse build() {
return new GetVodTemplateResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetVodTemplateResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetVodTemplateResponseBody} extends {@link TeaModel}
*
* <p>GetVodTemplateResponseBody</p>
*/
public class GetVodTemplateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VodTemplateInfo")
private VodTemplateInfo vodTemplateInfo;
private GetVodTemplateResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.vodTemplateInfo = builder.vodTemplateInfo;
}
public static Builder builder() {
return new Builder();
}
public static GetVodTemplateResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vodTemplateInfo
*/
public VodTemplateInfo getVodTemplateInfo() {
return this.vodTemplateInfo;
}
public static final class Builder {
private String requestId;
private VodTemplateInfo vodTemplateInfo;
private Builder() {
}
private Builder(GetVodTemplateResponseBody model) {
this.requestId = model.requestId;
this.vodTemplateInfo = model.vodTemplateInfo;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>DE7A1F49-41C1-47*****DF-4CD0C02087DB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the snapshot template.</p>
*/
public Builder vodTemplateInfo(VodTemplateInfo vodTemplateInfo) {
this.vodTemplateInfo = vodTemplateInfo;
return this;
}
public GetVodTemplateResponseBody build() {
return new GetVodTemplateResponseBody(this);
}
}
/**
*
* {@link GetVodTemplateResponseBody} extends {@link TeaModel}
*
* <p>GetVodTemplateResponseBody</p>
*/
public static class VodTemplateInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private String isDefault;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("TemplateConfig")
private String templateConfig;
@com.aliyun.core.annotation.NameInMap("TemplateType")
private String templateType;
@com.aliyun.core.annotation.NameInMap("VodTemplateId")
private String vodTemplateId;
private VodTemplateInfo(Builder builder) {
this.creationTime = builder.creationTime;
this.isDefault = builder.isDefault;
this.modifyTime = builder.modifyTime;
this.name = builder.name;
this.templateConfig = builder.templateConfig;
this.templateType = builder.templateType;
this.vodTemplateId = builder.vodTemplateId;
}
public static Builder builder() {
return new Builder();
}
public static VodTemplateInfo create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return templateConfig
*/
public String getTemplateConfig() {
return this.templateConfig;
}
/**
* @return templateType
*/
public String getTemplateType() {
return this.templateType;
}
/**
* @return vodTemplateId
*/
public String getVodTemplateId() {
return this.vodTemplateId;
}
public static final class Builder {
private String creationTime;
private String isDefault;
private String modifyTime;
private String name;
private String templateConfig;
private String templateType;
private String vodTemplateId;
private Builder() {
}
private Builder(VodTemplateInfo model) {
this.creationTime = model.creationTime;
this.isDefault = model.isDefault;
this.modifyTime = model.modifyTime;
this.name = model.name;
this.templateConfig = model.templateConfig;
this.templateType = model.templateType;
this.vodTemplateId = model.vodTemplateId;
}
/**
* <p>The time when the template was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-11-30T08:05:59:57Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>Indicates whether the template is the default one. Valid values:</p>
* <ul>
* <li><strong>Default</strong>: The template is the default one.</li>
* <li><strong>NotDefault</strong>: The template is not the default one.</li>
* </ul>
*
* <strong>example:</strong>
* <p>NotDefault</p>
*/
public Builder isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* <p>The time when the template was modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-11-30T09:05:59:57Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The name of the template.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The detailed configurations of the template. The value is a JSON-formatted string. For more information about the data structure, see the "SnapshotTemplateConfig" section of the <a href="https://help.aliyun.com/document_detail/98618.html">Media processing parameters</a> topic.</p>
*
* <strong>example:</strong>
* <p>{"SnapshotConfig":{"Count":10,"SpecifiedOffsetTime":0,"Interval":1},"SnapshotType":"NormalSnapshot"}</p>
*/
public Builder templateConfig(String templateConfig) {
this.templateConfig = templateConfig;
return this;
}
/**
* <p>The type of the template. Valid values:</p>
* <ul>
* <li><strong>Snapshot</strong></li>
* <li><strong>DynamicImage</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Snapshot</p>
*/
public Builder templateType(String templateType) {
this.templateType = templateType;
return this;
}
/**
* <p>The ID of the template.</p>
*
* <strong>example:</strong>
* <p>7c49f2f4c09*****69fcd446690</p>
*/
public Builder vodTemplateId(String vodTemplateId) {
this.vodTemplateId = vodTemplateId;
return this;
}
public VodTemplateInfo build() {
return new VodTemplateInfo(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetWatermarkRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetWatermarkRequest} extends {@link RequestModel}
*
* <p>GetWatermarkRequest</p>
*/
public class GetWatermarkRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("WatermarkId")
@com.aliyun.core.annotation.Validation(required = true)
private String watermarkId;
private GetWatermarkRequest(Builder builder) {
super(builder);
this.watermarkId = builder.watermarkId;
}
public static Builder builder() {
return new Builder();
}
public static GetWatermarkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return watermarkId
*/
public String getWatermarkId() {
return this.watermarkId;
}
public static final class Builder extends Request.Builder<GetWatermarkRequest, Builder> {
private String watermarkId;
private Builder() {
super();
}
private Builder(GetWatermarkRequest request) {
super(request);
this.watermarkId = request.watermarkId;
}
/**
* <p>The ID of the watermark template. You can specify only one watermark template ID. You can obtain the ID by using one of the following methods:</p>
* <ul>
* <li>Obtain the watermark template ID from the response to the <a href="~~AddWatermark~~">AddWatermark</a> operation that you call to create a watermark template.</li>
* <li>Obtain the watermark template ID from the response to the <a href="~~ListWatermark~~">ListWatermark</a> operation that you call to query all watermarks within your account.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>9bcc8bfadb843f*****09a2671d0df97</p>
*/
public Builder watermarkId(String watermarkId) {
this.putQueryParameter("WatermarkId", watermarkId);
this.watermarkId = watermarkId;
return this;
}
@Override
public GetWatermarkRequest build() {
return new GetWatermarkRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetWatermarkResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetWatermarkResponse} extends {@link TeaModel}
*
* <p>GetWatermarkResponse</p>
*/
public class GetWatermarkResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetWatermarkResponseBody body;
private GetWatermarkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetWatermarkResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetWatermarkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetWatermarkResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetWatermarkResponseBody body);
@Override
GetWatermarkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetWatermarkResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetWatermarkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetWatermarkResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetWatermarkResponseBody body) {
this.body = body;
return this;
}
@Override
public GetWatermarkResponse build() {
return new GetWatermarkResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetWatermarkResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetWatermarkResponseBody} extends {@link TeaModel}
*
* <p>GetWatermarkResponseBody</p>
*/
public class GetWatermarkResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("WatermarkInfo")
private WatermarkInfo watermarkInfo;
private GetWatermarkResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.watermarkInfo = builder.watermarkInfo;
}
public static Builder builder() {
return new Builder();
}
public static GetWatermarkResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return watermarkInfo
*/
public WatermarkInfo getWatermarkInfo() {
return this.watermarkInfo;
}
public static final class Builder {
private String requestId;
private WatermarkInfo watermarkInfo;
private Builder() {
}
private Builder(GetWatermarkResponseBody model) {
this.requestId = model.requestId;
this.watermarkInfo = model.watermarkInfo;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A*****F6-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the watermark template.</p>
*/
public Builder watermarkInfo(WatermarkInfo watermarkInfo) {
this.watermarkInfo = watermarkInfo;
return this;
}
public GetWatermarkResponseBody build() {
return new GetWatermarkResponseBody(this);
}
}
/**
*
* {@link GetWatermarkResponseBody} extends {@link TeaModel}
*
* <p>GetWatermarkResponseBody</p>
*/
public static class WatermarkInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("FileUrl")
private String fileUrl;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private String isDefault;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("WatermarkConfig")
private String watermarkConfig;
@com.aliyun.core.annotation.NameInMap("WatermarkId")
private String watermarkId;
private WatermarkInfo(Builder builder) {
this.appId = builder.appId;
this.creationTime = builder.creationTime;
this.fileUrl = builder.fileUrl;
this.isDefault = builder.isDefault;
this.name = builder.name;
this.type = builder.type;
this.watermarkConfig = builder.watermarkConfig;
this.watermarkId = builder.watermarkId;
}
public static Builder builder() {
return new Builder();
}
public static WatermarkInfo create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return fileUrl
*/
public String getFileUrl() {
return this.fileUrl;
}
/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return watermarkConfig
*/
public String getWatermarkConfig() {
return this.watermarkConfig;
}
/**
* @return watermarkId
*/
public String getWatermarkId() {
return this.watermarkId;
}
public static final class Builder {
private String appId;
private String creationTime;
private String fileUrl;
private String isDefault;
private String name;
private String type;
private String watermarkConfig;
private String watermarkId;
private Builder() {
}
private Builder(WatermarkInfo model) {
this.appId = model.appId;
this.creationTime = model.creationTime;
this.fileUrl = model.fileUrl;
this.isDefault = model.isDefault;
this.name = model.name;
this.type = model.type;
this.watermarkConfig = model.watermarkConfig;
this.watermarkId = model.watermarkId;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The time when the watermark template was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-11-06T08:03:17Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The URL of the watermark file. The URL is an Object Storage Service (OSS) URL or an Alibaba Cloud CDN URL.</p>
* <blockquote>
* <p> This parameter is returned only for image watermark templates.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p><a href="https://outin-32*****f4b3e7.oss-cn-shanghai.aliyuncs.com/image/cover/F85529C8B715E6F8A72EC6B-6-2.png?Expires=1541600583&OSSAccessKeyId=****&Signature=gmf1eYMoDVg%2BHQCb4UGozBW">https://outin-32*****f4b3e7.oss-cn-shanghai.aliyuncs.com/image/cover/F85529C8B715E6F8A72EC6B-6-2.png?Expires=1541600583&OSSAccessKeyId=****&Signature=gmf1eYMoDVg%2BHQCb4UGozBW</a>****</p>
*/
public Builder fileUrl(String fileUrl) {
this.fileUrl = fileUrl;
return this;
}
/**
* <p>Indicates whether the watermark template is the default one. Valid values:</p>
* <ul>
* <li><strong>Default</strong></li>
* <li><strong>NotDefault</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>NotDefault</p>
*/
public Builder isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* <p>The name of the watermark template.</p>
*
* <strong>example:</strong>
* <p>image watermark test</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The type of the watermark template. Valid values:</p>
* <ul>
* <li><strong>Image</strong>: image watermark template</li>
* <li><strong>Text</strong>: text watermark template</li>
* </ul>
*
* <strong>example:</strong>
* <p>Text</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The configuration information of the watermark such as the display position and special effects. The value is a JSON string. The configuration parameters for image and text watermarks are different. For more information about the parameter structure, see <a href="~~98618#section-h01-44s-2lr~~">WatermarkConfig</a>.</p>
*
* <strong>example:</strong>
* <p>{"ReferPos": "BottomRight","Height": "55","Width": "55","Dx": "8","Dy": "8" }</p>
*/
public Builder watermarkConfig(String watermarkConfig) {
this.watermarkConfig = watermarkConfig;
return this;
}
/**
* <p>The ID of the watermark template.</p>
*
* <strong>example:</strong>
* <p>505e2e287ea*****ecfddd386d384</p>
*/
public Builder watermarkId(String watermarkId) {
this.watermarkId = watermarkId;
return this;
}
public WatermarkInfo build() {
return new WatermarkInfo(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/LicenseInstanceAppDTO.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link LicenseInstanceAppDTO} extends {@link TeaModel}
*
* <p>LicenseInstanceAppDTO</p>
*/
public class LicenseInstanceAppDTO extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("BeginOn")
private String beginOn;
@com.aliyun.core.annotation.NameInMap("ContractNo")
private String contractNo;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("ExpiredOn")
private String expiredOn;
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("ItemId")
private String itemId;
@com.aliyun.core.annotation.NameInMap("LicenseConfigs")
private java.util.List<LicenseConfigs> licenseConfigs;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("UserId")
private Long userId;
private LicenseInstanceAppDTO(Builder builder) {
this.appId = builder.appId;
this.beginOn = builder.beginOn;
this.contractNo = builder.contractNo;
this.creationTime = builder.creationTime;
this.expiredOn = builder.expiredOn;
this.instanceId = builder.instanceId;
this.itemId = builder.itemId;
this.licenseConfigs = builder.licenseConfigs;
this.modificationTime = builder.modificationTime;
this.status = builder.status;
this.userId = builder.userId;
}
public static Builder builder() {
return new Builder();
}
public static LicenseInstanceAppDTO create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return beginOn
*/
public String getBeginOn() {
return this.beginOn;
}
/**
* @return contractNo
*/
public String getContractNo() {
return this.contractNo;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return expiredOn
*/
public String getExpiredOn() {
return this.expiredOn;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return itemId
*/
public String getItemId() {
return this.itemId;
}
/**
* @return licenseConfigs
*/
public java.util.List<LicenseConfigs> getLicenseConfigs() {
return this.licenseConfigs;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return userId
*/
public Long getUserId() {
return this.userId;
}
public static final class Builder {
private String appId;
private String beginOn;
private String contractNo;
private String creationTime;
private String expiredOn;
private String instanceId;
private String itemId;
private java.util.List<LicenseConfigs> licenseConfigs;
private String modificationTime;
private String status;
private Long userId;
private Builder() {
}
private Builder(LicenseInstanceAppDTO model) {
this.appId = model.appId;
this.beginOn = model.beginOn;
this.contractNo = model.contractNo;
this.creationTime = model.creationTime;
this.expiredOn = model.expiredOn;
this.instanceId = model.instanceId;
this.itemId = model.itemId;
this.licenseConfigs = model.licenseConfigs;
this.modificationTime = model.modificationTime;
this.status = model.status;
this.userId = model.userId;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* BeginOn.
*/
public Builder beginOn(String beginOn) {
this.beginOn = beginOn;
return this;
}
/**
* ContractNo.
*/
public Builder contractNo(String contractNo) {
this.contractNo = contractNo;
return this;
}
/**
* CreationTime.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* ExpiredOn.
*/
public Builder expiredOn(String expiredOn) {
this.expiredOn = expiredOn;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* ItemId.
*/
public Builder itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* LicenseConfigs.
*/
public Builder licenseConfigs(java.util.List<LicenseConfigs> licenseConfigs) {
this.licenseConfigs = licenseConfigs;
return this;
}
/**
* ModificationTime.
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* UserId.
*/
public Builder userId(Long userId) {
this.userId = userId;
return this;
}
public LicenseInstanceAppDTO build() {
return new LicenseInstanceAppDTO(this);
}
}
/**
*
* {@link LicenseInstanceAppDTO} extends {@link TeaModel}
*
* <p>LicenseInstanceAppDTO</p>
*/
public static class LicenseConfigs extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BusinessType")
private String businessType;
@com.aliyun.core.annotation.NameInMap("FeatureIds")
private String featureIds;
@com.aliyun.core.annotation.NameInMap("IsTrial")
private Boolean isTrial;
@com.aliyun.core.annotation.NameInMap("SdkId")
private Integer sdkId;
@com.aliyun.core.annotation.NameInMap("SdkName")
private String sdkName;
@com.aliyun.core.annotation.NameInMap("Subscription")
private String subscription;
@com.aliyun.core.annotation.NameInMap("SubscriptionImp")
private String subscriptionImp;
@com.aliyun.core.annotation.NameInMap("SubscriptionPkg")
private String subscriptionPkg;
private LicenseConfigs(Builder builder) {
this.businessType = builder.businessType;
this.featureIds = builder.featureIds;
this.isTrial = builder.isTrial;
this.sdkId = builder.sdkId;
this.sdkName = builder.sdkName;
this.subscription = builder.subscription;
this.subscriptionImp = builder.subscriptionImp;
this.subscriptionPkg = builder.subscriptionPkg;
}
public static Builder builder() {
return new Builder();
}
public static LicenseConfigs create() {
return builder().build();
}
/**
* @return businessType
*/
public String getBusinessType() {
return this.businessType;
}
/**
* @return featureIds
*/
public String getFeatureIds() {
return this.featureIds;
}
/**
* @return isTrial
*/
public Boolean getIsTrial() {
return this.isTrial;
}
/**
* @return sdkId
*/
public Integer getSdkId() {
return this.sdkId;
}
/**
* @return sdkName
*/
public String getSdkName() {
return this.sdkName;
}
/**
* @return subscription
*/
public String getSubscription() {
return this.subscription;
}
/**
* @return subscriptionImp
*/
public String getSubscriptionImp() {
return this.subscriptionImp;
}
/**
* @return subscriptionPkg
*/
public String getSubscriptionPkg() {
return this.subscriptionPkg;
}
public static final class Builder {
private String businessType;
private String featureIds;
private Boolean isTrial;
private Integer sdkId;
private String sdkName;
private String subscription;
private String subscriptionImp;
private String subscriptionPkg;
private Builder() {
}
private Builder(LicenseConfigs model) {
this.businessType = model.businessType;
this.featureIds = model.featureIds;
this.isTrial = model.isTrial;
this.sdkId = model.sdkId;
this.sdkName = model.sdkName;
this.subscription = model.subscription;
this.subscriptionImp = model.subscriptionImp;
this.subscriptionPkg = model.subscriptionPkg;
}
/**
* BusinessType.
*/
public Builder businessType(String businessType) {
this.businessType = businessType;
return this;
}
/**
* FeatureIds.
*/
public Builder featureIds(String featureIds) {
this.featureIds = featureIds;
return this;
}
/**
* IsTrial.
*/
public Builder isTrial(Boolean isTrial) {
this.isTrial = isTrial;
return this;
}
/**
* SdkId.
*/
public Builder sdkId(Integer sdkId) {
this.sdkId = sdkId;
return this;
}
/**
* SdkName.
*/
public Builder sdkName(String sdkName) {
this.sdkName = sdkName;
return this;
}
/**
* Subscription.
*/
public Builder subscription(String subscription) {
this.subscription = subscription;
return this;
}
/**
* SubscriptionImp.
*/
public Builder subscriptionImp(String subscriptionImp) {
this.subscriptionImp = subscriptionImp;
return this;
}
/**
* SubscriptionPkg.
*/
public Builder subscriptionPkg(String subscriptionPkg) {
this.subscriptionPkg = subscriptionPkg;
return this;
}
public LicenseConfigs build() {
return new LicenseConfigs(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAIImageInfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAIImageInfoRequest} extends {@link RequestModel}
*
* <p>ListAIImageInfoRequest</p>
*/
public class ListAIImageInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VideoId")
@com.aliyun.core.annotation.Validation(required = true)
private String videoId;
private ListAIImageInfoRequest(Builder builder) {
super(builder);
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static ListAIImageInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder extends Request.Builder<ListAIImageInfoRequest, Builder> {
private String videoId;
private Builder() {
super();
}
private Builder(ListAIImageInfoRequest request) {
super(request);
this.videoId = request.videoId;
}
/**
* <p>The ID of the video. You can use one of the following methods to obtain the ID:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD</a> console. In the left-side navigation pane, choose <strong>Media Files</strong> > <strong>Audio/Video</strong>. On the Video and Audio page, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.</li>
* <li>Obtain the value of VideoId from the response to the <a href="https://help.aliyun.com/document_detail/55407.html">CreateUploadVideo</a> operation that you call to upload media files.</li>
* <li>Obtain the value of VideoId from the response to the <a href="https://help.aliyun.com/document_detail/86044.html">SearchMedia</a> operation after you upload media files.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>357a8748c5789d2726e6436aa****</p>
*/
public Builder videoId(String videoId) {
this.putQueryParameter("VideoId", videoId);
this.videoId = videoId;
return this;
}
@Override
public ListAIImageInfoRequest build() {
return new ListAIImageInfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAIImageInfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAIImageInfoResponse} extends {@link TeaModel}
*
* <p>ListAIImageInfoResponse</p>
*/
public class ListAIImageInfoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAIImageInfoResponseBody body;
private ListAIImageInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAIImageInfoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAIImageInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAIImageInfoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAIImageInfoResponseBody body);
@Override
ListAIImageInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAIImageInfoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAIImageInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAIImageInfoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAIImageInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAIImageInfoResponse build() {
return new ListAIImageInfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAIImageInfoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAIImageInfoResponseBody} extends {@link TeaModel}
*
* <p>ListAIImageInfoResponseBody</p>
*/
public class ListAIImageInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AIImageInfoList")
private java.util.List<AIImageInfoList> AIImageInfoList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListAIImageInfoResponseBody(Builder builder) {
this.AIImageInfoList = builder.AIImageInfoList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListAIImageInfoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AIImageInfoList
*/
public java.util.List<AIImageInfoList> getAIImageInfoList() {
return this.AIImageInfoList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<AIImageInfoList> AIImageInfoList;
private String requestId;
private Builder() {
}
private Builder(ListAIImageInfoResponseBody model) {
this.AIImageInfoList = model.AIImageInfoList;
this.requestId = model.requestId;
}
/**
* <p>The image files that are uploaded for AI processing.</p>
*/
public Builder AIImageInfoList(java.util.List<AIImageInfoList> AIImageInfoList) {
this.AIImageInfoList = AIImageInfoList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>D73420CD-D221-9122-5B8FA995A511****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListAIImageInfoResponseBody build() {
return new ListAIImageInfoResponseBody(this);
}
}
/**
*
* {@link ListAIImageInfoResponseBody} extends {@link TeaModel}
*
* <p>ListAIImageInfoResponseBody</p>
*/
public static class AIImageInfoList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AIImageInfoId")
private String AIImageInfoId;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("FileURL")
private String fileURL;
@com.aliyun.core.annotation.NameInMap("Format")
private String format;
@com.aliyun.core.annotation.NameInMap("JobId")
private String jobId;
@com.aliyun.core.annotation.NameInMap("Score")
private String score;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
private AIImageInfoList(Builder builder) {
this.AIImageInfoId = builder.AIImageInfoId;
this.creationTime = builder.creationTime;
this.fileURL = builder.fileURL;
this.format = builder.format;
this.jobId = builder.jobId;
this.score = builder.score;
this.version = builder.version;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static AIImageInfoList create() {
return builder().build();
}
/**
* @return AIImageInfoId
*/
public String getAIImageInfoId() {
return this.AIImageInfoId;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return fileURL
*/
public String getFileURL() {
return this.fileURL;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return score
*/
public String getScore() {
return this.score;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder {
private String AIImageInfoId;
private String creationTime;
private String fileURL;
private String format;
private String jobId;
private String score;
private String version;
private String videoId;
private Builder() {
}
private Builder(AIImageInfoList model) {
this.AIImageInfoId = model.AIImageInfoId;
this.creationTime = model.creationTime;
this.fileURL = model.fileURL;
this.format = model.format;
this.jobId = model.jobId;
this.score = model.score;
this.version = model.version;
this.videoId = model.videoId;
}
/**
* <p>The ID of the image information.</p>
*
* <strong>example:</strong>
* <p>b89a6aabf1b6197ebd6fe6cf29****</p>
*/
public Builder AIImageInfoId(String AIImageInfoId) {
this.AIImageInfoId = AIImageInfoId;
return this;
}
/**
* <p>The time when the file was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2020-10-15T03:30:03Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The URL of the image file.</p>
*/
public Builder fileURL(String fileURL) {
this.fileURL = fileURL;
return this;
}
/**
* <p>The format of the image. Valid values: <strong>gif</strong> and <strong>png</strong>.</p>
*
* <strong>example:</strong>
* <p>gif</p>
*/
public Builder format(String format) {
this.format = format;
return this;
}
/**
* <p>The ID of the image AI processing job.</p>
*
* <strong>example:</strong>
* <p>cf08a2c6e11ee1711b738b9067****</p>
*/
public Builder jobId(String jobId) {
this.jobId = jobId;
return this;
}
/**
* <p>The score of the image.</p>
*
* <strong>example:</strong>
* <p>5.035636554444242</p>
*/
public Builder score(String score) {
this.score = score;
return this;
}
/**
* <p>The data version ID.</p>
*
* <strong>example:</strong>
* <p>b547f3f0e199c3b457369f3cf****</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
/**
* <p>The ID of the video.</p>
*
* <strong>example:</strong>
* <p>357a8748c5789d2726e6436aa****</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
public AIImageInfoList build() {
return new AIImageInfoList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAIJobRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAIJobRequest} extends {@link RequestModel}
*
* <p>ListAIJobRequest</p>
*/
public class ListAIJobRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobIds")
@com.aliyun.core.annotation.Validation(required = true)
private String jobIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private String ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private String resourceOwnerId;
private ListAIJobRequest(Builder builder) {
super(builder);
this.jobIds = builder.jobIds;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static ListAIJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return jobIds
*/
public String getJobIds() {
return this.jobIds;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public String getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public String getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<ListAIJobRequest, Builder> {
private String jobIds;
private String ownerAccount;
private String ownerId;
private String resourceOwnerAccount;
private String resourceOwnerId;
private Builder() {
super();
}
private Builder(ListAIJobRequest request) {
super(request);
this.jobIds = request.jobIds;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The list of job IDs. You can obtain the job ID from the PlayInfo parameter in the response to the <a href="https://help.aliyun.com/document_detail/56124.html">GetPlayInfo</a> operation.</p>
* <blockquote>
* <p> You can specify a maximum of 10 job IDs in a request. Separate multiple IDs with commas (,).</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a718a3a1e8bb42ee3bc88921e94****,aasdcsfg782740asd3****,k2l3ibaskod98wrns9d****</p>
*/
public Builder jobIds(String jobIds) {
this.putQueryParameter("JobIds", jobIds);
this.jobIds = jobIds;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(String ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(String resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public ListAIJobRequest build() {
return new ListAIJobRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAIJobResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAIJobResponse} extends {@link TeaModel}
*
* <p>ListAIJobResponse</p>
*/
public class ListAIJobResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAIJobResponseBody body;
private ListAIJobResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAIJobResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAIJobResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAIJobResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAIJobResponseBody body);
@Override
ListAIJobResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAIJobResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAIJobResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAIJobResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAIJobResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAIJobResponse build() {
return new ListAIJobResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAIJobResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAIJobResponseBody} extends {@link TeaModel}
*
* <p>ListAIJobResponseBody</p>
*/
public class ListAIJobResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AIJobList")
private AIJobList AIJobList;
@com.aliyun.core.annotation.NameInMap("NonExistAIJobIds")
private NonExistAIJobIds nonExistAIJobIds;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListAIJobResponseBody(Builder builder) {
this.AIJobList = builder.AIJobList;
this.nonExistAIJobIds = builder.nonExistAIJobIds;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListAIJobResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return AIJobList
*/
public AIJobList getAIJobList() {
return this.AIJobList;
}
/**
* @return nonExistAIJobIds
*/
public NonExistAIJobIds getNonExistAIJobIds() {
return this.nonExistAIJobIds;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private AIJobList AIJobList;
private NonExistAIJobIds nonExistAIJobIds;
private String requestId;
private Builder() {
}
private Builder(ListAIJobResponseBody model) {
this.AIJobList = model.AIJobList;
this.nonExistAIJobIds = model.nonExistAIJobIds;
this.requestId = model.requestId;
}
/**
* <p>The list of jobs.</p>
*/
public Builder AIJobList(AIJobList AIJobList) {
this.AIJobList = AIJobList;
return this;
}
/**
* <p>The IDs of the jobs that do not exist.</p>
*/
public Builder nonExistAIJobIds(NonExistAIJobIds nonExistAIJobIds) {
this.nonExistAIJobIds = nonExistAIJobIds;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>8233A0E4-E112-44*****58-2BCED1B88173</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListAIJobResponseBody build() {
return new ListAIJobResponseBody(this);
}
}
/**
*
* {@link ListAIJobResponseBody} extends {@link TeaModel}
*
* <p>ListAIJobResponseBody</p>
*/
public static class AIJob extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("CompleteTime")
private String completeTime;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Data")
private String data;
@com.aliyun.core.annotation.NameInMap("JobId")
private String jobId;
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private AIJob(Builder builder) {
this.code = builder.code;
this.completeTime = builder.completeTime;
this.creationTime = builder.creationTime;
this.data = builder.data;
this.jobId = builder.jobId;
this.mediaId = builder.mediaId;
this.message = builder.message;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static AIJob create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return completeTime
*/
public String getCompleteTime() {
return this.completeTime;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return data
*/
public String getData() {
return this.data;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String code;
private String completeTime;
private String creationTime;
private String data;
private String jobId;
private String mediaId;
private String message;
private String status;
private String type;
private Builder() {
}
private Builder(AIJob model) {
this.code = model.code;
this.completeTime = model.completeTime;
this.creationTime = model.creationTime;
this.data = model.data;
this.jobId = model.jobId;
this.mediaId = model.mediaId;
this.message = model.message;
this.status = model.status;
this.type = model.type;
}
/**
* <p>The error code. This parameter is returned if the value of Status is fail.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* <p>The time when the job was complete. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2020-06-28T02:04:47Z</p>
*/
public Builder completeTime(String completeTime) {
this.completeTime = completeTime;
return this;
}
/**
* <p>The time when the job was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2020-06-28T02:04:32Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The returned data. The value is a JSON string. For more information, see <a href="https://help.aliyun.com/document_detail/89863.html">AITemplateConfig</a>.</p>
*
* <strong>example:</strong>
* <p>{"OrigASRData":{"AsrTextList":[{"EndTime":700,"StartTime":0,"Text":"Yes.","ChannelId":0,"SpeechRate":85},{"EndTime":3750,"StartTime":1630,"Text":"No.","ChannelId":0,"SpeechRate":28},{"EndTime":5910,"StartTime":4020,"Text":"Of course.","ChannelId":0,"SpeechRate":95},{"EndTime":12750,"StartTime":10090,"Text":"Message.","ChannelId":0,"SpeechRate":45},{"EndTime":25230,"StartTime":13590,"Text":"Hello, good afternoon.","ChannelId":0,"SpeechRate":20},{"EndTime":30000,"StartTime":28220,"Text":"Yes.","ChannelId":0,"SpeechRate":33}],"Duration":"30016"}}</p>
*/
public Builder data(String data) {
this.data = data;
return this;
}
/**
* <p>The job ID.</p>
*
* <strong>example:</strong>
* <p>a718a3a1e8bb42ee3bc88921e94****</p>
*/
public Builder jobId(String jobId) {
this.jobId = jobId;
return this;
}
/**
* <p>The ID of the video file.</p>
*
* <strong>example:</strong>
* <p>3D3D12340d9401fab46a0b847****</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>The error message. This parameter is returned if the value of Status is fail.</p>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>The status of the job. Valid values:</p>
* <ul>
* <li><strong>success</strong>: The job is successful.</li>
* <li><strong>fail</strong>: The job failed.</li>
* <li><strong>init</strong>: The job is being initialized.</li>
* <li><strong>Processing</strong>: The job is in progress.</li>
* </ul>
*
* <strong>example:</strong>
* <p>success</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the job. Valid values:</p>
* <ul>
* <li><strong>AIMediaDNA</strong>: video fingerprinting</li>
* <li><strong>AIVideoTag</strong>: smart tagging</li>
* </ul>
*
* <strong>example:</strong>
* <p>AIVideoTag</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public AIJob build() {
return new AIJob(this);
}
}
}
/**
*
* {@link ListAIJobResponseBody} extends {@link TeaModel}
*
* <p>ListAIJobResponseBody</p>
*/
public static class AIJobList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AIJob")
private java.util.List<AIJob> AIJob;
private AIJobList(Builder builder) {
this.AIJob = builder.AIJob;
}
public static Builder builder() {
return new Builder();
}
public static AIJobList create() {
return builder().build();
}
/**
* @return AIJob
*/
public java.util.List<AIJob> getAIJob() {
return this.AIJob;
}
public static final class Builder {
private java.util.List<AIJob> AIJob;
private Builder() {
}
private Builder(AIJobList model) {
this.AIJob = model.AIJob;
}
/**
* AIJob.
*/
public Builder AIJob(java.util.List<AIJob> AIJob) {
this.AIJob = AIJob;
return this;
}
public AIJobList build() {
return new AIJobList(this);
}
}
}
/**
*
* {@link ListAIJobResponseBody} extends {@link TeaModel}
*
* <p>ListAIJobResponseBody</p>
*/
public static class NonExistAIJobIds extends TeaModel {
@com.aliyun.core.annotation.NameInMap("String")
private java.util.List<String> string;
private NonExistAIJobIds(Builder builder) {
this.string = builder.string;
}
public static Builder builder() {
return new Builder();
}
public static NonExistAIJobIds create() {
return builder().build();
}
/**
* @return string
*/
public java.util.List<String> getString() {
return this.string;
}
public static final class Builder {
private java.util.List<String> string;
private Builder() {
}
private Builder(NonExistAIJobIds model) {
this.string = model.string;
}
/**
* String.
*/
public Builder string(java.util.List<String> string) {
this.string = string;
return this;
}
public NonExistAIJobIds build() {
return new NonExistAIJobIds(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAITemplateRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAITemplateRequest} extends {@link RequestModel}
*
* <p>ListAITemplateRequest</p>
*/
public class ListAITemplateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TemplateType")
@com.aliyun.core.annotation.Validation(required = true)
private String templateType;
private ListAITemplateRequest(Builder builder) {
super(builder);
this.templateType = builder.templateType;
}
public static Builder builder() {
return new Builder();
}
public static ListAITemplateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return templateType
*/
public String getTemplateType() {
return this.templateType;
}
public static final class Builder extends Request.Builder<ListAITemplateRequest, Builder> {
private String templateType;
private Builder() {
super();
}
private Builder(ListAITemplateRequest request) {
super(request);
this.templateType = request.templateType;
}
/**
* <p>The type of the AI template. Valid values:</p>
* <ul>
* <li><strong>AIMediaAudit</strong>: automated review</li>
* <li><strong>AIImage</strong>: smart thumbnail</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>AIMediaAudit</p>
*/
public Builder templateType(String templateType) {
this.putQueryParameter("TemplateType", templateType);
this.templateType = templateType;
return this;
}
@Override
public ListAITemplateRequest build() {
return new ListAITemplateRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAITemplateResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAITemplateResponse} extends {@link TeaModel}
*
* <p>ListAITemplateResponse</p>
*/
public class ListAITemplateResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAITemplateResponseBody body;
private ListAITemplateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAITemplateResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAITemplateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAITemplateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAITemplateResponseBody body);
@Override
ListAITemplateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAITemplateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAITemplateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAITemplateResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAITemplateResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAITemplateResponse build() {
return new ListAITemplateResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAITemplateResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAITemplateResponseBody} extends {@link TeaModel}
*
* <p>ListAITemplateResponseBody</p>
*/
public class ListAITemplateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TemplateInfoList")
private java.util.List<TemplateInfoList> templateInfoList;
private ListAITemplateResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.templateInfoList = builder.templateInfoList;
}
public static Builder builder() {
return new Builder();
}
public static ListAITemplateResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return templateInfoList
*/
public java.util.List<TemplateInfoList> getTemplateInfoList() {
return this.templateInfoList;
}
public static final class Builder {
private String requestId;
private java.util.List<TemplateInfoList> templateInfoList;
private Builder() {
}
private Builder(ListAITemplateResponseBody model) {
this.requestId = model.requestId;
this.templateInfoList = model.templateInfoList;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>75B7BC67-FB8C-4653-4788-F4B01ED2****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the AI templates.</p>
*/
public Builder templateInfoList(java.util.List<TemplateInfoList> templateInfoList) {
this.templateInfoList = templateInfoList;
return this;
}
public ListAITemplateResponseBody build() {
return new ListAITemplateResponseBody(this);
}
}
/**
*
* {@link ListAITemplateResponseBody} extends {@link TeaModel}
*
* <p>ListAITemplateResponseBody</p>
*/
public static class TemplateInfoList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private String isDefault;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Source")
private String source;
@com.aliyun.core.annotation.NameInMap("TemplateConfig")
private String templateConfig;
@com.aliyun.core.annotation.NameInMap("TemplateId")
private String templateId;
@com.aliyun.core.annotation.NameInMap("TemplateName")
private String templateName;
@com.aliyun.core.annotation.NameInMap("TemplateType")
private String templateType;
private TemplateInfoList(Builder builder) {
this.creationTime = builder.creationTime;
this.isDefault = builder.isDefault;
this.modifyTime = builder.modifyTime;
this.source = builder.source;
this.templateConfig = builder.templateConfig;
this.templateId = builder.templateId;
this.templateName = builder.templateName;
this.templateType = builder.templateType;
}
public static Builder builder() {
return new Builder();
}
public static TemplateInfoList create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return source
*/
public String getSource() {
return this.source;
}
/**
* @return templateConfig
*/
public String getTemplateConfig() {
return this.templateConfig;
}
/**
* @return templateId
*/
public String getTemplateId() {
return this.templateId;
}
/**
* @return templateName
*/
public String getTemplateName() {
return this.templateName;
}
/**
* @return templateType
*/
public String getTemplateType() {
return this.templateType;
}
public static final class Builder {
private String creationTime;
private String isDefault;
private String modifyTime;
private String source;
private String templateConfig;
private String templateId;
private String templateName;
private String templateType;
private Builder() {
}
private Builder(TemplateInfoList model) {
this.creationTime = model.creationTime;
this.isDefault = model.isDefault;
this.modifyTime = model.modifyTime;
this.source = model.source;
this.templateConfig = model.templateConfig;
this.templateId = model.templateId;
this.templateName = model.templateName;
this.templateType = model.templateType;
}
/**
* <p>The time when the AI template was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2020-07-08T06:50:45Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>Indicates whether the template is the default AI template. Valid values:</p>
* <ul>
* <li><strong>Default</strong></li>
* <li><strong>NotDefault</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>NoDefault</p>
*/
public Builder isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* <p>The time when the AI template was modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2020-07-08T06:58:45Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The source of the AI template. Valid values:</p>
* <ul>
* <li><strong>System</strong></li>
* <li><strong>Custom</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder source(String source) {
this.source = source;
return this;
}
/**
* <p>The detailed configurations of the AI template. The value is a JSON string. For more information, see <a href="~~89863#title-vd3-499-o36~~">AITemplateConfig</a>.</p>
*
* <strong>example:</strong>
* <p>{"AuditRange":["text-title","video"],"AuditContent":["screen"],"AuditItem":["terrorism","porn"],"AuditAutoBlock":"yes"}</p>
*/
public Builder templateConfig(String templateConfig) {
this.templateConfig = templateConfig;
return this;
}
/**
* <p>The ID of the AI template.</p>
*
* <strong>example:</strong>
* <p>1706a0063dd733f6a823ef32e0a5****</p>
*/
public Builder templateId(String templateId) {
this.templateId = templateId;
return this;
}
/**
* <p>The name of the AI template.</p>
*
* <strong>example:</strong>
* <p>DemoAITemplate</p>
*/
public Builder templateName(String templateName) {
this.templateName = templateName;
return this;
}
/**
* <p>The type of the AI template. Valid values:</p>
* <ul>
* <li><strong>AIMediaAudit</strong>: automated review</li>
* <li><strong>AIImage</strong>: smart thumbnail</li>
* </ul>
*
* <strong>example:</strong>
* <p>AIMediaAudit</p>
*/
public Builder templateType(String templateType) {
this.templateType = templateType;
return this;
}
public TemplateInfoList build() {
return new TemplateInfoList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAppInfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppInfoRequest} extends {@link RequestModel}
*
* <p>ListAppInfoRequest</p>
*/
public class ListAppInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNo")
private Integer pageNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private ListAppInfoRequest(Builder builder) {
super(builder);
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.resourceGroupId = builder.resourceGroupId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static ListAppInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<ListAppInfoRequest, Builder> {
private Integer pageNo;
private Integer pageSize;
private String resourceGroupId;
private String status;
private Builder() {
super();
}
private Builder(ListAppInfoRequest request) {
super(request);
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.resourceGroupId = request.resourceGroupId;
this.status = request.status;
}
/**
* <p>The page number. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* <p>The number of entries per page. Default value: <strong>10</strong>. Maximum value: <strong>100</strong>.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The resource group ID to which the instance belongs.</p>
*
* <strong>example:</strong>
* <p>rg-aekzko7fsuj****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The status of the application. You can specify the status of the applications that you want to query. After an application is created, it enters the <strong>Normal</strong> state. Valid values:</p>
* <ul>
* <li><strong>Normal</strong></li>
* <li><strong>Disable</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public ListAppInfoRequest build() {
return new ListAppInfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAppInfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppInfoResponse} extends {@link TeaModel}
*
* <p>ListAppInfoResponse</p>
*/
public class ListAppInfoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAppInfoResponseBody body;
private ListAppInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAppInfoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAppInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAppInfoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAppInfoResponseBody body);
@Override
ListAppInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAppInfoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAppInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAppInfoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAppInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAppInfoResponse build() {
return new ListAppInfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAppInfoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppInfoResponseBody} extends {@link TeaModel}
*
* <p>ListAppInfoResponseBody</p>
*/
public class ListAppInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppInfoList")
private java.util.List<AppInfoList> appInfoList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private ListAppInfoResponseBody(Builder builder) {
this.appInfoList = builder.appInfoList;
this.requestId = builder.requestId;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static ListAppInfoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appInfoList
*/
public java.util.List<AppInfoList> getAppInfoList() {
return this.appInfoList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private java.util.List<AppInfoList> appInfoList;
private String requestId;
private Integer total;
private Builder() {
}
private Builder(ListAppInfoResponseBody model) {
this.appInfoList = model.appInfoList;
this.requestId = model.requestId;
this.total = model.total;
}
/**
* <p>The details of applications.</p>
*/
public Builder appInfoList(java.util.List<AppInfoList> appInfoList) {
this.appInfoList = appInfoList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A13-4D5C-D7393642****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public ListAppInfoResponseBody build() {
return new ListAppInfoResponseBody(this);
}
}
/**
*
* {@link ListAppInfoResponseBody} extends {@link TeaModel}
*
* <p>ListAppInfoResponseBody</p>
*/
public static class AppInfoList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private AppInfoList(Builder builder) {
this.appId = builder.appId;
this.appName = builder.appName;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.modificationTime = builder.modificationTime;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static AppInfoList create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String appId;
private String appName;
private String creationTime;
private String description;
private String modificationTime;
private String regionId;
private String resourceGroupId;
private String status;
private String type;
private Builder() {
}
private Builder(AppInfoList model) {
this.appId = model.appId;
this.appName = model.appName;
this.creationTime = model.creationTime;
this.description = model.description;
this.modificationTime = model.modificationTime;
this.regionId = model.regionId;
this.resourceGroupId = model.resourceGroupId;
this.status = model.status;
this.type = model.type;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The name of the application.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* <p>The time when the application was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-03-01T08:00:00Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the application.</p>
*
* <strong>example:</strong>
* <p>my first app.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The last time when the application was modified. The time follows the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-03-01T09:00:00Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The region.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-aekzko7fsuj****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The status of the application. Valid values:</p>
* <ul>
* <li><strong>Normal</strong></li>
* <li><strong>Disable</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the application. Valid values:</p>
* <ul>
* <li><strong>System</strong></li>
* <li><strong>Custom</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public AppInfoList build() {
return new AppInfoList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAppPoliciesForIdentityRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppPoliciesForIdentityRequest} extends {@link RequestModel}
*
* <p>ListAppPoliciesForIdentityRequest</p>
*/
public class ListAppPoliciesForIdentityRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IdentityName")
private String identityName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IdentityType")
private String identityType;
private ListAppPoliciesForIdentityRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.identityName = builder.identityName;
this.identityType = builder.identityType;
}
public static Builder builder() {
return new Builder();
}
public static ListAppPoliciesForIdentityRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return identityName
*/
public String getIdentityName() {
return this.identityName;
}
/**
* @return identityType
*/
public String getIdentityType() {
return this.identityType;
}
public static final class Builder extends Request.Builder<ListAppPoliciesForIdentityRequest, Builder> {
private String appId;
private String identityName;
private String identityType;
private Builder() {
super();
}
private Builder(ListAppPoliciesForIdentityRequest request) {
super(request);
this.appId = request.appId;
this.identityName = request.identityName;
this.identityType = request.identityType;
}
/**
* <p>The ID of the application. Default value: <strong>app-1000000</strong>. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Overview</a>.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The name of the identity.</p>
* <ul>
* <li>Specifies the ID of the RAM user when the IdentityType parameter is set to RamUser.</li>
* <li>Specifies the name of the RAM role when the IdentityType parameter is set to RamRole.</li>
* </ul>
*
* <strong>example:</strong>
* <p>test****name</p>
*/
public Builder identityName(String identityName) {
this.putQueryParameter("IdentityName", identityName);
this.identityName = identityName;
return this;
}
/**
* <p>The type of the identity. Valid values:</p>
* <ul>
* <li><strong>RamUser</strong>: a RAM user.</li>
* <li><strong>RamRole</strong>: a RAM role.</li>
* </ul>
*
* <strong>example:</strong>
* <p>RamUser</p>
*/
public Builder identityType(String identityType) {
this.putQueryParameter("IdentityType", identityType);
this.identityType = identityType;
return this;
}
@Override
public ListAppPoliciesForIdentityRequest build() {
return new ListAppPoliciesForIdentityRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAppPoliciesForIdentityResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppPoliciesForIdentityResponse} extends {@link TeaModel}
*
* <p>ListAppPoliciesForIdentityResponse</p>
*/
public class ListAppPoliciesForIdentityResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAppPoliciesForIdentityResponseBody body;
private ListAppPoliciesForIdentityResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAppPoliciesForIdentityResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAppPoliciesForIdentityResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAppPoliciesForIdentityResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAppPoliciesForIdentityResponseBody body);
@Override
ListAppPoliciesForIdentityResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAppPoliciesForIdentityResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAppPoliciesForIdentityResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAppPoliciesForIdentityResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAppPoliciesForIdentityResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAppPoliciesForIdentityResponse build() {
return new ListAppPoliciesForIdentityResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAppPoliciesForIdentityResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppPoliciesForIdentityResponseBody} extends {@link TeaModel}
*
* <p>ListAppPoliciesForIdentityResponseBody</p>
*/
public class ListAppPoliciesForIdentityResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppPolicyList")
private java.util.List<AppPolicyList> appPolicyList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListAppPoliciesForIdentityResponseBody(Builder builder) {
this.appPolicyList = builder.appPolicyList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListAppPoliciesForIdentityResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appPolicyList
*/
public java.util.List<AppPolicyList> getAppPolicyList() {
return this.appPolicyList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<AppPolicyList> appPolicyList;
private String requestId;
private Builder() {
}
private Builder(ListAppPoliciesForIdentityResponseBody model) {
this.appPolicyList = model.appPolicyList;
this.requestId = model.requestId;
}
/**
* <p>The details of each policy.</p>
* <blockquote>
* <p>A maximum of 100 entries can be returned.</p>
* </blockquote>
*/
public Builder appPolicyList(java.util.List<AppPolicyList> appPolicyList) {
this.appPolicyList = appPolicyList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C9F3E715-B3B8-4D*****27-3A70346F0E04</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListAppPoliciesForIdentityResponseBody build() {
return new ListAppPoliciesForIdentityResponseBody(this);
}
}
/**
*
* {@link ListAppPoliciesForIdentityResponseBody} extends {@link TeaModel}
*
* <p>ListAppPoliciesForIdentityResponseBody</p>
*/
public static class AppPolicyList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("PolicyValue")
private String policyValue;
private AppPolicyList(Builder builder) {
this.appId = builder.appId;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.modificationTime = builder.modificationTime;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.policyValue = builder.policyValue;
}
public static Builder builder() {
return new Builder();
}
public static AppPolicyList create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return policyValue
*/
public String getPolicyValue() {
return this.policyValue;
}
public static final class Builder {
private String appId;
private String creationTime;
private String description;
private String modificationTime;
private String policyName;
private String policyType;
private String policyValue;
private Builder() {
}
private Builder(AppPolicyList model) {
this.appId = model.appId;
this.creationTime = model.creationTime;
this.description = model.description;
this.modificationTime = model.modificationTime;
this.policyName = model.policyName;
this.policyType = model.policyType;
this.policyValue = model.policyValue;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The time when the application policy was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-01-01T01:01:01Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the policy.</p>
*
* <strong>example:</strong>
* <p>App full access permission</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The last time when the application policy was modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-01-01T01:08:01Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The name of the policy.</p>
*
* <strong>example:</strong>
* <p>VODAppFullAccess</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li><strong>System</strong></li>
* <li><strong>Custom</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The content of the policy.</p>
*
* <strong>example:</strong>
* <hr>
*/
public Builder policyValue(String policyValue) {
this.policyValue = policyValue;
return this;
}
public AppPolicyList build() {
return new AppPolicyList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAuditSecurityIpRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAuditSecurityIpRequest} extends {@link RequestModel}
*
* <p>ListAuditSecurityIpRequest</p>
*/
public class ListAuditSecurityIpRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityGroupName")
private String securityGroupName;
private ListAuditSecurityIpRequest(Builder builder) {
super(builder);
this.securityGroupName = builder.securityGroupName;
}
public static Builder builder() {
return new Builder();
}
public static ListAuditSecurityIpRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return securityGroupName
*/
public String getSecurityGroupName() {
return this.securityGroupName;
}
public static final class Builder extends Request.Builder<ListAuditSecurityIpRequest, Builder> {
private String securityGroupName;
private Builder() {
super();
}
private Builder(ListAuditSecurityIpRequest request) {
super(request);
this.securityGroupName = request.securityGroupName;
}
/**
* <p>The name of the review security group in which you want to query IP addresses. If you do not specify this parameter, IP addresses in all review security groups are queried.</p>
*
* <strong>example:</strong>
* <p>Default</p>
*/
public Builder securityGroupName(String securityGroupName) {
this.putQueryParameter("SecurityGroupName", securityGroupName);
this.securityGroupName = securityGroupName;
return this;
}
@Override
public ListAuditSecurityIpRequest build() {
return new ListAuditSecurityIpRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAuditSecurityIpResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAuditSecurityIpResponse} extends {@link TeaModel}
*
* <p>ListAuditSecurityIpResponse</p>
*/
public class ListAuditSecurityIpResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAuditSecurityIpResponseBody body;
private ListAuditSecurityIpResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAuditSecurityIpResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAuditSecurityIpResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAuditSecurityIpResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAuditSecurityIpResponseBody body);
@Override
ListAuditSecurityIpResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAuditSecurityIpResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAuditSecurityIpResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAuditSecurityIpResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAuditSecurityIpResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAuditSecurityIpResponse build() {
return new ListAuditSecurityIpResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListAuditSecurityIpResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAuditSecurityIpResponseBody} extends {@link TeaModel}
*
* <p>ListAuditSecurityIpResponseBody</p>
*/
public class ListAuditSecurityIpResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SecurityIpList")
private java.util.List<SecurityIpList> securityIpList;
private ListAuditSecurityIpResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.securityIpList = builder.securityIpList;
}
public static Builder builder() {
return new Builder();
}
public static ListAuditSecurityIpResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return securityIpList
*/
public java.util.List<SecurityIpList> getSecurityIpList() {
return this.securityIpList;
}
public static final class Builder {
private String requestId;
private java.util.List<SecurityIpList> securityIpList;
private Builder() {
}
private Builder(ListAuditSecurityIpResponseBody model) {
this.requestId = model.requestId;
this.securityIpList = model.securityIpList;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>664BBD08-C7DB-4E*****73-9D0958D9A899</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The details of the review security group.</p>
*/
public Builder securityIpList(java.util.List<SecurityIpList> securityIpList) {
this.securityIpList = securityIpList;
return this;
}
public ListAuditSecurityIpResponseBody build() {
return new ListAuditSecurityIpResponseBody(this);
}
}
/**
*
* {@link ListAuditSecurityIpResponseBody} extends {@link TeaModel}
*
* <p>ListAuditSecurityIpResponseBody</p>
*/
public static class SecurityIpList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Ips")
private String ips;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("SecurityGroupName")
private String securityGroupName;
private SecurityIpList(Builder builder) {
this.creationTime = builder.creationTime;
this.ips = builder.ips;
this.modificationTime = builder.modificationTime;
this.securityGroupName = builder.securityGroupName;
}
public static Builder builder() {
return new Builder();
}
public static SecurityIpList create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return ips
*/
public String getIps() {
return this.ips;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return securityGroupName
*/
public String getSecurityGroupName() {
return this.securityGroupName;
}
public static final class Builder {
private String creationTime;
private String ips;
private String modificationTime;
private String securityGroupName;
private Builder() {
}
private Builder(SecurityIpList model) {
this.creationTime = model.creationTime;
this.ips = model.ips;
this.modificationTime = model.modificationTime;
this.securityGroupName = model.securityGroupName;
}
/**
* <p>The time when the review security group was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-22T06:54:23Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The IP addresses in the review security group.</p>
*
* <strong>example:</strong>
* <p>30.27.14.0/24,30.39.127.245</p>
*/
public Builder ips(String ips) {
this.ips = ips;
return this;
}
/**
* <p>The time when the review security group was last modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-05-22T06:55:14Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The name of the review security group.</p>
*
* <strong>example:</strong>
* <p>Default</p>
*/
public Builder securityGroupName(String securityGroupName) {
this.securityGroupName = securityGroupName;
return this;
}
public SecurityIpList build() {
return new SecurityIpList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListDynamicImageRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDynamicImageRequest} extends {@link RequestModel}
*
* <p>ListDynamicImageRequest</p>
*/
public class ListDynamicImageRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VideoId")
@com.aliyun.core.annotation.Validation(required = true)
private String videoId;
private ListDynamicImageRequest(Builder builder) {
super(builder);
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static ListDynamicImageRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder extends Request.Builder<ListDynamicImageRequest, Builder> {
private String videoId;
private Builder() {
super();
}
private Builder(ListDynamicImageRequest request) {
super(request);
this.videoId = request.videoId;
}
/**
* <p>The ID of the video.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2e114f1100590c3193918fd449a****</p>
*/
public Builder videoId(String videoId) {
this.putQueryParameter("VideoId", videoId);
this.videoId = videoId;
return this;
}
@Override
public ListDynamicImageRequest build() {
return new ListDynamicImageRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListDynamicImageResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDynamicImageResponse} extends {@link TeaModel}
*
* <p>ListDynamicImageResponse</p>
*/
public class ListDynamicImageResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDynamicImageResponseBody body;
private ListDynamicImageResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDynamicImageResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDynamicImageResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDynamicImageResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDynamicImageResponseBody body);
@Override
ListDynamicImageResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDynamicImageResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDynamicImageResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDynamicImageResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDynamicImageResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDynamicImageResponse build() {
return new ListDynamicImageResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListDynamicImageResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDynamicImageResponseBody} extends {@link TeaModel}
*
* <p>ListDynamicImageResponseBody</p>
*/
public class ListDynamicImageResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DynamicImageList")
private java.util.List<DynamicImageList> dynamicImageList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListDynamicImageResponseBody(Builder builder) {
this.dynamicImageList = builder.dynamicImageList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListDynamicImageResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dynamicImageList
*/
public java.util.List<DynamicImageList> getDynamicImageList() {
return this.dynamicImageList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<DynamicImageList> dynamicImageList;
private String requestId;
private Builder() {
}
private Builder(ListDynamicImageResponseBody model) {
this.dynamicImageList = model.dynamicImageList;
this.requestId = model.requestId;
}
/**
* <p>The list of animated stickers.</p>
*/
public Builder dynamicImageList(java.util.List<DynamicImageList> dynamicImageList) {
this.dynamicImageList = dynamicImageList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>570189B6-572E-4953-13B4278EE0D8****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListDynamicImageResponseBody build() {
return new ListDynamicImageResponseBody(this);
}
}
/**
*
* {@link ListDynamicImageResponseBody} extends {@link TeaModel}
*
* <p>ListDynamicImageResponseBody</p>
*/
public static class DynamicImageList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Duration")
private String duration;
@com.aliyun.core.annotation.NameInMap("DynamicImageId")
private String dynamicImageId;
@com.aliyun.core.annotation.NameInMap("FileSize")
private String fileSize;
@com.aliyun.core.annotation.NameInMap("FileURL")
private String fileURL;
@com.aliyun.core.annotation.NameInMap("Format")
private String format;
@com.aliyun.core.annotation.NameInMap("Fps")
private String fps;
@com.aliyun.core.annotation.NameInMap("Height")
private String height;
@com.aliyun.core.annotation.NameInMap("JobId")
private String jobId;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
@com.aliyun.core.annotation.NameInMap("Width")
private String width;
private DynamicImageList(Builder builder) {
this.creationTime = builder.creationTime;
this.duration = builder.duration;
this.dynamicImageId = builder.dynamicImageId;
this.fileSize = builder.fileSize;
this.fileURL = builder.fileURL;
this.format = builder.format;
this.fps = builder.fps;
this.height = builder.height;
this.jobId = builder.jobId;
this.videoId = builder.videoId;
this.width = builder.width;
}
public static Builder builder() {
return new Builder();
}
public static DynamicImageList create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return duration
*/
public String getDuration() {
return this.duration;
}
/**
* @return dynamicImageId
*/
public String getDynamicImageId() {
return this.dynamicImageId;
}
/**
* @return fileSize
*/
public String getFileSize() {
return this.fileSize;
}
/**
* @return fileURL
*/
public String getFileURL() {
return this.fileURL;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return fps
*/
public String getFps() {
return this.fps;
}
/**
* @return height
*/
public String getHeight() {
return this.height;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
/**
* @return width
*/
public String getWidth() {
return this.width;
}
public static final class Builder {
private String creationTime;
private String duration;
private String dynamicImageId;
private String fileSize;
private String fileURL;
private String format;
private String fps;
private String height;
private String jobId;
private String videoId;
private String width;
private Builder() {
}
private Builder(DynamicImageList model) {
this.creationTime = model.creationTime;
this.duration = model.duration;
this.dynamicImageId = model.dynamicImageId;
this.fileSize = model.fileSize;
this.fileURL = model.fileURL;
this.format = model.format;
this.fps = model.fps;
this.height = model.height;
this.jobId = model.jobId;
this.videoId = model.videoId;
this.width = model.width;
}
/**
* <p>The time when the animated sticker was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2020-07-28T02:01:06Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The duration of the animated sticker. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder duration(String duration) {
this.duration = duration;
return this;
}
/**
* <p>The ID of the animated sticker.</p>
*
* <strong>example:</strong>
* <p>2b4e51df60323ef43d6e336ecf****</p>
*/
public Builder dynamicImageId(String dynamicImageId) {
this.dynamicImageId = dynamicImageId;
return this;
}
/**
* <p>The size of the animated sticker file. Unit: byte.</p>
*
* <strong>example:</strong>
* <p>119866</p>
*/
public Builder fileSize(String fileSize) {
this.fileSize = fileSize;
return this;
}
/**
* <p>The URL of the animated sticker file.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.aliyundoc.com/2e114f110059*****0c3193918fd449a/image/dynamic/2b4e51df60*****323ef43d6e336ecf.webp?auth_key=1597296785-0-0-4a48e85*****bd2bb358e0b3cade">https://example.aliyundoc.com/2e114f110059*****0c3193918fd449a/image/dynamic/2b4e51df60*****323ef43d6e336ecf.webp?auth_key=1597296785-0-0-4a48e85*****bd2bb358e0b3cade</a></p>
*/
public Builder fileURL(String fileURL) {
this.fileURL = fileURL;
return this;
}
/**
* <p>The format of the animated sticker. Valid values: gif and webp.</p>
*
* <strong>example:</strong>
* <p>webp</p>
*/
public Builder format(String format) {
this.format = format;
return this;
}
/**
* <p>The frame rate of the animated sticker. Unit: frames per second.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder fps(String fps) {
this.fps = fps;
return this;
}
/**
* <p>The height of the animated sticker. Unit: pixel.</p>
*
* <strong>example:</strong>
* <p>360</p>
*/
public Builder height(String height) {
this.height = height;
return this;
}
/**
* <p>The job ID for creating the animated sticker.</p>
*
* <strong>example:</strong>
* <p>2bf4390af9e5491c09cc720ad****</p>
*/
public Builder jobId(String jobId) {
this.jobId = jobId;
return this;
}
/**
* <p>The ID of the video.</p>
*
* <strong>example:</strong>
* <p>2e114f1100590c3193918fd449a****</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
/**
* <p>The width of the animated sticker. Unit: pixel.</p>
*
* <strong>example:</strong>
* <p>640</p>
*/
public Builder width(String width) {
this.width = width;
return this;
}
public DynamicImageList build() {
return new DynamicImageList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListJobInfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobInfoRequest} extends {@link RequestModel}
*
* <p>ListJobInfoRequest</p>
*/
public class ListJobInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobType")
@com.aliyun.core.annotation.Validation(required = true)
private String jobType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MediaId")
@com.aliyun.core.annotation.Validation(required = true)
private String mediaId;
private ListJobInfoRequest(Builder builder) {
super(builder);
this.jobType = builder.jobType;
this.mediaId = builder.mediaId;
}
public static Builder builder() {
return new Builder();
}
public static ListJobInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return jobType
*/
public String getJobType() {
return this.jobType;
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
public static final class Builder extends Request.Builder<ListJobInfoRequest, Builder> {
private String jobType;
private String mediaId;
private Builder() {
super();
}
private Builder(ListJobInfoRequest request) {
super(request);
this.jobType = request.jobType;
this.mediaId = request.mediaId;
}
/**
* <p>The type of the task. Valid values:</p>
* <ul>
* <li>transcode</li>
* <li>snapshot</li>
* <li>ai</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>transcode</p>
*/
public Builder jobType(String jobType) {
this.putQueryParameter("JobType", jobType);
this.jobType = jobType;
return this;
}
/**
* <p>The ID of the media asset.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>30e5d7**********bd900764de7c0102</p>
*/
public Builder mediaId(String mediaId) {
this.putQueryParameter("MediaId", mediaId);
this.mediaId = mediaId;
return this;
}
@Override
public ListJobInfoRequest build() {
return new ListJobInfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListJobInfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobInfoResponse} extends {@link TeaModel}
*
* <p>ListJobInfoResponse</p>
*/
public class ListJobInfoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListJobInfoResponseBody body;
private ListJobInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListJobInfoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListJobInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListJobInfoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListJobInfoResponseBody body);
@Override
ListJobInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListJobInfoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListJobInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListJobInfoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListJobInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public ListJobInfoResponse build() {
return new ListJobInfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListJobInfoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobInfoResponseBody} extends {@link TeaModel}
*
* <p>ListJobInfoResponseBody</p>
*/
public class ListJobInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("JobInfoList")
private java.util.List<JobInfoList> jobInfoList;
@com.aliyun.core.annotation.NameInMap("JobType")
private String jobType;
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListJobInfoResponseBody(Builder builder) {
this.jobInfoList = builder.jobInfoList;
this.jobType = builder.jobType;
this.mediaId = builder.mediaId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListJobInfoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return jobInfoList
*/
public java.util.List<JobInfoList> getJobInfoList() {
return this.jobInfoList;
}
/**
* @return jobType
*/
public String getJobType() {
return this.jobType;
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<JobInfoList> jobInfoList;
private String jobType;
private String mediaId;
private String requestId;
private Builder() {
}
private Builder(ListJobInfoResponseBody model) {
this.jobInfoList = model.jobInfoList;
this.jobType = model.jobType;
this.mediaId = model.mediaId;
this.requestId = model.requestId;
}
/**
* <p>The historical tasks of the last 6 months.</p>
*/
public Builder jobInfoList(java.util.List<JobInfoList> jobInfoList) {
this.jobInfoList = jobInfoList;
return this;
}
/**
* <p>The type of the task. Valid values:</p>
* <ul>
* <li>transcode</li>
* <li>snapshot</li>
* <li>ai</li>
* </ul>
*
* <strong>example:</strong>
* <p>transcode</p>
*/
public Builder jobType(String jobType) {
this.jobType = jobType;
return this;
}
/**
* <p>The ID of the media asset.</p>
*
* <strong>example:</strong>
* <p>30e5d7**********bd900764de7c0102</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>6708D849-F109-1A6C-AC91-************</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListJobInfoResponseBody build() {
return new ListJobInfoResponseBody(this);
}
}
/**
*
* {@link ListJobInfoResponseBody} extends {@link TeaModel}
*
* <p>ListJobInfoResponseBody</p>
*/
public static class JobInfoList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CompleteTime")
private String completeTime;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("JobId")
private String jobId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("UserId")
private Long userId;
private JobInfoList(Builder builder) {
this.completeTime = builder.completeTime;
this.createTime = builder.createTime;
this.jobId = builder.jobId;
this.status = builder.status;
this.userId = builder.userId;
}
public static Builder builder() {
return new Builder();
}
public static JobInfoList create() {
return builder().build();
}
/**
* @return completeTime
*/
public String getCompleteTime() {
return this.completeTime;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return userId
*/
public Long getUserId() {
return this.userId;
}
public static final class Builder {
private String completeTime;
private String createTime;
private String jobId;
private String status;
private Long userId;
private Builder() {
}
private Builder(JobInfoList model) {
this.completeTime = model.completeTime;
this.createTime = model.createTime;
this.jobId = model.jobId;
this.status = model.status;
this.userId = model.userId;
}
/**
* <p>The time when the task was complete.</p>
*
* <strong>example:</strong>
* <p>2024-10-14T07:39:34Z</p>
*/
public Builder completeTime(String completeTime) {
this.completeTime = completeTime;
return this;
}
/**
* <p>The time when the task was created. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2024-10-14T07:39:25Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the task.</p>
*
* <strong>example:</strong>
* <p>5c9dff751ba**********59d50a967f5</p>
*/
public Builder jobId(String jobId) {
this.jobId = jobId;
return this;
}
/**
* <p>The status of the task.</p>
*
* <strong>example:</strong>
* <p>TranscodeSuccess</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The ID of the user who submitted the task.</p>
*
* <strong>example:</strong>
* <p>139109*****84930</p>
*/
public Builder userId(Long userId) {
this.userId = userId;
return this;
}
public JobInfoList build() {
return new JobInfoList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListLiveRecordVideoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLiveRecordVideoRequest} extends {@link RequestModel}
*
* <p>ListLiveRecordVideoRequest</p>
*/
public class ListLiveRecordVideoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DomainName")
private String domainName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNo")
private Integer pageNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SortBy")
private String sortBy;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StreamName")
private String streamName;
private ListLiveRecordVideoRequest(Builder builder) {
super(builder);
this.appName = builder.appName;
this.domainName = builder.domainName;
this.endTime = builder.endTime;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.sortBy = builder.sortBy;
this.startTime = builder.startTime;
this.streamName = builder.streamName;
}
public static Builder builder() {
return new Builder();
}
public static ListLiveRecordVideoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return sortBy
*/
public String getSortBy() {
return this.sortBy;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return streamName
*/
public String getStreamName() {
return this.streamName;
}
public static final class Builder extends Request.Builder<ListLiveRecordVideoRequest, Builder> {
private String appName;
private String domainName;
private String endTime;
private Integer pageNo;
private Integer pageSize;
private String sortBy;
private String startTime;
private String streamName;
private Builder() {
super();
}
private Builder(ListLiveRecordVideoRequest request) {
super(request);
this.appName = request.appName;
this.domainName = request.domainName;
this.endTime = request.endTime;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.sortBy = request.sortBy;
this.startTime = request.startTime;
this.streamName = request.streamName;
}
/**
* <p>The name of the application that was used to record the live stream.</p>
*
* <strong>example:</strong>
* <p>testApp</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>The domain name of the recorded live stream.</p>
*
* <strong>example:</strong>
* <p>example.aliyundoc.com</p>
*/
public Builder domainName(String domainName) {
this.putQueryParameter("DomainName", domainName);
this.domainName = domainName;
return this;
}
/**
* <p>The end of the time range to query. The query is performed based on the time range during which the required live streams were recorded. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-01-11T13:00:00Z</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The number of the page to return. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* <p>The number of entries to return on each page. Maximum value: <strong>100</strong>. Default value: <strong>10</strong>.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The sorting rule of the results. Valid values:</p>
* <ul>
* <li><strong>CreationTime:Desc</strong>: The results are sorted in reverse chronological order based on the creation time.</li>
* <li><strong>CreationTime:Asc</strong>: The results are sorted in chronological order based on the creation time.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreationTime:Desc</p>
*/
public Builder sortBy(String sortBy) {
this.putQueryParameter("SortBy", sortBy);
this.sortBy = sortBy;
return this;
}
/**
* <p>The beginning of the time range to query. The query is performed based on the time range during which the required live streams were recorded. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-01-11T12:00:00Z</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* <p>The name of the recorded live stream.</p>
*
* <strong>example:</strong>
* <p>live-test</p>
*/
public Builder streamName(String streamName) {
this.putQueryParameter("StreamName", streamName);
this.streamName = streamName;
return this;
}
@Override
public ListLiveRecordVideoRequest build() {
return new ListLiveRecordVideoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListLiveRecordVideoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLiveRecordVideoResponse} extends {@link TeaModel}
*
* <p>ListLiveRecordVideoResponse</p>
*/
public class ListLiveRecordVideoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListLiveRecordVideoResponseBody body;
private ListLiveRecordVideoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListLiveRecordVideoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListLiveRecordVideoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListLiveRecordVideoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListLiveRecordVideoResponseBody body);
@Override
ListLiveRecordVideoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListLiveRecordVideoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListLiveRecordVideoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListLiveRecordVideoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListLiveRecordVideoResponseBody body) {
this.body = body;
return this;
}
@Override
public ListLiveRecordVideoResponse build() {
return new ListLiveRecordVideoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListLiveRecordVideoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLiveRecordVideoResponseBody} extends {@link TeaModel}
*
* <p>ListLiveRecordVideoResponseBody</p>
*/
public class ListLiveRecordVideoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LiveRecordVideoList")
private LiveRecordVideoList liveRecordVideoList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private ListLiveRecordVideoResponseBody(Builder builder) {
this.liveRecordVideoList = builder.liveRecordVideoList;
this.requestId = builder.requestId;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static ListLiveRecordVideoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return liveRecordVideoList
*/
public LiveRecordVideoList getLiveRecordVideoList() {
return this.liveRecordVideoList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private LiveRecordVideoList liveRecordVideoList;
private String requestId;
private Integer total;
private Builder() {
}
private Builder(ListLiveRecordVideoResponseBody model) {
this.liveRecordVideoList = model.liveRecordVideoList;
this.requestId = model.requestId;
this.total = model.total;
}
/**
* <p>The list of videos.</p>
*/
public Builder liveRecordVideoList(LiveRecordVideoList liveRecordVideoList) {
this.liveRecordVideoList = liveRecordVideoList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A13-****-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of videos.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public ListLiveRecordVideoResponseBody build() {
return new ListLiveRecordVideoResponseBody(this);
}
}
/**
*
* {@link ListLiveRecordVideoResponseBody} extends {@link TeaModel}
*
* <p>ListLiveRecordVideoResponseBody</p>
*/
public static class Snapshots extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Snapshot")
private java.util.List<String> snapshot;
private Snapshots(Builder builder) {
this.snapshot = builder.snapshot;
}
public static Builder builder() {
return new Builder();
}
public static Snapshots create() {
return builder().build();
}
/**
* @return snapshot
*/
public java.util.List<String> getSnapshot() {
return this.snapshot;
}
public static final class Builder {
private java.util.List<String> snapshot;
private Builder() {
}
private Builder(Snapshots model) {
this.snapshot = model.snapshot;
}
/**
* Snapshot.
*/
public Builder snapshot(java.util.List<String> snapshot) {
this.snapshot = snapshot;
return this;
}
public Snapshots build() {
return new Snapshots(this);
}
}
}
/**
*
* {@link ListLiveRecordVideoResponseBody} extends {@link TeaModel}
*
* <p>ListLiveRecordVideoResponseBody</p>
*/
public static class Video extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CateId")
private Integer cateId;
@com.aliyun.core.annotation.NameInMap("CateName")
private String cateName;
@com.aliyun.core.annotation.NameInMap("CoverURL")
private String coverURL;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Duration")
private Float duration;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Size")
private Long size;
@com.aliyun.core.annotation.NameInMap("Snapshots")
private Snapshots snapshots;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
@com.aliyun.core.annotation.NameInMap("TemplateGroupId")
private String templateGroupId;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
private Video(Builder builder) {
this.cateId = builder.cateId;
this.cateName = builder.cateName;
this.coverURL = builder.coverURL;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.duration = builder.duration;
this.modifyTime = builder.modifyTime;
this.size = builder.size;
this.snapshots = builder.snapshots;
this.status = builder.status;
this.tags = builder.tags;
this.templateGroupId = builder.templateGroupId;
this.title = builder.title;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static Video create() {
return builder().build();
}
/**
* @return cateId
*/
public Integer getCateId() {
return this.cateId;
}
/**
* @return cateName
*/
public String getCateName() {
return this.cateName;
}
/**
* @return coverURL
*/
public String getCoverURL() {
return this.coverURL;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return duration
*/
public Float getDuration() {
return this.duration;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return snapshots
*/
public Snapshots getSnapshots() {
return this.snapshots;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
/**
* @return templateGroupId
*/
public String getTemplateGroupId() {
return this.templateGroupId;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder {
private Integer cateId;
private String cateName;
private String coverURL;
private String creationTime;
private String description;
private Float duration;
private String modifyTime;
private Long size;
private Snapshots snapshots;
private String status;
private String tags;
private String templateGroupId;
private String title;
private String videoId;
private Builder() {
}
private Builder(Video model) {
this.cateId = model.cateId;
this.cateName = model.cateName;
this.coverURL = model.coverURL;
this.creationTime = model.creationTime;
this.description = model.description;
this.duration = model.duration;
this.modifyTime = model.modifyTime;
this.size = model.size;
this.snapshots = model.snapshots;
this.status = model.status;
this.tags = model.tags;
this.templateGroupId = model.templateGroupId;
this.title = model.title;
this.videoId = model.videoId;
}
/**
* <p>The ID of the video category.</p>
*
* <strong>example:</strong>
* <p>78</p>
*/
public Builder cateId(Integer cateId) {
this.cateId = cateId;
return this;
}
/**
* <p>The category of the video.</p>
*
* <strong>example:</strong>
* <p>Category name</p>
*/
public Builder cateName(String cateName) {
this.cateName = cateName;
return this;
}
/**
* <p>The URL of the video thumbnail.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.aliyundoc.com/coversample.jpg">https://example.aliyundoc.com/coversample.jpg</a></p>
*/
public Builder coverURL(String coverURL) {
this.coverURL = coverURL;
return this;
}
/**
* <p>The time when the audio or video file was created. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-12-08T07:40:56Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the video file.</p>
*
* <strong>example:</strong>
* <p>Description of the ApsaraVideo VOD video</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The duration of the video file. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>135.6</p>
*/
public Builder duration(Float duration) {
this.duration = duration;
return this;
}
/**
* <p>The time when the video was updated. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-12-08T09:40:56Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The size of the source video file. Unit: bytes.</p>
*
* <strong>example:</strong>
* <p>10897890</p>
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* <p>The array of video snapshot URLs.</p>
*/
public Builder snapshots(Snapshots snapshots) {
this.snapshots = snapshots;
return this;
}
/**
* <p>The status of the video. Valid values:</p>
* <ul>
* <li><strong>Uploading</strong></li>
* <li><strong>UploadFail</strong></li>
* <li><strong>UploadSuccess</strong></li>
* <li><strong>Transcoding</strong></li>
* <li><strong>TranscodeFail</strong></li>
* <li><strong>Blocked</strong></li>
* <li><strong>Normal</strong>: The video is normal.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags of the video. Multiple tags are separated with commas (,).</p>
*
* <strong>example:</strong>
* <p>tag1, tag2</p>
*/
public Builder tags(String tags) {
this.tags = tags;
return this;
}
/**
* <p>The ID of the transcoding template group.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder templateGroupId(String templateGroupId) {
this.templateGroupId = templateGroupId;
return this;
}
/**
* <p>The title of the video.</p>
*
* <strong>example:</strong>
* <p>Title of the ApsaraVideo VOD video</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* <p>The ID of the video.</p>
*
* <strong>example:</strong>
* <p>93ab850b4f6f*****54b6e91d24d81d4</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
public Video build() {
return new Video(this);
}
}
}
/**
*
* {@link ListLiveRecordVideoResponseBody} extends {@link TeaModel}
*
* <p>ListLiveRecordVideoResponseBody</p>
*/
public static class LiveRecordVideo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("DomainName")
private String domainName;
@com.aliyun.core.annotation.NameInMap("PlaylistId")
private String playlistId;
@com.aliyun.core.annotation.NameInMap("RecordEndTime")
private String recordEndTime;
@com.aliyun.core.annotation.NameInMap("RecordStartTime")
private String recordStartTime;
@com.aliyun.core.annotation.NameInMap("StreamName")
private String streamName;
@com.aliyun.core.annotation.NameInMap("Video")
private Video video;
private LiveRecordVideo(Builder builder) {
this.appName = builder.appName;
this.domainName = builder.domainName;
this.playlistId = builder.playlistId;
this.recordEndTime = builder.recordEndTime;
this.recordStartTime = builder.recordStartTime;
this.streamName = builder.streamName;
this.video = builder.video;
}
public static Builder builder() {
return new Builder();
}
public static LiveRecordVideo create() {
return builder().build();
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return playlistId
*/
public String getPlaylistId() {
return this.playlistId;
}
/**
* @return recordEndTime
*/
public String getRecordEndTime() {
return this.recordEndTime;
}
/**
* @return recordStartTime
*/
public String getRecordStartTime() {
return this.recordStartTime;
}
/**
* @return streamName
*/
public String getStreamName() {
return this.streamName;
}
/**
* @return video
*/
public Video getVideo() {
return this.video;
}
public static final class Builder {
private String appName;
private String domainName;
private String playlistId;
private String recordEndTime;
private String recordStartTime;
private String streamName;
private Video video;
private Builder() {
}
private Builder(LiveRecordVideo model) {
this.appName = model.appName;
this.domainName = model.domainName;
this.playlistId = model.playlistId;
this.recordEndTime = model.recordEndTime;
this.recordStartTime = model.recordStartTime;
this.streamName = model.streamName;
this.video = model.video;
}
/**
* <p>The name of the app.</p>
*
* <strong>example:</strong>
* <p>testApp</p>
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* <p>The domain name.</p>
*
* <strong>example:</strong>
* <p>example.com</p>
*/
public Builder domainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* <p>The ID of the playlist.</p>
*
* <strong>example:</strong>
* <hr>
*/
public Builder playlistId(String playlistId) {
this.playlistId = playlistId;
return this;
}
/**
* <p>The recording end time. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-12-08T08:44:56Z</p>
*/
public Builder recordEndTime(String recordEndTime) {
this.recordEndTime = recordEndTime;
return this;
}
/**
* <p>The recording start time. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-12-08T07:40:56Z</p>
*/
public Builder recordStartTime(String recordStartTime) {
this.recordStartTime = recordStartTime;
return this;
}
/**
* <p>The name of the live-to-VOD file.</p>
*
* <strong>example:</strong>
* <p>live-test</p>
*/
public Builder streamName(String streamName) {
this.streamName = streamName;
return this;
}
/**
* <p>The information about the live-to-VOD file.</p>
*/
public Builder video(Video video) {
this.video = video;
return this;
}
public LiveRecordVideo build() {
return new LiveRecordVideo(this);
}
}
}
/**
*
* {@link ListLiveRecordVideoResponseBody} extends {@link TeaModel}
*
* <p>ListLiveRecordVideoResponseBody</p>
*/
public static class LiveRecordVideoList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LiveRecordVideo")
private java.util.List<LiveRecordVideo> liveRecordVideo;
private LiveRecordVideoList(Builder builder) {
this.liveRecordVideo = builder.liveRecordVideo;
}
public static Builder builder() {
return new Builder();
}
public static LiveRecordVideoList create() {
return builder().build();
}
/**
* @return liveRecordVideo
*/
public java.util.List<LiveRecordVideo> getLiveRecordVideo() {
return this.liveRecordVideo;
}
public static final class Builder {
private java.util.List<LiveRecordVideo> liveRecordVideo;
private Builder() {
}
private Builder(LiveRecordVideoList model) {
this.liveRecordVideo = model.liveRecordVideo;
}
/**
* LiveRecordVideo.
*/
public Builder liveRecordVideo(java.util.List<LiveRecordVideo> liveRecordVideo) {
this.liveRecordVideo = liveRecordVideo;
return this;
}
public LiveRecordVideoList build() {
return new LiveRecordVideoList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListSnapshotsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListSnapshotsRequest} extends {@link RequestModel}
*
* <p>ListSnapshotsRequest</p>
*/
public class ListSnapshotsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AuthTimeout")
private String authTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNo")
private String pageNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private String pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SnapshotType")
private String snapshotType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VideoId")
@com.aliyun.core.annotation.Validation(required = true)
private String videoId;
private ListSnapshotsRequest(Builder builder) {
super(builder);
this.authTimeout = builder.authTimeout;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.snapshotType = builder.snapshotType;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static ListSnapshotsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return authTimeout
*/
public String getAuthTimeout() {
return this.authTimeout;
}
/**
* @return pageNo
*/
public String getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
/**
* @return snapshotType
*/
public String getSnapshotType() {
return this.snapshotType;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder extends Request.Builder<ListSnapshotsRequest, Builder> {
private String authTimeout;
private String pageNo;
private String pageSize;
private String snapshotType;
private String videoId;
private Builder() {
super();
}
private Builder(ListSnapshotsRequest request) {
super(request);
this.authTimeout = request.authTimeout;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.snapshotType = request.snapshotType;
this.videoId = request.videoId;
}
/**
* <p>The validity period of the snapshot URL. Default value: <strong>3600</strong>. Minimum value: <strong>3600</strong>. Unit: seconds.</p>
* <ul>
* <li>This parameter takes effect only when you enable URL signing. For more information, see <a href="https://help.aliyun.com/document_detail/57007.html">Configure URL signing</a>.</li>
* <li>If you specify a value smaller than <strong>3,600 seconds</strong>, <strong>3600</strong> is used by default.</li>
* <li>If the snapshot URL is an Object Storage Service (OSS) URL, the maximum value for this parameter is <strong>2592000</strong> (30 days). This reduces risks on the origin.</li>
* </ul>
*
* <strong>example:</strong>
* <p>3600</p>
*/
public Builder authTimeout(String authTimeout) {
this.putQueryParameter("AuthTimeout", authTimeout);
this.authTimeout = authTimeout;
return this;
}
/**
* <p>The page number. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNo(String pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* <p>The number of entries per page. Default value: <strong>20</strong>. Maximum value: <strong>100</strong>.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(String pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The type of snapshots to return. Valid values:</p>
* <ul>
* <li><strong>CoverSnapshot</strong>: thumbnail snapshot</li>
* <li><strong>NormalSnapshot</strong>: regular snapshot</li>
* <li><strong>SpriteSnapshot</strong>: sprite snapshot</li>
* <li><strong>SpriteOriginSnapshot</strong>: sprite source snapshot</li>
* <li><strong>WebVttSnapshot</strong>: WebVTT snapshot</li>
* </ul>
*
* <strong>example:</strong>
* <p>CoverSnapshot</p>
*/
public Builder snapshotType(String snapshotType) {
this.putQueryParameter("SnapshotType", snapshotType);
this.snapshotType = snapshotType;
return this;
}
/**
* <p>The ID of the video. You can use one of the following methods to obtain the ID:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Media Files</strong> > <strong>Audio/Video</strong> to view the video ID.</li>
* <li>Obtain the video ID from the response to the <a href="~~CreateUploadVideo~~">CreateUploadVideo</a> operation that you call to obtain the upload URL and credential.</li>
* <li>Obtain the video ID from the response to the <a href="~~SearchMedia~~">SearchMedia</a> operation that you call to query videos.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>d3e680e618708fbf2cae7cc931****</p>
*/
public Builder videoId(String videoId) {
this.putQueryParameter("VideoId", videoId);
this.videoId = videoId;
return this;
}
@Override
public ListSnapshotsRequest build() {
return new ListSnapshotsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListSnapshotsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListSnapshotsResponse} extends {@link TeaModel}
*
* <p>ListSnapshotsResponse</p>
*/
public class ListSnapshotsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListSnapshotsResponseBody body;
private ListSnapshotsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListSnapshotsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListSnapshotsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListSnapshotsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListSnapshotsResponseBody body);
@Override
ListSnapshotsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListSnapshotsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListSnapshotsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListSnapshotsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListSnapshotsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListSnapshotsResponse build() {
return new ListSnapshotsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListSnapshotsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListSnapshotsResponseBody} extends {@link TeaModel}
*
* <p>ListSnapshotsResponseBody</p>
*/
public class ListSnapshotsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MediaSnapshot")
private MediaSnapshot mediaSnapshot;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListSnapshotsResponseBody(Builder builder) {
this.mediaSnapshot = builder.mediaSnapshot;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListSnapshotsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return mediaSnapshot
*/
public MediaSnapshot getMediaSnapshot() {
return this.mediaSnapshot;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private MediaSnapshot mediaSnapshot;
private String requestId;
private Builder() {
}
private Builder(ListSnapshotsResponseBody model) {
this.mediaSnapshot = model.mediaSnapshot;
this.requestId = model.requestId;
}
/**
* <p>The information about the snapshot.</p>
*/
public Builder mediaSnapshot(MediaSnapshot mediaSnapshot) {
this.mediaSnapshot = mediaSnapshot;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4AF6-D7393642CA58****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListSnapshotsResponseBody build() {
return new ListSnapshotsResponseBody(this);
}
}
/**
*
* {@link ListSnapshotsResponseBody} extends {@link TeaModel}
*
* <p>ListSnapshotsResponseBody</p>
*/
public static class Snapshot extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Index")
private Long index;
@com.aliyun.core.annotation.NameInMap("Url")
private String url;
private Snapshot(Builder builder) {
this.index = builder.index;
this.url = builder.url;
}
public static Builder builder() {
return new Builder();
}
public static Snapshot create() {
return builder().build();
}
/**
* @return index
*/
public Long getIndex() {
return this.index;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
public static final class Builder {
private Long index;
private String url;
private Builder() {
}
private Builder(Snapshot model) {
this.index = model.index;
this.url = model.url;
}
/**
* <p>The index of the snapshot.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder index(Long index) {
this.index = index;
return this;
}
/**
* <p>The URL of the snapshot.</p>
*
* <strong>example:</strong>
* <p><a href="http://example.aliyundoc.com/snapshot/sample00001****.jpg">http://example.aliyundoc.com/snapshot/sample00001****.jpg</a></p>
*/
public Builder url(String url) {
this.url = url;
return this;
}
public Snapshot build() {
return new Snapshot(this);
}
}
}
/**
*
* {@link ListSnapshotsResponseBody} extends {@link TeaModel}
*
* <p>ListSnapshotsResponseBody</p>
*/
public static class Snapshots extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Snapshot")
private java.util.List<Snapshot> snapshot;
private Snapshots(Builder builder) {
this.snapshot = builder.snapshot;
}
public static Builder builder() {
return new Builder();
}
public static Snapshots create() {
return builder().build();
}
/**
* @return snapshot
*/
public java.util.List<Snapshot> getSnapshot() {
return this.snapshot;
}
public static final class Builder {
private java.util.List<Snapshot> snapshot;
private Builder() {
}
private Builder(Snapshots model) {
this.snapshot = model.snapshot;
}
/**
* Snapshot.
*/
public Builder snapshot(java.util.List<Snapshot> snapshot) {
this.snapshot = snapshot;
return this;
}
public Snapshots build() {
return new Snapshots(this);
}
}
}
/**
*
* {@link ListSnapshotsResponseBody} extends {@link TeaModel}
*
* <p>ListSnapshotsResponseBody</p>
*/
public static class MediaSnapshot extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("JobId")
private String jobId;
@com.aliyun.core.annotation.NameInMap("Regular")
private String regular;
@com.aliyun.core.annotation.NameInMap("Snapshots")
private Snapshots snapshots;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private MediaSnapshot(Builder builder) {
this.creationTime = builder.creationTime;
this.jobId = builder.jobId;
this.regular = builder.regular;
this.snapshots = builder.snapshots;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static MediaSnapshot create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return regular
*/
public String getRegular() {
return this.regular;
}
/**
* @return snapshots
*/
public Snapshots getSnapshots() {
return this.snapshots;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private String creationTime;
private String jobId;
private String regular;
private Snapshots snapshots;
private Long total;
private Builder() {
}
private Builder(MediaSnapshot model) {
this.creationTime = model.creationTime;
this.jobId = model.jobId;
this.regular = model.regular;
this.snapshots = model.snapshots;
this.total = model.total;
}
/**
* <p>The time when the snapshot job was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-12-20T12:23:45Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The ID of the snapshot job.</p>
*
* <strong>example:</strong>
* <p>ad90a501b1b9472374ad005046****</p>
*/
public Builder jobId(String jobId) {
this.jobId = jobId;
return this;
}
/**
* <p>The rule used to generate snapshot URLs.</p>
*
* <strong>example:</strong>
* <p><a href="http://example.aliyundoc.com/snapshot/sample%7BSnapshotCount%7D.jpg">http://example.aliyundoc.com/snapshot/sample{SnapshotCount}.jpg</a></p>
*/
public Builder regular(String regular) {
this.regular = regular;
return this;
}
/**
* <p>The details of the snapshot.</p>
*/
public Builder snapshots(Snapshots snapshots) {
this.snapshots = snapshots;
return this;
}
/**
* <p>The total number of snapshots.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public MediaSnapshot build() {
return new MediaSnapshot(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListTranscodeTaskRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTranscodeTaskRequest} extends {@link RequestModel}
*
* <p>ListTranscodeTaskRequest</p>
*/
public class ListTranscodeTaskRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNo")
private Integer pageNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VideoId")
@com.aliyun.core.annotation.Validation(required = true)
private String videoId;
private ListTranscodeTaskRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.startTime = builder.startTime;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static ListTranscodeTaskRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder extends Request.Builder<ListTranscodeTaskRequest, Builder> {
private String endTime;
private Integer pageNo;
private Integer pageSize;
private String startTime;
private String videoId;
private Builder() {
super();
}
private Builder(ListTranscodeTaskRequest request) {
super(request);
this.endTime = request.endTime;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.startTime = request.startTime;
this.videoId = request.videoId;
}
/**
* <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-01-23T12:40:12Z</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The number of the page to return. You can specify a page number to return data from the specified page. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* <p>The number of entries to return on each page. Maximum value: <strong>50</strong>. Default value: <strong>10</strong>.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-01-23T12:35:12Z</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* <p>The ID of the audio or video file. You can use one of the following methods to obtain the ID of the file:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD</a> console. In the left-side navigation pane, choose <strong>Media Files</strong> > <strong>Audio/Video</strong>. On the Video and Audio page, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.</li>
* <li>Obtain the value of VideoId from the response to the <a href="https://help.aliyun.com/document_detail/55407.html">CreateUploadVideo</a> operation that you call to obtain the upload URL and credential.</li>
* <li>Obtain the value of VideoId by calling the <a href="https://help.aliyun.com/document_detail/86044.html">SearchMedia</a> operation. This method is applicable to files that have been uploaded.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>d4860fcc6a5*****bce9fed52e893824</p>
*/
public Builder videoId(String videoId) {
this.putQueryParameter("VideoId", videoId);
this.videoId = videoId;
return this;
}
@Override
public ListTranscodeTaskRequest build() {
return new ListTranscodeTaskRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListTranscodeTaskResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTranscodeTaskResponse} extends {@link TeaModel}
*
* <p>ListTranscodeTaskResponse</p>
*/
public class ListTranscodeTaskResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTranscodeTaskResponseBody body;
private ListTranscodeTaskResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTranscodeTaskResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTranscodeTaskResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTranscodeTaskResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTranscodeTaskResponseBody body);
@Override
ListTranscodeTaskResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTranscodeTaskResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTranscodeTaskResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTranscodeTaskResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTranscodeTaskResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTranscodeTaskResponse build() {
return new ListTranscodeTaskResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListTranscodeTaskResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTranscodeTaskResponseBody} extends {@link TeaModel}
*
* <p>ListTranscodeTaskResponseBody</p>
*/
public class ListTranscodeTaskResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TranscodeTaskList")
private java.util.List<TranscodeTaskList> transcodeTaskList;
private ListTranscodeTaskResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.transcodeTaskList = builder.transcodeTaskList;
}
public static Builder builder() {
return new Builder();
}
public static ListTranscodeTaskResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return transcodeTaskList
*/
public java.util.List<TranscodeTaskList> getTranscodeTaskList() {
return this.transcodeTaskList;
}
public static final class Builder {
private String requestId;
private java.util.List<TranscodeTaskList> transcodeTaskList;
private Builder() {
}
private Builder(ListTranscodeTaskResponseBody model) {
this.requestId = model.requestId;
this.transcodeTaskList = model.transcodeTaskList;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A*****F6-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Details about transcoding tasks.</p>
*/
public Builder transcodeTaskList(java.util.List<TranscodeTaskList> transcodeTaskList) {
this.transcodeTaskList = transcodeTaskList;
return this;
}
public ListTranscodeTaskResponseBody build() {
return new ListTranscodeTaskResponseBody(this);
}
}
/**
*
* {@link ListTranscodeTaskResponseBody} extends {@link TeaModel}
*
* <p>ListTranscodeTaskResponseBody</p>
*/
public static class TranscodeTaskList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CompleteTime")
private String completeTime;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("TaskStatus")
private String taskStatus;
@com.aliyun.core.annotation.NameInMap("TranscodeTaskId")
private String transcodeTaskId;
@com.aliyun.core.annotation.NameInMap("TranscodeTemplateGroupId")
private String transcodeTemplateGroupId;
@com.aliyun.core.annotation.NameInMap("Trigger")
private String trigger;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
private TranscodeTaskList(Builder builder) {
this.completeTime = builder.completeTime;
this.creationTime = builder.creationTime;
this.taskStatus = builder.taskStatus;
this.transcodeTaskId = builder.transcodeTaskId;
this.transcodeTemplateGroupId = builder.transcodeTemplateGroupId;
this.trigger = builder.trigger;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static TranscodeTaskList create() {
return builder().build();
}
/**
* @return completeTime
*/
public String getCompleteTime() {
return this.completeTime;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return taskStatus
*/
public String getTaskStatus() {
return this.taskStatus;
}
/**
* @return transcodeTaskId
*/
public String getTranscodeTaskId() {
return this.transcodeTaskId;
}
/**
* @return transcodeTemplateGroupId
*/
public String getTranscodeTemplateGroupId() {
return this.transcodeTemplateGroupId;
}
/**
* @return trigger
*/
public String getTrigger() {
return this.trigger;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder {
private String completeTime;
private String creationTime;
private String taskStatus;
private String transcodeTaskId;
private String transcodeTemplateGroupId;
private String trigger;
private String videoId;
private Builder() {
}
private Builder(TranscodeTaskList model) {
this.completeTime = model.completeTime;
this.creationTime = model.creationTime;
this.taskStatus = model.taskStatus;
this.transcodeTaskId = model.transcodeTaskId;
this.transcodeTemplateGroupId = model.transcodeTemplateGroupId;
this.trigger = model.trigger;
this.videoId = model.videoId;
}
/**
* <p>The time when the transcoding task was complete. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-01-23T12:40:12Z</p>
*/
public Builder completeTime(String completeTime) {
this.completeTime = completeTime;
return this;
}
/**
* <p>The time when the transcoding task was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2019-01-23T12:35:12Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The status of the transcoding task. Valid values:</p>
* <ul>
* <li><strong>Processing</strong>: In progress.</li>
* <li><strong>Partial</strong>: Some transcoding jobs were complete.</li>
* <li><strong>CompleteAllSucc</strong>: All transcoding jobs were successful.</li>
* <li><strong>CompleteAllFail</strong>: All transcoding jobs failed. If an exception occurs in the source file, no transcoding job is initiated and the transcoding task fails.</li>
* <li><strong>CompletePartialSucc</strong>: All transcoding jobs were complete but only some were successful.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Processing</p>
*/
public Builder taskStatus(String taskStatus) {
this.taskStatus = taskStatus;
return this;
}
/**
* <p>The ID of the transcoding task.</p>
*
* <strong>example:</strong>
* <p>b1b65ab107*****ba3dbb900f6c1fe0</p>
*/
public Builder transcodeTaskId(String transcodeTaskId) {
this.transcodeTaskId = transcodeTaskId;
return this;
}
/**
* <p>The ID of the transcoding template group.</p>
*
* <strong>example:</strong>
* <p>b500c7094bd24*****f3e9900752d7c3</p>
*/
public Builder transcodeTemplateGroupId(String transcodeTemplateGroupId) {
this.transcodeTemplateGroupId = transcodeTemplateGroupId;
return this;
}
/**
* <p>The mode in which the transcoding task is triggered. Valid values:</p>
* <ul>
* <li><strong>Auto</strong>: The transcoding task is automatically triggered when the video is uploaded.</li>
* <li><strong>Manual</strong>: The transcoding task is triggered by calling the SubmitTranscodeJobs operation.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Auto</p>
*/
public Builder trigger(String trigger) {
this.trigger = trigger;
return this;
}
/**
* <p>The ID of the audio or video file.</p>
*
* <strong>example:</strong>
* <p>d4860fcc6a5*****bce9fed52e893824</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
public TranscodeTaskList build() {
return new TranscodeTaskList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListTranscodeTemplateGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTranscodeTemplateGroupRequest} extends {@link RequestModel}
*
* <p>ListTranscodeTemplateGroupRequest</p>
*/
public class ListTranscodeTemplateGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
private ListTranscodeTemplateGroupRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
}
public static Builder builder() {
return new Builder();
}
public static ListTranscodeTemplateGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
public static final class Builder extends Request.Builder<ListTranscodeTemplateGroupRequest, Builder> {
private String appId;
private Builder() {
super();
}
private Builder(ListTranscodeTemplateGroupRequest request) {
super(request);
this.appId = request.appId;
}
/**
* <p>The ID of the application. Default value: <strong>app-1000000</strong>. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Overview</a>.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
@Override
public ListTranscodeTemplateGroupRequest build() {
return new ListTranscodeTemplateGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListTranscodeTemplateGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTranscodeTemplateGroupResponse} extends {@link TeaModel}
*
* <p>ListTranscodeTemplateGroupResponse</p>
*/
public class ListTranscodeTemplateGroupResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTranscodeTemplateGroupResponseBody body;
private ListTranscodeTemplateGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTranscodeTemplateGroupResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTranscodeTemplateGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTranscodeTemplateGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTranscodeTemplateGroupResponseBody body);
@Override
ListTranscodeTemplateGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTranscodeTemplateGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTranscodeTemplateGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTranscodeTemplateGroupResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTranscodeTemplateGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTranscodeTemplateGroupResponse build() {
return new ListTranscodeTemplateGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListTranscodeTemplateGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTranscodeTemplateGroupResponseBody} extends {@link TeaModel}
*
* <p>ListTranscodeTemplateGroupResponseBody</p>
*/
public class ListTranscodeTemplateGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TranscodeTemplateGroupList")
private java.util.List<TranscodeTemplateGroupList> transcodeTemplateGroupList;
private ListTranscodeTemplateGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.transcodeTemplateGroupList = builder.transcodeTemplateGroupList;
}
public static Builder builder() {
return new Builder();
}
public static ListTranscodeTemplateGroupResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return transcodeTemplateGroupList
*/
public java.util.List<TranscodeTemplateGroupList> getTranscodeTemplateGroupList() {
return this.transcodeTemplateGroupList;
}
public static final class Builder {
private String requestId;
private java.util.List<TranscodeTemplateGroupList> transcodeTemplateGroupList;
private Builder() {
}
private Builder(ListTranscodeTemplateGroupResponseBody model) {
this.requestId = model.requestId;
this.transcodeTemplateGroupList = model.transcodeTemplateGroupList;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A*****F6-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The transcoding template groups.</p>
*/
public Builder transcodeTemplateGroupList(java.util.List<TranscodeTemplateGroupList> transcodeTemplateGroupList) {
this.transcodeTemplateGroupList = transcodeTemplateGroupList;
return this;
}
public ListTranscodeTemplateGroupResponseBody build() {
return new ListTranscodeTemplateGroupResponseBody(this);
}
}
/**
*
* {@link ListTranscodeTemplateGroupResponseBody} extends {@link TeaModel}
*
* <p>ListTranscodeTemplateGroupResponseBody</p>
*/
public static class TranscodeTemplateGroupList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private String isDefault;
@com.aliyun.core.annotation.NameInMap("Locked")
private String locked;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("TranscodeTemplateGroupId")
private String transcodeTemplateGroupId;
private TranscodeTemplateGroupList(Builder builder) {
this.appId = builder.appId;
this.creationTime = builder.creationTime;
this.isDefault = builder.isDefault;
this.locked = builder.locked;
this.modifyTime = builder.modifyTime;
this.name = builder.name;
this.transcodeTemplateGroupId = builder.transcodeTemplateGroupId;
}
public static Builder builder() {
return new Builder();
}
public static TranscodeTemplateGroupList create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}
/**
* @return locked
*/
public String getLocked() {
return this.locked;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return transcodeTemplateGroupId
*/
public String getTranscodeTemplateGroupId() {
return this.transcodeTemplateGroupId;
}
public static final class Builder {
private String appId;
private String creationTime;
private String isDefault;
private String locked;
private String modifyTime;
private String name;
private String transcodeTemplateGroupId;
private Builder() {
}
private Builder(TranscodeTemplateGroupList model) {
this.appId = model.appId;
this.creationTime = model.creationTime;
this.isDefault = model.isDefault;
this.locked = model.locked;
this.modifyTime = model.modifyTime;
this.name = model.name;
this.transcodeTemplateGroupId = model.transcodeTemplateGroupId;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The time when the template group was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-12-05T10:20:09Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>Indicates whether the template group is the default one. Valid values:</p>
* <ul>
* <li><strong>Default</strong>: The template group is the default one.</li>
* <li><strong>NotDefault</strong>: The template group is not the default one.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Default</p>
*/
public Builder isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* <p>The lock status of the transcoding template group. Valid values:</p>
* <ul>
* <li><strong>Disabled</strong>: The template group is not locked.</li>
* <li><strong>Enabled</strong>: The template group is locked.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Disabled</p>
*/
public Builder locked(String locked) {
this.locked = locked;
return this;
}
/**
* <p>The time when the template group was modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-12-05T10:22:09Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The name of the template group.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The ID of the transcoding template group.</p>
*
* <strong>example:</strong>
* <p>17a9889fc66852*****d791c886700932</p>
*/
public Builder transcodeTemplateGroupId(String transcodeTemplateGroupId) {
this.transcodeTemplateGroupId = transcodeTemplateGroupId;
return this;
}
public TranscodeTemplateGroupList build() {
return new TranscodeTemplateGroupList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListVodTemplateRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListVodTemplateRequest} extends {@link RequestModel}
*
* <p>ListVodTemplateRequest</p>
*/
public class ListVodTemplateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TemplateType")
@com.aliyun.core.annotation.Validation(required = true)
private String templateType;
private ListVodTemplateRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.templateType = builder.templateType;
}
public static Builder builder() {
return new Builder();
}
public static ListVodTemplateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return templateType
*/
public String getTemplateType() {
return this.templateType;
}
public static final class Builder extends Request.Builder<ListVodTemplateRequest, Builder> {
private String appId;
private String templateType;
private Builder() {
super();
}
private Builder(ListVodTemplateRequest request) {
super(request);
this.appId = request.appId;
this.templateType = request.templateType;
}
/**
* <p>The ID of the application. Set the value to <strong>app-1000000</strong>. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Overview</a>.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The type of the template. Set the value to <strong>Snapshot</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Snapshot</p>
*/
public Builder templateType(String templateType) {
this.putQueryParameter("TemplateType", templateType);
this.templateType = templateType;
return this;
}
@Override
public ListVodTemplateRequest build() {
return new ListVodTemplateRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListVodTemplateResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListVodTemplateResponse} extends {@link TeaModel}
*
* <p>ListVodTemplateResponse</p>
*/
public class ListVodTemplateResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListVodTemplateResponseBody body;
private ListVodTemplateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListVodTemplateResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListVodTemplateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListVodTemplateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListVodTemplateResponseBody body);
@Override
ListVodTemplateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListVodTemplateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListVodTemplateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListVodTemplateResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListVodTemplateResponseBody body) {
this.body = body;
return this;
}
@Override
public ListVodTemplateResponse build() {
return new ListVodTemplateResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListVodTemplateResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListVodTemplateResponseBody} extends {@link TeaModel}
*
* <p>ListVodTemplateResponseBody</p>
*/
public class ListVodTemplateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VodTemplateInfoList")
private java.util.List<VodTemplateInfoList> vodTemplateInfoList;
private ListVodTemplateResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.vodTemplateInfoList = builder.vodTemplateInfoList;
}
public static Builder builder() {
return new Builder();
}
public static ListVodTemplateResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vodTemplateInfoList
*/
public java.util.List<VodTemplateInfoList> getVodTemplateInfoList() {
return this.vodTemplateInfoList;
}
public static final class Builder {
private String requestId;
private java.util.List<VodTemplateInfoList> vodTemplateInfoList;
private Builder() {
}
private Builder(ListVodTemplateResponseBody model) {
this.requestId = model.requestId;
this.vodTemplateInfoList = model.vodTemplateInfoList;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>2A56B75B-B7E6-48*****27-A9BEAA3E50A8</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The snapshot templates.</p>
*/
public Builder vodTemplateInfoList(java.util.List<VodTemplateInfoList> vodTemplateInfoList) {
this.vodTemplateInfoList = vodTemplateInfoList;
return this;
}
public ListVodTemplateResponseBody build() {
return new ListVodTemplateResponseBody(this);
}
}
/**
*
* {@link ListVodTemplateResponseBody} extends {@link TeaModel}
*
* <p>ListVodTemplateResponseBody</p>
*/
public static class VodTemplateInfoList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private String isDefault;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("TemplateConfig")
private String templateConfig;
@com.aliyun.core.annotation.NameInMap("TemplateType")
private String templateType;
@com.aliyun.core.annotation.NameInMap("VodTemplateId")
private String vodTemplateId;
private VodTemplateInfoList(Builder builder) {
this.appId = builder.appId;
this.creationTime = builder.creationTime;
this.isDefault = builder.isDefault;
this.modifyTime = builder.modifyTime;
this.name = builder.name;
this.templateConfig = builder.templateConfig;
this.templateType = builder.templateType;
this.vodTemplateId = builder.vodTemplateId;
}
public static Builder builder() {
return new Builder();
}
public static VodTemplateInfoList create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return templateConfig
*/
public String getTemplateConfig() {
return this.templateConfig;
}
/**
* @return templateType
*/
public String getTemplateType() {
return this.templateType;
}
/**
* @return vodTemplateId
*/
public String getVodTemplateId() {
return this.vodTemplateId;
}
public static final class Builder {
private String appId;
private String creationTime;
private String isDefault;
private String modifyTime;
private String name;
private String templateConfig;
private String templateType;
private String vodTemplateId;
private Builder() {
}
private Builder(VodTemplateInfoList model) {
this.appId = model.appId;
this.creationTime = model.creationTime;
this.isDefault = model.isDefault;
this.modifyTime = model.modifyTime;
this.name = model.name;
this.templateConfig = model.templateConfig;
this.templateType = model.templateType;
this.vodTemplateId = model.vodTemplateId;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The time when the template was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-11-30T08:05:59:57Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>Indicates whether the template is the default one. Valid values:</p>
* <ul>
* <li><strong>Default</strong>: The template is the default one.</li>
* <li><strong>NotDefault</strong>: The template is not the default one.</li>
* </ul>
*
* <strong>example:</strong>
* <p>NotDefault</p>
*/
public Builder isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* <p>The time when the template was modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-11-30T09:05:59:97Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The name of the template.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The detailed configurations of the template. The value is a JSON-formatted string. For more information about the data structure, see the "SnapshotTemplateConfig" section of the <a href="https://help.aliyun.com/document_detail/98618.html">Media processing parameters</a> topic.</p>
*
* <strong>example:</strong>
* <p>{"SnapshotConfig":{"Count":10,"SpecifiedOffsetTime":0,"Interval":1},"SnapshotType":"NormalSnapshot"}</p>
*/
public Builder templateConfig(String templateConfig) {
this.templateConfig = templateConfig;
return this;
}
/**
* <p>The type of the template. Valid values:</p>
* <ul>
* <li><strong>Snapshot</strong></li>
* <li><strong>DynamicImage</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Snapshot</p>
*/
public Builder templateType(String templateType) {
this.templateType = templateType;
return this;
}
/**
* <p>The ID of the template.</p>
*
* <strong>example:</strong>
* <p>7c49f2f42b1c*****0969fcd446690</p>
*/
public Builder vodTemplateId(String vodTemplateId) {
this.vodTemplateId = vodTemplateId;
return this;
}
public VodTemplateInfoList build() {
return new VodTemplateInfoList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListWatermarkRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListWatermarkRequest} extends {@link RequestModel}
*
* <p>ListWatermarkRequest</p>
*/
public class ListWatermarkRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
private ListWatermarkRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
}
public static Builder builder() {
return new Builder();
}
public static ListWatermarkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
public static final class Builder extends Request.Builder<ListWatermarkRequest, Builder> {
private String appId;
private Builder() {
super();
}
private Builder(ListWatermarkRequest request) {
super(request);
this.appId = request.appId;
}
/**
* <p>The ID of the application. Default value: <strong>app-1000000</strong>.</p>
* <p>If you have activated the multi-application service, specify the ID of the application to query all image and text watermark templates in the specified application. If you leave this parameter empty, image and text watermark templates in all applications are queried. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Overview</a>.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
@Override
public ListWatermarkRequest build() {
return new ListWatermarkRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListWatermarkResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListWatermarkResponse} extends {@link TeaModel}
*
* <p>ListWatermarkResponse</p>
*/
public class ListWatermarkResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListWatermarkResponseBody body;
private ListWatermarkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListWatermarkResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListWatermarkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListWatermarkResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListWatermarkResponseBody body);
@Override
ListWatermarkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListWatermarkResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListWatermarkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListWatermarkResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListWatermarkResponseBody body) {
this.body = body;
return this;
}
@Override
public ListWatermarkResponse build() {
return new ListWatermarkResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ListWatermarkResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListWatermarkResponseBody} extends {@link TeaModel}
*
* <p>ListWatermarkResponseBody</p>
*/
public class ListWatermarkResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("WatermarkInfos")
private java.util.List<WatermarkInfos> watermarkInfos;
private ListWatermarkResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.watermarkInfos = builder.watermarkInfos;
}
public static Builder builder() {
return new Builder();
}
public static ListWatermarkResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return watermarkInfos
*/
public java.util.List<WatermarkInfos> getWatermarkInfos() {
return this.watermarkInfos;
}
public static final class Builder {
private String requestId;
private java.util.List<WatermarkInfos> watermarkInfos;
private Builder() {
}
private Builder(ListWatermarkResponseBody model) {
this.requestId = model.requestId;
this.watermarkInfos = model.watermarkInfos;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A*****F6-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the watermark template.</p>
*/
public Builder watermarkInfos(java.util.List<WatermarkInfos> watermarkInfos) {
this.watermarkInfos = watermarkInfos;
return this;
}
public ListWatermarkResponseBody build() {
return new ListWatermarkResponseBody(this);
}
}
/**
*
* {@link ListWatermarkResponseBody} extends {@link TeaModel}
*
* <p>ListWatermarkResponseBody</p>
*/
public static class WatermarkInfos extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("FileUrl")
private String fileUrl;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private String isDefault;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("WatermarkConfig")
private String watermarkConfig;
@com.aliyun.core.annotation.NameInMap("WatermarkId")
private String watermarkId;
private WatermarkInfos(Builder builder) {
this.appId = builder.appId;
this.creationTime = builder.creationTime;
this.fileUrl = builder.fileUrl;
this.isDefault = builder.isDefault;
this.name = builder.name;
this.type = builder.type;
this.watermarkConfig = builder.watermarkConfig;
this.watermarkId = builder.watermarkId;
}
public static Builder builder() {
return new Builder();
}
public static WatermarkInfos create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return fileUrl
*/
public String getFileUrl() {
return this.fileUrl;
}
/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return watermarkConfig
*/
public String getWatermarkConfig() {
return this.watermarkConfig;
}
/**
* @return watermarkId
*/
public String getWatermarkId() {
return this.watermarkId;
}
public static final class Builder {
private String appId;
private String creationTime;
private String fileUrl;
private String isDefault;
private String name;
private String type;
private String watermarkConfig;
private String watermarkId;
private Builder() {
}
private Builder(WatermarkInfos model) {
this.appId = model.appId;
this.creationTime = model.creationTime;
this.fileUrl = model.fileUrl;
this.isDefault = model.isDefault;
this.name = model.name;
this.type = model.type;
this.watermarkConfig = model.watermarkConfig;
this.watermarkId = model.watermarkId;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The time when the watermark template was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-11-07T09:05:52Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The URL of the watermark file. The URL is an Object Storage Service (OSS) URL or an Alibaba Cloud CDN URL.</p>
* <blockquote>
* <p> This parameter is returned only for image watermark templates.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p><a href="https://outin-3262681cd*****89f4b3e7.oss-cn-shanghai.aliyuncs.com/image/cover/8CC8B715E6F8A72EC6B-6-2.png?Expires=1541600583&OSSAccessKeyId=****&Signature=gmf1eYMoDVg%2BHQCb4UGozB">https://outin-3262681cd*****89f4b3e7.oss-cn-shanghai.aliyuncs.com/image/cover/8CC8B715E6F8A72EC6B-6-2.png?Expires=1541600583&OSSAccessKeyId=****&Signature=gmf1eYMoDVg%2BHQCb4UGozB</a>****</p>
*/
public Builder fileUrl(String fileUrl) {
this.fileUrl = fileUrl;
return this;
}
/**
* <p>Indicates whether the watermark template is the default one. Valid values:</p>
* <ul>
* <li><strong>Default</strong></li>
* <li><strong>NotDefault</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>NotDefault</p>
*/
public Builder isDefault(String isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* <p>The name of the watermark template.</p>
*
* <strong>example:</strong>
* <p>testName</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The type of the watermark template.</p>
* <ul>
* <li><strong>Image</strong>: image watermark template</li>
* <li><strong>Text</strong>: text watermark template</li>
* </ul>
*
* <strong>example:</strong>
* <p>Text</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The configuration information of the watermark such as the display position and special effects. The value is a JSON string. The configuration parameters for image and text watermarks are different. For more information about the parameter structure, see <a href="~~98618#section-h01-44s-2lr~~">WatermarkConfig</a>.</p>
*
* <strong>example:</strong>
* <p>{"FontColor": "Blue","FontSize": 80,"Content": "test watermark"}</p>
*/
public Builder watermarkConfig(String watermarkConfig) {
this.watermarkConfig = watermarkConfig;
return this;
}
/**
* <p>The ID of the watermark template.</p>
*
* <strong>example:</strong>
* <p>9bcc8bfadb843*****109a2671d0df97</p>
*/
public Builder watermarkId(String watermarkId) {
this.watermarkId = watermarkId;
return this;
}
public WatermarkInfos build() {
return new WatermarkInfos(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/MoveAppResourceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveAppResourceRequest} extends {@link RequestModel}
*
* <p>MoveAppResourceRequest</p>
*/
public class MoveAppResourceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceIds")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetAppId")
@com.aliyun.core.annotation.Validation(required = true)
private String targetAppId;
private MoveAppResourceRequest(Builder builder) {
super(builder);
this.resourceIds = builder.resourceIds;
this.resourceType = builder.resourceType;
this.targetAppId = builder.targetAppId;
}
public static Builder builder() {
return new Builder();
}
public static MoveAppResourceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return resourceIds
*/
public String getResourceIds() {
return this.resourceIds;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return targetAppId
*/
public String getTargetAppId() {
return this.targetAppId;
}
public static final class Builder extends Request.Builder<MoveAppResourceRequest, Builder> {
private String resourceIds;
private String resourceType;
private String targetAppId;
private Builder() {
super();
}
private Builder(MoveAppResourceRequest request) {
super(request);
this.resourceIds = request.resourceIds;
this.resourceType = request.resourceType;
this.targetAppId = request.targetAppId;
}
/**
* <p>The resource ID. You can specify a maximum of 20 IDs at a time. Separate multiple IDs with commas (,).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>9afb4<strong><strong>06de180880e,f7bba</strong></strong>caa546cfe2ba</p>
*/
public Builder resourceIds(String resourceIds) {
this.putQueryParameter("ResourceIds", resourceIds);
this.resourceIds = resourceIds;
return this;
}
/**
* <p>The resource type. Valid values:</p>
* <ul>
* <li><strong>video</strong>: video files.</li>
* <li><strong>image</strong>: image files.</li>
* <li><strong>attached</strong>: auxiliary media assets.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>video</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The ID of the application to which resources are migrated. Default value: <strong>app-1000000</strong>. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Use the multi-application service</a>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder targetAppId(String targetAppId) {
this.putQueryParameter("TargetAppId", targetAppId);
this.targetAppId = targetAppId;
return this;
}
@Override
public MoveAppResourceRequest build() {
return new MoveAppResourceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/MoveAppResourceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveAppResourceResponse} extends {@link TeaModel}
*
* <p>MoveAppResourceResponse</p>
*/
public class MoveAppResourceResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private MoveAppResourceResponseBody body;
private MoveAppResourceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static MoveAppResourceResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public MoveAppResourceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<MoveAppResourceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(MoveAppResourceResponseBody body);
@Override
MoveAppResourceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<MoveAppResourceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private MoveAppResourceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(MoveAppResourceResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(MoveAppResourceResponseBody body) {
this.body = body;
return this;
}
@Override
public MoveAppResourceResponse build() {
return new MoveAppResourceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/MoveAppResourceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link MoveAppResourceResponseBody} extends {@link TeaModel}
*
* <p>MoveAppResourceResponseBody</p>
*/
public class MoveAppResourceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FailedResourceIds")
private java.util.List<String> failedResourceIds;
@com.aliyun.core.annotation.NameInMap("NonExistResourceIds")
private java.util.List<String> nonExistResourceIds;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private MoveAppResourceResponseBody(Builder builder) {
this.failedResourceIds = builder.failedResourceIds;
this.nonExistResourceIds = builder.nonExistResourceIds;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static MoveAppResourceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return failedResourceIds
*/
public java.util.List<String> getFailedResourceIds() {
return this.failedResourceIds;
}
/**
* @return nonExistResourceIds
*/
public java.util.List<String> getNonExistResourceIds() {
return this.nonExistResourceIds;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<String> failedResourceIds;
private java.util.List<String> nonExistResourceIds;
private String requestId;
private Builder() {
}
private Builder(MoveAppResourceResponseBody model) {
this.failedResourceIds = model.failedResourceIds;
this.nonExistResourceIds = model.nonExistResourceIds;
this.requestId = model.requestId;
}
/**
* <p>The IDs of the resources that failed to be migrated.</p>
*/
public Builder failedResourceIds(java.util.List<String> failedResourceIds) {
this.failedResourceIds = failedResourceIds;
return this;
}
/**
* <p>The IDs of the resources that were not found.</p>
*/
public Builder nonExistResourceIds(java.util.List<String> nonExistResourceIds) {
this.nonExistResourceIds = nonExistResourceIds;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A13-BEF6-****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public MoveAppResourceResponseBody build() {
return new MoveAppResourceResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/PreloadVodObjectCachesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link PreloadVodObjectCachesRequest} extends {@link RequestModel}
*
* <p>PreloadVodObjectCachesRequest</p>
*/
public class PreloadVodObjectCachesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Area")
private String area;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("L2Preload")
private Boolean l2Preload;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ObjectPath")
@com.aliyun.core.annotation.Validation(required = true)
private String objectPath;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("WithHeader")
private String withHeader;
private PreloadVodObjectCachesRequest(Builder builder) {
super(builder);
this.area = builder.area;
this.l2Preload = builder.l2Preload;
this.objectPath = builder.objectPath;
this.ownerId = builder.ownerId;
this.securityToken = builder.securityToken;
this.withHeader = builder.withHeader;
}
public static Builder builder() {
return new Builder();
}
public static PreloadVodObjectCachesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return area
*/
public String getArea() {
return this.area;
}
/**
* @return l2Preload
*/
public Boolean getL2Preload() {
return this.l2Preload;
}
/**
* @return objectPath
*/
public String getObjectPath() {
return this.objectPath;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return withHeader
*/
public String getWithHeader() {
return this.withHeader;
}
public static final class Builder extends Request.Builder<PreloadVodObjectCachesRequest, Builder> {
private String area;
private Boolean l2Preload;
private String objectPath;
private Long ownerId;
private String securityToken;
private String withHeader;
private Builder() {
super();
}
private Builder(PreloadVodObjectCachesRequest request) {
super(request);
this.area = request.area;
this.l2Preload = request.l2Preload;
this.objectPath = request.objectPath;
this.ownerId = request.ownerId;
this.securityToken = request.securityToken;
this.withHeader = request.withHeader;
}
/**
* <p>The acceleration region in which you want to prefetch content. If you do not specify a region, the value overseas is used.</p>
* <ul>
* <li><strong>domestic</strong>: Chinese mainland</li>
* <li><strong>overseas</strong>: outside the Chinese mainland</li>
* </ul>
*
* <strong>example:</strong>
* <p>domestic</p>
*/
public Builder area(String area) {
this.putQueryParameter("Area", area);
this.area = area;
return this;
}
/**
* <p>Specifies whether to prefetch content to POPs. Valid values:</p>
* <ul>
* <li><strong>true</strong>: prefetches content to nodes that include L2 DCDN nodes.</li>
* <li><strong>false</strong>: prefetches content to L2 POPs or L3 POPs.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder l2Preload(Boolean l2Preload) {
this.putQueryParameter("L2Preload", l2Preload);
this.l2Preload = l2Preload;
return this;
}
/**
* <p>The URL of the file to be prefetched. Separate multiple URLs with line breaks (\n or \r\n).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>vod.test.com/test.txt</p>
*/
public Builder objectPath(String objectPath) {
this.putQueryParameter("ObjectPath", objectPath);
this.objectPath = objectPath;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* <p>The custom header for prefetch in the JSON format.</p>
*
* <strong>example:</strong>
* <p>{
* "Accept-Encoding": [
* "gzip, deflate, br"
* ]
* }</p>
*/
public Builder withHeader(String withHeader) {
this.putQueryParameter("WithHeader", withHeader);
this.withHeader = withHeader;
return this;
}
@Override
public PreloadVodObjectCachesRequest build() {
return new PreloadVodObjectCachesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/PreloadVodObjectCachesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link PreloadVodObjectCachesResponse} extends {@link TeaModel}
*
* <p>PreloadVodObjectCachesResponse</p>
*/
public class PreloadVodObjectCachesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private PreloadVodObjectCachesResponseBody body;
private PreloadVodObjectCachesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static PreloadVodObjectCachesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public PreloadVodObjectCachesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<PreloadVodObjectCachesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(PreloadVodObjectCachesResponseBody body);
@Override
PreloadVodObjectCachesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<PreloadVodObjectCachesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private PreloadVodObjectCachesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(PreloadVodObjectCachesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(PreloadVodObjectCachesResponseBody body) {
this.body = body;
return this;
}
@Override
public PreloadVodObjectCachesResponse build() {
return new PreloadVodObjectCachesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/PreloadVodObjectCachesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link PreloadVodObjectCachesResponseBody} extends {@link TeaModel}
*
* <p>PreloadVodObjectCachesResponseBody</p>
*/
public class PreloadVodObjectCachesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PreloadTaskId")
private String preloadTaskId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private PreloadVodObjectCachesResponseBody(Builder builder) {
this.preloadTaskId = builder.preloadTaskId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static PreloadVodObjectCachesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return preloadTaskId
*/
public String getPreloadTaskId() {
return this.preloadTaskId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String preloadTaskId;
private String requestId;
private Builder() {
}
private Builder(PreloadVodObjectCachesResponseBody model) {
this.preloadTaskId = model.preloadTaskId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the prefetch task. Separate multiple task IDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>9524****</p>
*/
public Builder preloadTaskId(String preloadTaskId) {
this.preloadTaskId = preloadTaskId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E5BD4B50-7A02-493A-*****-97B9024B4135</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public PreloadVodObjectCachesResponseBody build() {
return new PreloadVodObjectCachesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ProduceEditingProjectVideoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ProduceEditingProjectVideoRequest} extends {@link RequestModel}
*
* <p>ProduceEditingProjectVideoRequest</p>
*/
public class ProduceEditingProjectVideoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CoverURL")
private String coverURL;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MediaMetadata")
private String mediaMetadata;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProduceConfig")
private String produceConfig;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProjectId")
private String projectId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Timeline")
private String timeline;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserData")
private String userData;
private ProduceEditingProjectVideoRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.coverURL = builder.coverURL;
this.description = builder.description;
this.mediaMetadata = builder.mediaMetadata;
this.ownerId = builder.ownerId;
this.produceConfig = builder.produceConfig;
this.projectId = builder.projectId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.timeline = builder.timeline;
this.title = builder.title;
this.userData = builder.userData;
}
public static Builder builder() {
return new Builder();
}
public static ProduceEditingProjectVideoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return coverURL
*/
public String getCoverURL() {
return this.coverURL;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return mediaMetadata
*/
public String getMediaMetadata() {
return this.mediaMetadata;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return produceConfig
*/
public String getProduceConfig() {
return this.produceConfig;
}
/**
* @return projectId
*/
public String getProjectId() {
return this.projectId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return timeline
*/
public String getTimeline() {
return this.timeline;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return userData
*/
public String getUserData() {
return this.userData;
}
public static final class Builder extends Request.Builder<ProduceEditingProjectVideoRequest, Builder> {
private String appId;
private String coverURL;
private String description;
private String mediaMetadata;
private Long ownerId;
private String produceConfig;
private String projectId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String timeline;
private String title;
private String userData;
private Builder() {
super();
}
private Builder(ProduceEditingProjectVideoRequest request) {
super(request);
this.appId = request.appId;
this.coverURL = request.coverURL;
this.description = request.description;
this.mediaMetadata = request.mediaMetadata;
this.ownerId = request.ownerId;
this.produceConfig = request.produceConfig;
this.projectId = request.projectId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.timeline = request.timeline;
this.title = request.title;
this.userData = request.userData;
}
/**
* <p>The ID of the application. Default value: <strong>app-1000000</strong>. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Multi-application service</a>.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The thumbnail URL of the online editing project.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.aliyundoc.com/6AB4D0E1E1C7446888351****.png">https://example.aliyundoc.com/6AB4D0E1E1C7446888351****.png</a></p>
*/
public Builder coverURL(String coverURL) {
this.putQueryParameter("CoverURL", coverURL);
this.coverURL = coverURL;
return this;
}
/**
* <p>The description of the online editing project.</p>
*
* <strong>example:</strong>
* <p>description test</p>
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* <p>The video metadata. The value must be in JSON format. For more information about the parameter structure, see <a href="~~52839#title_rtf_ry5_gjp~~">MediaMetadata</a>.</p>
*
* <strong>example:</strong>
* <p>{"Description":"video description","Title":"userData test"}</p>
*/
public Builder mediaMetadata(String mediaMetadata) {
this.putQueryParameter("MediaMetadata", mediaMetadata);
this.mediaMetadata = mediaMetadata;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The configuration of video production. The value must be in the JSON format. For more information about the parameter structure, see <a href="~~52839#title-ybl-7cs-y7d~~">ProduceConfig</a>.</p>
* <blockquote>
* <p> StorageLocation is required if you produce videos in a region other than China (Shanghai).</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>{"TemplateGroupId":"6d11e25ea30a4c465435c74****"}</p>
*/
public Builder produceConfig(String produceConfig) {
this.putQueryParameter("ProduceConfig", produceConfig);
this.produceConfig = produceConfig;
return this;
}
/**
* <p>The ID of the online editing project. You can use one of the following methods to obtain the ID of the online editing project:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Production Center</strong> > <strong>Video Editing</strong> to view the ID of the online editing project.</li>
* <li>Obtain the value of ProjectId from the response to the <a href="https://help.aliyun.com/document_detail/69048.html">AddEditingProject</a> operation.</li>
* </ul>
*
* <strong>example:</strong>
* <p>fb2101bf24b4cb318787dc****</p>
*/
public Builder projectId(String projectId) {
this.putQueryParameter("ProjectId", projectId);
this.projectId = projectId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The timeline of the online editing project. The value must be in JSON format. For more information about the parameter structure, see <a href="~~52839#07bc7fe0f2xuh~~">Timeline</a>.</p>
*
* <strong>example:</strong>
* <p>{"VideoTracks":[{"VideoTrackClips":[{"MediaId":"cc3308ac59615a54328bc3443****"},{"MediaId":"da87a9cff645cd88bc6d8326e4****"}]}]}</p>
*/
public Builder timeline(String timeline) {
this.putQueryParameter("Timeline", timeline);
this.timeline = timeline;
return this;
}
/**
* <p>The title of the online editing project.</p>
*
* <strong>example:</strong>
* <p>editing project test</p>
*/
public Builder title(String title) {
this.putQueryParameter("Title", title);
this.title = title;
return this;
}
/**
* <p>The custom configurations, such as the callback configuration. The value must be a JSON string. For more information about the parameter structure, see <a href="~~86952#title_vz7_xzs_0c5~~">UserData</a>.</p>
* <blockquote>
* <p>The callback configurations take effect only after you specify an HTTP URL for receiving callback notifications and select the event types in the ApsaraVideo VOD console.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>{"Extend":{"width":1280,"id":"028a8e56b1ebf6bb7afc74****","height":720},"MessageCallback":{"CallbackURL":"<a href="https://example.aliyundoc.com/2016-08-15/proxy/httpcallback/testcallback/%22,%22CallbackType%22:%22http%22%7D%7D">https://example.aliyundoc.com/2016-08-15/proxy/httpcallback/testcallback/","CallbackType":"http"}}</a></p>
*/
public Builder userData(String userData) {
this.putQueryParameter("UserData", userData);
this.userData = userData;
return this;
}
@Override
public ProduceEditingProjectVideoRequest build() {
return new ProduceEditingProjectVideoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ProduceEditingProjectVideoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ProduceEditingProjectVideoResponse} extends {@link TeaModel}
*
* <p>ProduceEditingProjectVideoResponse</p>
*/
public class ProduceEditingProjectVideoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ProduceEditingProjectVideoResponseBody body;
private ProduceEditingProjectVideoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ProduceEditingProjectVideoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ProduceEditingProjectVideoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ProduceEditingProjectVideoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ProduceEditingProjectVideoResponseBody body);
@Override
ProduceEditingProjectVideoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ProduceEditingProjectVideoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ProduceEditingProjectVideoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ProduceEditingProjectVideoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ProduceEditingProjectVideoResponseBody body) {
this.body = body;
return this;
}
@Override
public ProduceEditingProjectVideoResponse build() {
return new ProduceEditingProjectVideoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/ProduceEditingProjectVideoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ProduceEditingProjectVideoResponseBody} extends {@link TeaModel}
*
* <p>ProduceEditingProjectVideoResponseBody</p>
*/
public class ProduceEditingProjectVideoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("ProjectId")
private String projectId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ProduceEditingProjectVideoResponseBody(Builder builder) {
this.mediaId = builder.mediaId;
this.projectId = builder.projectId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ProduceEditingProjectVideoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return projectId
*/
public String getProjectId() {
return this.projectId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String mediaId;
private String projectId;
private String requestId;
private Builder() {
}
private Builder(ProduceEditingProjectVideoResponseBody model) {
this.mediaId = model.mediaId;
this.projectId = model.projectId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the produced video.</p>
* <blockquote>
* <ul>
* <li>This parameter is returned for each request.</li>
* <li>If a value is returned for this parameter, the video production task is being asynchronously processed.</li>
* </ul>
* </blockquote>
*
* <strong>example:</strong>
* <p>006204a11bb386bb25491f95f****</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>The ID of the online editing project.</p>
*
* <strong>example:</strong>
* <p>fb2101bf24b4cb318787dc****</p>
*/
public Builder projectId(String projectId) {
this.projectId = projectId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4AF6-D7393642CA58****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ProduceEditingProjectVideoResponseBody build() {
return new ProduceEditingProjectVideoResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshMediaPlayUrlsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshMediaPlayUrlsRequest} extends {@link RequestModel}
*
* <p>RefreshMediaPlayUrlsRequest</p>
*/
public class RefreshMediaPlayUrlsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Definitions")
private String definitions;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Formats")
private String formats;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MediaIds")
@com.aliyun.core.annotation.Validation(required = true)
private String mediaIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResultType")
private String resultType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SliceCount")
private Integer sliceCount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SliceFlag")
private Boolean sliceFlag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StreamType")
private String streamType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TaskType")
@com.aliyun.core.annotation.Validation(required = true)
private String taskType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserData")
private String userData;
private RefreshMediaPlayUrlsRequest(Builder builder) {
super(builder);
this.definitions = builder.definitions;
this.formats = builder.formats;
this.mediaIds = builder.mediaIds;
this.resultType = builder.resultType;
this.sliceCount = builder.sliceCount;
this.sliceFlag = builder.sliceFlag;
this.streamType = builder.streamType;
this.taskType = builder.taskType;
this.userData = builder.userData;
}
public static Builder builder() {
return new Builder();
}
public static RefreshMediaPlayUrlsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return definitions
*/
public String getDefinitions() {
return this.definitions;
}
/**
* @return formats
*/
public String getFormats() {
return this.formats;
}
/**
* @return mediaIds
*/
public String getMediaIds() {
return this.mediaIds;
}
/**
* @return resultType
*/
public String getResultType() {
return this.resultType;
}
/**
* @return sliceCount
*/
public Integer getSliceCount() {
return this.sliceCount;
}
/**
* @return sliceFlag
*/
public Boolean getSliceFlag() {
return this.sliceFlag;
}
/**
* @return streamType
*/
public String getStreamType() {
return this.streamType;
}
/**
* @return taskType
*/
public String getTaskType() {
return this.taskType;
}
/**
* @return userData
*/
public String getUserData() {
return this.userData;
}
public static final class Builder extends Request.Builder<RefreshMediaPlayUrlsRequest, Builder> {
private String definitions;
private String formats;
private String mediaIds;
private String resultType;
private Integer sliceCount;
private Boolean sliceFlag;
private String streamType;
private String taskType;
private String userData;
private Builder() {
super();
}
private Builder(RefreshMediaPlayUrlsRequest request) {
super(request);
this.definitions = request.definitions;
this.formats = request.formats;
this.mediaIds = request.mediaIds;
this.resultType = request.resultType;
this.sliceCount = request.sliceCount;
this.sliceFlag = request.sliceFlag;
this.streamType = request.streamType;
this.taskType = request.taskType;
this.userData = request.userData;
}
/**
* <p>Specifies the resolutions of the media streams you want to refresh or prefetch. You can specify multiple resolutions. Separate multiple resolutions with commas (,). If you leave this parameter empty, media streams in all resolutions are refreshed or prefetched by default.</p>
* <blockquote>
* <p> The value must be supported in the <strong>Definition</strong> section in <a href="https://help.aliyun.com/document_detail/124671.html">Parameters for media assets</a>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>HD, SD</p>
*/
public Builder definitions(String definitions) {
this.putQueryParameter("Definitions", definitions);
this.definitions = definitions;
return this;
}
/**
* <p>The formats of the media streams you want to refresh or prefetch. You can specify multiple formats. Separate multiple formats with commas (,). If you leave this parameter empty, media streams in all formats are refreshed or prefetched by default. Valid values:</p>
* <ul>
* <li><strong>mp4</strong></li>
* <li><strong>m3u8</strong></li>
* <li><strong>mp3</strong></li>
* <li><strong>flv</strong></li>
* <li><strong>webm</strong></li>
* <li><strong>ts</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>mp4,m3u8</p>
*/
public Builder formats(String formats) {
this.putQueryParameter("Formats", formats);
this.formats = formats;
return this;
}
/**
* <p>The IDs of the media files that you want to refresh or prefetch. You can specify a maximum of 20 IDs. Separate multiple IDs with commas (,). You can use one of the following methods to obtain the ID:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD</a> console. In the left-side navigation pane, choose <strong>Media Files</strong> > <strong>Audio/Video</strong>. On the Video and Audio page, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.</li>
* <li>Obtain the value of VideoId from the response to the <a href="https://help.aliyun.com/document_detail/55407.html">CreateUploadVideo</a> operation that you call to upload media files.</li>
* <li>Obtain the value of VideoId from the response to the <a href="https://help.aliyun.com/document_detail/86044.html">SearchMedia</a> operation that you call to query the media ID after the media file is uploaded.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ca3a8f6e4957b658067095869****, a6e49sfgd23p5g9ja7095863****</p>
*/
public Builder mediaIds(String mediaIds) {
this.putQueryParameter("MediaIds", mediaIds);
this.mediaIds = mediaIds;
return this;
}
/**
* <p>Specifies the type of the refresh or prefetch operation. Default value: Single. Valid values:</p>
* <ul>
* <li><strong>Single</strong>: Only one latest transcoded stream is refreshed or prefetched for each resolution and format.</li>
* <li><strong>Multiple</strong>: All transcoded streams are refreshed or prefetched for each resolution and format.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Single</p>
*/
public Builder resultType(String resultType) {
this.putQueryParameter("ResultType", resultType);
this.resultType = resultType;
return this;
}
/**
* <p>Specifies the number of the playback URLs of the TS files for the M3U8 media stream you want to refresh or prefetch. After you set this parameter, only the playback URLs of the first N TS files will be refreshed or prefetched. Valid values: 1 to 20. Default value: 5.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder sliceCount(Integer sliceCount) {
this.putQueryParameter("SliceCount", sliceCount);
this.sliceCount = sliceCount;
return this;
}
/**
* <p>Specifies whether to refresh or prefetch the playback URLs of the TS files of the M3U8 media stream. Default value: false. Valid values:</p>
* <ul>
* <li><strong>false</strong></li>
* <li><strong>true</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder sliceFlag(Boolean sliceFlag) {
this.putQueryParameter("SliceFlag", sliceFlag);
this.sliceFlag = sliceFlag;
return this;
}
/**
* <p>Specifies the types of media streams you want to refresh or prefetch. You can specify multiple types. Separate multiple types with commas (,). If you leave this parameter empty, media streams in all types are refreshed or prefetched by default. Valid values:</p>
* <ul>
* <li><strong>video</strong></li>
* <li><strong>audio</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>video</p>
*/
public Builder streamType(String streamType) {
this.putQueryParameter("StreamType", streamType);
this.streamType = streamType;
return this;
}
/**
* <p>The type of the task that you want to create. Valid values:</p>
* <ul>
* <li><strong>Refresh</strong></li>
* <li><strong>Preload</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Preload</p>
*/
public Builder taskType(String taskType) {
this.putQueryParameter("TaskType", taskType);
this.taskType = taskType;
return this;
}
/**
* <p>The custom configurations such as callback configurations and upload acceleration configurations. The value must be a JSON string. For more information, see the "UserData: specifies the custom configurations for media upload" section in the <a href="https://help.aliyun.com/document_detail/86952.html">Request parameter</a> topic.</p>
* <blockquote>
* <ul>
* <li>The callback configurations take effect only after you specify the HTTP callback URL and select specific callback events in the ApsaraVideo VOD console. For more information about how to configure HTTP callback settings in the ApsaraVideo VOD console, see <a href="https://help.aliyun.com/document_detail/86071.html">Configure callback settings</a>.</li>
* <li>To enable the upload acceleration feature, submit a ticket. For more information, see <a href="https://help.aliyun.com/document_detail/55396.html">Overview</a>. For more information about how to submit a ticket, see <a href="https://help.aliyun.com/document_detail/464625.html">Contact us</a>.</li>
* </ul>
* </blockquote>
*
* <strong>example:</strong>
* <p>{"MessageCallback":{"CallbackURL":"<a href="http://example.aliyundoc.com%22%7D">http://example.aliyundoc.com"}</a>, "Extend":{"localId":"xxx","test":"www"}}</p>
*/
public Builder userData(String userData) {
this.putQueryParameter("UserData", userData);
this.userData = userData;
return this;
}
@Override
public RefreshMediaPlayUrlsRequest build() {
return new RefreshMediaPlayUrlsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshMediaPlayUrlsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshMediaPlayUrlsResponse} extends {@link TeaModel}
*
* <p>RefreshMediaPlayUrlsResponse</p>
*/
public class RefreshMediaPlayUrlsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RefreshMediaPlayUrlsResponseBody body;
private RefreshMediaPlayUrlsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RefreshMediaPlayUrlsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RefreshMediaPlayUrlsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RefreshMediaPlayUrlsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RefreshMediaPlayUrlsResponseBody body);
@Override
RefreshMediaPlayUrlsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RefreshMediaPlayUrlsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RefreshMediaPlayUrlsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RefreshMediaPlayUrlsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RefreshMediaPlayUrlsResponseBody body) {
this.body = body;
return this;
}
@Override
public RefreshMediaPlayUrlsResponse build() {
return new RefreshMediaPlayUrlsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshMediaPlayUrlsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshMediaPlayUrlsResponseBody} extends {@link TeaModel}
*
* <p>RefreshMediaPlayUrlsResponseBody</p>
*/
public class RefreshMediaPlayUrlsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ForbiddenMediaIds")
private String forbiddenMediaIds;
@com.aliyun.core.annotation.NameInMap("MediaRefreshJobId")
private String mediaRefreshJobId;
@com.aliyun.core.annotation.NameInMap("NonExistMediaIds")
private String nonExistMediaIds;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RefreshMediaPlayUrlsResponseBody(Builder builder) {
this.forbiddenMediaIds = builder.forbiddenMediaIds;
this.mediaRefreshJobId = builder.mediaRefreshJobId;
this.nonExistMediaIds = builder.nonExistMediaIds;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RefreshMediaPlayUrlsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return forbiddenMediaIds
*/
public String getForbiddenMediaIds() {
return this.forbiddenMediaIds;
}
/**
* @return mediaRefreshJobId
*/
public String getMediaRefreshJobId() {
return this.mediaRefreshJobId;
}
/**
* @return nonExistMediaIds
*/
public String getNonExistMediaIds() {
return this.nonExistMediaIds;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String forbiddenMediaIds;
private String mediaRefreshJobId;
private String nonExistMediaIds;
private String requestId;
private Builder() {
}
private Builder(RefreshMediaPlayUrlsResponseBody model) {
this.forbiddenMediaIds = model.forbiddenMediaIds;
this.mediaRefreshJobId = model.mediaRefreshJobId;
this.nonExistMediaIds = model.nonExistMediaIds;
this.requestId = model.requestId;
}
/**
* <p>The IDs of the media files that cannot be operated on. In most cases, media files cannot be operated on because you are not authorized to perform the operations. For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Overview</a>.</p>
*
* <strong>example:</strong>
* <p>a6e49sfgd23p5g9ja7095863****</p>
*/
public Builder forbiddenMediaIds(String forbiddenMediaIds) {
this.forbiddenMediaIds = forbiddenMediaIds;
return this;
}
/**
* <p>The ID of the refresh or prefetch task.</p>
*
* <strong>example:</strong>
* <p>41d465e31957****</p>
*/
public Builder mediaRefreshJobId(String mediaRefreshJobId) {
this.mediaRefreshJobId = mediaRefreshJobId;
return this;
}
/**
* <p>The IDs of the media files that do not exist.</p>
*
* <strong>example:</strong>
* <p>ca3a8f6e4957b658067095869****</p>
*/
public Builder nonExistMediaIds(String nonExistMediaIds) {
this.nonExistMediaIds = nonExistMediaIds;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4AF6-04D5-D7393642****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RefreshMediaPlayUrlsResponseBody build() {
return new RefreshMediaPlayUrlsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshUploadVideoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshUploadVideoRequest} extends {@link RequestModel}
*
* <p>RefreshUploadVideoRequest</p>
*/
public class RefreshUploadVideoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VideoId")
@com.aliyun.core.annotation.Validation(required = true)
private String videoId;
private RefreshUploadVideoRequest(Builder builder) {
super(builder);
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static RefreshUploadVideoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder extends Request.Builder<RefreshUploadVideoRequest, Builder> {
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String videoId;
private Builder() {
super();
}
private Builder(RefreshUploadVideoRequest request) {
super(request);
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.videoId = request.videoId;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the audio or video file. You can use one of the following methods to obtain the ID:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a> and choose <strong>Media Files</strong> > <strong>Audio/Video</strong> in the left-side navigation pane to view the ID.</li>
* <li>View the value of the VideoId parameter returned by the <a href="https://help.aliyun.com/document_detail/55407.html">CreateUploadVideo</a> operation that you called to upload the audio or video file.</li>
* <li>After an audio or video file is uploaded, obtain the value of VideoId from the response to the <a href="https://help.aliyun.com/document_detail/86044.html">SearchMedia</a> operation that you call to query the audio or video ID.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>c6a23a870c8c4ffcd40cbd381333****</p>
*/
public Builder videoId(String videoId) {
this.putQueryParameter("VideoId", videoId);
this.videoId = videoId;
return this;
}
@Override
public RefreshUploadVideoRequest build() {
return new RefreshUploadVideoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshUploadVideoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshUploadVideoResponse} extends {@link TeaModel}
*
* <p>RefreshUploadVideoResponse</p>
*/
public class RefreshUploadVideoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RefreshUploadVideoResponseBody body;
private RefreshUploadVideoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RefreshUploadVideoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RefreshUploadVideoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RefreshUploadVideoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RefreshUploadVideoResponseBody body);
@Override
RefreshUploadVideoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RefreshUploadVideoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RefreshUploadVideoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RefreshUploadVideoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RefreshUploadVideoResponseBody body) {
this.body = body;
return this;
}
@Override
public RefreshUploadVideoResponse build() {
return new RefreshUploadVideoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshUploadVideoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshUploadVideoResponseBody} extends {@link TeaModel}
*
* <p>RefreshUploadVideoResponseBody</p>
*/
public class RefreshUploadVideoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("UploadAddress")
private String uploadAddress;
@com.aliyun.core.annotation.NameInMap("UploadAuth")
private String uploadAuth;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
private RefreshUploadVideoResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.uploadAddress = builder.uploadAddress;
this.uploadAuth = builder.uploadAuth;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static RefreshUploadVideoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return uploadAddress
*/
public String getUploadAddress() {
return this.uploadAddress;
}
/**
* @return uploadAuth
*/
public String getUploadAuth() {
return this.uploadAuth;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder {
private String requestId;
private String uploadAddress;
private String uploadAuth;
private String videoId;
private Builder() {
}
private Builder(RefreshUploadVideoResponseBody model) {
this.requestId = model.requestId;
this.uploadAddress = model.uploadAddress;
this.uploadAuth = model.uploadAuth;
this.videoId = model.videoId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A43-7DF6-D7393642****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The upload URL.</p>
* <blockquote>
* <p> The returned upload URL is a Base64-encoded URL. You must decode the Base64-encoded upload URL before you use an SDK or call an API operation to upload media files. You need to parse UploadAddress only if you use the OSS SDK or call an OSS API operation to upload media files.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>eyJTZWN1cml0eVRiQ0FJU3p3TjFxNkZ0NUIyeW****</p>
*/
public Builder uploadAddress(String uploadAddress) {
this.uploadAddress = uploadAddress;
return this;
}
/**
* <p>The upload credential.</p>
* <blockquote>
* <p> The returned upload credential is a Base64-encoded value. You must decode the Base64-encoded upload URL before you use an SDK or call an API operation to upload media files. You need to parse UploadAuth only if you use the OSS SDK or call an OSS API operation to upload media files.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>FJU3p3TZ0NUIyeW****</p>
*/
public Builder uploadAuth(String uploadAuth) {
this.uploadAuth = uploadAuth;
return this;
}
/**
* <p>The ID of the audio or video file.</p>
*
* <strong>example:</strong>
* <p>c6a23a870c8c4ffcd40cbd381333****</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
public RefreshUploadVideoResponseBody build() {
return new RefreshUploadVideoResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshVodObjectCachesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshVodObjectCachesRequest} extends {@link RequestModel}
*
* <p>RefreshVodObjectCachesRequest</p>
*/
public class RefreshVodObjectCachesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private Boolean force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ObjectPath")
@com.aliyun.core.annotation.Validation(required = true)
private String objectPath;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ObjectType")
private String objectType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
private RefreshVodObjectCachesRequest(Builder builder) {
super(builder);
this.force = builder.force;
this.objectPath = builder.objectPath;
this.objectType = builder.objectType;
this.ownerId = builder.ownerId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static RefreshVodObjectCachesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return objectPath
*/
public String getObjectPath() {
return this.objectPath;
}
/**
* @return objectType
*/
public String getObjectType() {
return this.objectType;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<RefreshVodObjectCachesRequest, Builder> {
private Boolean force;
private String objectPath;
private String objectType;
private Long ownerId;
private String securityToken;
private Builder() {
super();
}
private Builder(RefreshVodObjectCachesRequest request) {
super(request);
this.force = request.force;
this.objectPath = request.objectPath;
this.objectType = request.objectType;
this.ownerId = request.ownerId;
this.securityToken = request.securityToken;
}
/**
* <p>Specifies whether to purge resources in a directory if the resources requested are different from the resources on the origin server.</p>
* <ul>
* <li><strong>true</strong>: refreshes all resources in the directory. If you set this parameter to true, when the requested content matches the resource in the directory, the POP retrieves the resource from the origin server, returns the resource to the client, and caches the resource.</li>
* <li><strong>false</strong> (default): refreshes the changed resources in the directory. If you set this parameter to false, when the requested content matches the resource in the directory, the POP obtains the Last-Modified parameter of the resource from the origin server. If the value of the obtained Last-Modified parameter is the same as that of the cached resource, the cached resource is returned. Otherwise, the POP retrieves the resource from the origin server, returns the resource to the client, and caches the resource.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder force(Boolean force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* <p>The URL of the file to be prefetched. Separate multiple URLs with line breaks (\n or \r\n).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>abc.com/image/1.png</p>
*/
public Builder objectPath(String objectPath) {
this.putQueryParameter("ObjectPath", objectPath);
this.objectPath = objectPath;
return this;
}
/**
* <p>The type of the object that you want to refresh. Valid values:</p>
* <ul>
* <li><strong>File</strong> (default): refreshes one or more files.</li>
* <li><strong>Directory</strong>: refreshes the files in specified directories.</li>
* <li><strong>Regex</strong>: refreshes content based on regular expressions.</li>
* <li><strong>IgnoreParams</strong>: removes the question mark (?) and parameters after the question mark (?) in a request URL and refreshes content. After you call this operation with the request URL submitted, the system compares the submitted URL with the URL of the cached resource without specific parameters. If the URLs match, the POPs refresh the cached resource.</li>
* </ul>
*
* <strong>example:</strong>
* <p>File</p>
*/
public Builder objectType(String objectType) {
this.putQueryParameter("ObjectType", objectType);
this.objectType = objectType;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public RefreshVodObjectCachesRequest build() {
return new RefreshVodObjectCachesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshVodObjectCachesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshVodObjectCachesResponse} extends {@link TeaModel}
*
* <p>RefreshVodObjectCachesResponse</p>
*/
public class RefreshVodObjectCachesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RefreshVodObjectCachesResponseBody body;
private RefreshVodObjectCachesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RefreshVodObjectCachesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RefreshVodObjectCachesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RefreshVodObjectCachesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RefreshVodObjectCachesResponseBody body);
@Override
RefreshVodObjectCachesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RefreshVodObjectCachesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RefreshVodObjectCachesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RefreshVodObjectCachesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RefreshVodObjectCachesResponseBody body) {
this.body = body;
return this;
}
@Override
public RefreshVodObjectCachesResponse build() {
return new RefreshVodObjectCachesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RefreshVodObjectCachesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RefreshVodObjectCachesResponseBody} extends {@link TeaModel}
*
* <p>RefreshVodObjectCachesResponseBody</p>
*/
public class RefreshVodObjectCachesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RefreshTaskId")
private String refreshTaskId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RefreshVodObjectCachesResponseBody(Builder builder) {
this.refreshTaskId = builder.refreshTaskId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RefreshVodObjectCachesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return refreshTaskId
*/
public String getRefreshTaskId() {
return this.refreshTaskId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String refreshTaskId;
private String requestId;
private Builder() {
}
private Builder(RefreshVodObjectCachesResponseBody model) {
this.refreshTaskId = model.refreshTaskId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the refresh task. Multiple IDs are separated by commas (,). Refresh tasks are merged based on the following rules:</p>
* <p>If the tasks are set for the same accelerated domain name, submitted within the same second, and refresh content based on URLs instead of directories, the tasks IDs are merged into the same task ID (RefreshTaskId). If the number of these tasks exceeds 2,000, every 2,000 tasks IDs are merged into the same task ID (RefreshTaskId).</p>
*
* <strong>example:</strong>
* <p>70422*****2904</p>
*/
public Builder refreshTaskId(String refreshTaskId) {
this.refreshTaskId = refreshTaskId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>D61E4801-EAFF-4A63-****-FBF6CE1CFD1C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RefreshVodObjectCachesResponseBody build() {
return new RefreshVodObjectCachesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RegisterMediaRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RegisterMediaRequest} extends {@link RequestModel}
*
* <p>RegisterMediaRequest</p>
*/
public class RegisterMediaRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegisterMetadatas")
@com.aliyun.core.annotation.Validation(required = true)
private String registerMetadatas;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TemplateGroupId")
private String templateGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserData")
private String userData;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("WorkflowId")
private String workflowId;
private RegisterMediaRequest(Builder builder) {
super(builder);
this.registerMetadatas = builder.registerMetadatas;
this.templateGroupId = builder.templateGroupId;
this.userData = builder.userData;
this.workflowId = builder.workflowId;
}
public static Builder builder() {
return new Builder();
}
public static RegisterMediaRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return registerMetadatas
*/
public String getRegisterMetadatas() {
return this.registerMetadatas;
}
/**
* @return templateGroupId
*/
public String getTemplateGroupId() {
return this.templateGroupId;
}
/**
* @return userData
*/
public String getUserData() {
return this.userData;
}
/**
* @return workflowId
*/
public String getWorkflowId() {
return this.workflowId;
}
public static final class Builder extends Request.Builder<RegisterMediaRequest, Builder> {
private String registerMetadatas;
private String templateGroupId;
private String userData;
private String workflowId;
private Builder() {
super();
}
private Builder(RegisterMediaRequest request) {
super(request);
this.registerMetadatas = request.registerMetadatas;
this.templateGroupId = request.templateGroupId;
this.userData = request.userData;
this.workflowId = request.workflowId;
}
/**
* <p>The metadata of the media files. The value must be a JSON string. You can specify the metadata for up to 10 media files at a time. For more information about the metadata of media files, see the <strong>RegisterMetadata</strong> section of this topic.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>[{"FileURL":"https://****.oss-cn-shanghai.aliyuncs.com/video/test/video123.m3u8","Title":"VideoName"}]</p>
*/
public Builder registerMetadatas(String registerMetadatas) {
this.putQueryParameter("RegisterMetadatas", registerMetadatas);
this.registerMetadatas = registerMetadatas;
return this;
}
/**
* <p>The ID of the transcoding template group. You can use one of the following methods to obtain the ID:</p>
* <ul>
* <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Configuration Management</strong> > <strong>Media Processing</strong> > <strong>Transcoding Template Groups</strong>. On the Transcoding Template Groups page, you can view the ID of the transcoding template group.</li>
* <li>Obtain the value of the TranscodeTemplateGroupId parameter from the response to the <a href="https://help.aliyun.com/document_detail/102665.html">AddTranscodeTemplateGroup</a> operation that you called to create a transcoding template group.</li>
* <li>Obtain the value of the TranscodeTemplateGroupId parameter from the response to the <a href="https://help.aliyun.com/document_detail/102669.html">ListTranscodeTemplateGroup</a> operation that you called to query transcoding template groups.</li>
* </ul>
* <blockquote>
* </blockquote>
* <ul>
* <li><p>If you do not need to transcode media files, set the TemplateGroupId parameter to VOD_NO_TRANSCODE. If you do not specify this configuration, errors occur on your files. If you need to transcode media files, specify the ID of the transcoding template group.</p>
* </li>
* <li><p>If you specify both WorkflowId and TemplateGroupId, the value of the WorkflowId parameter takes effect. For more information, see <a href="https://help.aliyun.com/document_detail/115347.html">Workflows</a>.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>ca3a8f6e49c87b65806709586****</p>
*/
public Builder templateGroupId(String templateGroupId) {
this.putQueryParameter("TemplateGroupId", templateGroupId);
this.templateGroupId = templateGroupId;
return this;
}
/**
* <p>The custom settings. The value must be a JSON string. You can configure settings such as message callbacks. For more information, see <a href="~~86952#section_6fg_qll_v3w~~">UserData</a>.</p>
* <blockquote>
* <p> You cannot configure callbacks for this operation. No callback message is returned after the media files are registered even if you configure callback settings for this parameter. If you configure callback settings for the UserData parameter when you create media processing jobs such as transcoding and snapshot capture jobs for the media file, the callback URL that you specified is used. If you do not configure callback settings when you create media processing jobs, the callback URL that you specified for the UserData parameter when you register the media file is used.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>{"Extend":{"localId":"****","test":"www"}}</p>
*/
public Builder userData(String userData) {
this.putQueryParameter("UserData", userData);
this.userData = userData;
return this;
}
/**
* <p>The ID of the workflow. To view the workflow ID, perform the following steps: Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Configuration Management</strong> > <strong>Media Processing</strong> > <strong>Workflows</strong>.</p>
* <blockquote>
* <p> If you specify both WorkflowId and TemplateGroupId, the value of WorkflowId parameter takes effect. For more information, see <a href="https://help.aliyun.com/document_detail/115347.html">Workflows</a>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>637adc2b7ba51a83d841606f8****</p>
*/
public Builder workflowId(String workflowId) {
this.putQueryParameter("WorkflowId", workflowId);
this.workflowId = workflowId;
return this;
}
@Override
public RegisterMediaRequest build() {
return new RegisterMediaRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RegisterMediaResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RegisterMediaResponse} extends {@link TeaModel}
*
* <p>RegisterMediaResponse</p>
*/
public class RegisterMediaResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RegisterMediaResponseBody body;
private RegisterMediaResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RegisterMediaResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RegisterMediaResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RegisterMediaResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RegisterMediaResponseBody body);
@Override
RegisterMediaResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RegisterMediaResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RegisterMediaResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RegisterMediaResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RegisterMediaResponseBody body) {
this.body = body;
return this;
}
@Override
public RegisterMediaResponse build() {
return new RegisterMediaResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RegisterMediaResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RegisterMediaResponseBody} extends {@link TeaModel}
*
* <p>RegisterMediaResponseBody</p>
*/
public class RegisterMediaResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FailedFileURLs")
private java.util.List<String> failedFileURLs;
@com.aliyun.core.annotation.NameInMap("RegisteredMediaList")
private java.util.List<RegisteredMediaList> registeredMediaList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RegisterMediaResponseBody(Builder builder) {
this.failedFileURLs = builder.failedFileURLs;
this.registeredMediaList = builder.registeredMediaList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RegisterMediaResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return failedFileURLs
*/
public java.util.List<String> getFailedFileURLs() {
return this.failedFileURLs;
}
/**
* @return registeredMediaList
*/
public java.util.List<RegisteredMediaList> getRegisteredMediaList() {
return this.registeredMediaList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<String> failedFileURLs;
private java.util.List<RegisteredMediaList> registeredMediaList;
private String requestId;
private Builder() {
}
private Builder(RegisterMediaResponseBody model) {
this.failedFileURLs = model.failedFileURLs;
this.registeredMediaList = model.registeredMediaList;
this.requestId = model.requestId;
}
/**
* <p>The URLs of the media files that failed to be registered.</p>
*/
public Builder failedFileURLs(java.util.List<String> failedFileURLs) {
this.failedFileURLs = failedFileURLs;
return this;
}
/**
* <p>The media files that are registered, including newly registered and repeatedly registered media files.</p>
*/
public Builder registeredMediaList(java.util.List<RegisteredMediaList> registeredMediaList) {
this.registeredMediaList = registeredMediaList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>14F43C5C-8033-448B-AD04F64E5098****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RegisterMediaResponseBody build() {
return new RegisterMediaResponseBody(this);
}
}
/**
*
* {@link RegisterMediaResponseBody} extends {@link TeaModel}
*
* <p>RegisterMediaResponseBody</p>
*/
public static class RegisteredMediaList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FileURL")
private String fileURL;
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("NewRegister")
private Boolean newRegister;
private RegisteredMediaList(Builder builder) {
this.fileURL = builder.fileURL;
this.mediaId = builder.mediaId;
this.newRegister = builder.newRegister;
}
public static Builder builder() {
return new Builder();
}
public static RegisteredMediaList create() {
return builder().build();
}
/**
* @return fileURL
*/
public String getFileURL() {
return this.fileURL;
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return newRegister
*/
public Boolean getNewRegister() {
return this.newRegister;
}
public static final class Builder {
private String fileURL;
private String mediaId;
private Boolean newRegister;
private Builder() {
}
private Builder(RegisteredMediaList model) {
this.fileURL = model.fileURL;
this.mediaId = model.mediaId;
this.newRegister = model.newRegister;
}
/**
* <p>The URL of the media file.</p>
*
* <strong>example:</strong>
* <p>http://****.oss-cn-shanghai.aliyuncs.com/vod_sample_01.mp4</p>
*/
public Builder fileURL(String fileURL) {
this.fileURL = fileURL;
return this;
}
/**
* <p>The ID of the media file that is registered with ApsaraVideo VOD. If the registered media file is an audio or video file, the value of this parameter is the same as that of the VideoId parameter.</p>
*
* <strong>example:</strong>
* <p>d97af32828084d1896683b1aa38****</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>Indicates whether the media file is newly registered or repeatedly registered. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The media file is newly registered.</li>
* <li><strong>false</strong>: The media file is repeatedly registered.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder newRegister(Boolean newRegister) {
this.newRegister = newRegister;
return this;
}
public RegisteredMediaList build() {
return new RegisteredMediaList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RestoreMediaRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RestoreMediaRequest} extends {@link RequestModel}
*
* <p>RestoreMediaRequest</p>
*/
public class RestoreMediaRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MediaIds")
@com.aliyun.core.annotation.Validation(required = true)
private String mediaIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RestoreDays")
private String restoreDays;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RestoreTier")
private String restoreTier;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
private RestoreMediaRequest(Builder builder) {
super(builder);
this.mediaIds = builder.mediaIds;
this.restoreDays = builder.restoreDays;
this.restoreTier = builder.restoreTier;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static RestoreMediaRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return mediaIds
*/
public String getMediaIds() {
return this.mediaIds;
}
/**
* @return restoreDays
*/
public String getRestoreDays() {
return this.restoreDays;
}
/**
* @return restoreTier
*/
public String getRestoreTier() {
return this.restoreTier;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder extends Request.Builder<RestoreMediaRequest, Builder> {
private String mediaIds;
private String restoreDays;
private String restoreTier;
private String scope;
private Builder() {
super();
}
private Builder(RestoreMediaRequest request) {
super(request);
this.mediaIds = request.mediaIds;
this.restoreDays = request.restoreDays;
this.restoreTier = request.restoreTier;
this.scope = request.scope;
}
/**
* <p>The ID of the media asset (VideoId). Separate multiple IDs with commas (,). You can specify a maximum of 20 IDs. You can use one of the following methods to obtain the ID of the media asset:</p>
* <ul>
* <li>Log on to the ApsaraVideo VOD console. In the left-side navigation pane, choose Media Files > Audio/Video. On the Video and Audio page, view the ID of the media asset. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.</li>
* <li>Obtain the value of VideoId from the response to the CreateUploadVideo operation that you call to upload media assets.</li>
* <li>Obtain the value of VideoId from the response to the SearchMedia operation that you call to query the media ID after the media asset is uploaded.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>8bc8e94fe4e55abde85718****,eb186180e989dd56****</p>
*/
public Builder mediaIds(String mediaIds) {
this.putQueryParameter("MediaIds", mediaIds);
this.mediaIds = mediaIds;
return this;
}
/**
* <p>The number of days during which media assets remain in the restored state. Default value: 1. The maximum validity period of a restored Archive media asset is 7 days and the maximum validity period of a restored Cold Archive media asset is 365 days.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder restoreDays(String restoreDays) {
this.putQueryParameter("RestoreDays", restoreDays);
this.restoreDays = restoreDays;
return this;
}
/**
* <p>The restoration priority. This parameter is required only when you restore a Cold Archive media file. Valid values:</p>
* <ul>
* <li><strong>Expedited</strong>: The file is restored within 1 hour.</li>
* <li><strong>Standard</strong>: The file is restored within 2 to 5 hours.</li>
* <li><strong>Bulk</strong>: The file is restored within 5 to 12 hours.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Standard</p>
*/
public Builder restoreTier(String restoreTier) {
this.putQueryParameter("RestoreTier", restoreTier);
this.restoreTier = restoreTier;
return this;
}
/**
* <p>The modification range. Valid values:</p>
* <ul>
* <li><strong>All</strong>: restores all resources, including the source files and transcoded streams.</li>
* <li><strong>SourceFile</strong>: restores only the source files.</li>
* </ul>
*
* <strong>example:</strong>
* <p>All</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
@Override
public RestoreMediaRequest build() {
return new RestoreMediaRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RestoreMediaResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RestoreMediaResponse} extends {@link TeaModel}
*
* <p>RestoreMediaResponse</p>
*/
public class RestoreMediaResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private RestoreMediaResponseBody body;
private RestoreMediaResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RestoreMediaResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RestoreMediaResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RestoreMediaResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RestoreMediaResponseBody body);
@Override
RestoreMediaResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RestoreMediaResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RestoreMediaResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RestoreMediaResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RestoreMediaResponseBody body) {
this.body = body;
return this;
}
@Override
public RestoreMediaResponse build() {
return new RestoreMediaResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/RestoreMediaResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link RestoreMediaResponseBody} extends {@link TeaModel}
*
* <p>RestoreMediaResponseBody</p>
*/
public class RestoreMediaResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ForbiddenList")
private ForbiddenList forbiddenList;
@com.aliyun.core.annotation.NameInMap("IgnoredList")
private IgnoredList ignoredList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private RestoreMediaResponseBody(Builder builder) {
this.forbiddenList = builder.forbiddenList;
this.ignoredList = builder.ignoredList;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static RestoreMediaResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return forbiddenList
*/
public ForbiddenList getForbiddenList() {
return this.forbiddenList;
}
/**
* @return ignoredList
*/
public IgnoredList getIgnoredList() {
return this.ignoredList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private ForbiddenList forbiddenList;
private IgnoredList ignoredList;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(RestoreMediaResponseBody model) {
this.forbiddenList = model.forbiddenList;
this.ignoredList = model.ignoredList;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* <p>The IDs of the media asset that failed to be processed.</p>
*/
public Builder forbiddenList(ForbiddenList forbiddenList) {
this.forbiddenList = forbiddenList;
return this;
}
/**
* <p>The IDs of the media assets that failed to be obtained.</p>
*/
public Builder ignoredList(IgnoredList ignoredList) {
this.ignoredList = ignoredList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>8E70E3F8-E2EE-47BC-4677-379D6F28****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public RestoreMediaResponseBody build() {
return new RestoreMediaResponseBody(this);
}
}
/**
*
* {@link RestoreMediaResponseBody} extends {@link TeaModel}
*
* <p>RestoreMediaResponseBody</p>
*/
public static class MediaForbiddenReasonDTO extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("Reason")
private String reason;
private MediaForbiddenReasonDTO(Builder builder) {
this.mediaId = builder.mediaId;
this.reason = builder.reason;
}
public static Builder builder() {
return new Builder();
}
public static MediaForbiddenReasonDTO create() {
return builder().build();
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return reason
*/
public String getReason() {
return this.reason;
}
public static final class Builder {
private String mediaId;
private String reason;
private Builder() {
}
private Builder(MediaForbiddenReasonDTO model) {
this.mediaId = model.mediaId;
this.reason = model.reason;
}
/**
* <p>The ID of the media asset.</p>
*
* <strong>example:</strong>
* <p>fa10ee70898671edb99f6eb3690d****</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>The reason for the failure.</p>
*
* <strong>example:</strong>
* <p>Forbidden.RestoreMedia</p>
*/
public Builder reason(String reason) {
this.reason = reason;
return this;
}
public MediaForbiddenReasonDTO build() {
return new MediaForbiddenReasonDTO(this);
}
}
}
/**
*
* {@link RestoreMediaResponseBody} extends {@link TeaModel}
*
* <p>RestoreMediaResponseBody</p>
*/
public static class ForbiddenList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MediaForbiddenReasonDTO")
private java.util.List<MediaForbiddenReasonDTO> mediaForbiddenReasonDTO;
private ForbiddenList(Builder builder) {
this.mediaForbiddenReasonDTO = builder.mediaForbiddenReasonDTO;
}
public static Builder builder() {
return new Builder();
}
public static ForbiddenList create() {
return builder().build();
}
/**
* @return mediaForbiddenReasonDTO
*/
public java.util.List<MediaForbiddenReasonDTO> getMediaForbiddenReasonDTO() {
return this.mediaForbiddenReasonDTO;
}
public static final class Builder {
private java.util.List<MediaForbiddenReasonDTO> mediaForbiddenReasonDTO;
private Builder() {
}
private Builder(ForbiddenList model) {
this.mediaForbiddenReasonDTO = model.mediaForbiddenReasonDTO;
}
/**
* MediaForbiddenReasonDTO.
*/
public Builder mediaForbiddenReasonDTO(java.util.List<MediaForbiddenReasonDTO> mediaForbiddenReasonDTO) {
this.mediaForbiddenReasonDTO = mediaForbiddenReasonDTO;
return this;
}
public ForbiddenList build() {
return new ForbiddenList(this);
}
}
}
/**
*
* {@link RestoreMediaResponseBody} extends {@link TeaModel}
*
* <p>RestoreMediaResponseBody</p>
*/
public static class IgnoredList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MediaId")
private java.util.List<String> mediaId;
private IgnoredList(Builder builder) {
this.mediaId = builder.mediaId;
}
public static Builder builder() {
return new Builder();
}
public static IgnoredList create() {
return builder().build();
}
/**
* @return mediaId
*/
public java.util.List<String> getMediaId() {
return this.mediaId;
}
public static final class Builder {
private java.util.List<String> mediaId;
private Builder() {
}
private Builder(IgnoredList model) {
this.mediaId = model.mediaId;
}
/**
* <p>The ID of the media asset.</p>
*
* <strong>example:</strong>
* <p>fa10ee70898671edb99f6eb3690d****</p>
*/
public Builder mediaId(java.util.List<String> mediaId) {
this.mediaId = mediaId;
return this;
}
public IgnoredList build() {
return new IgnoredList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SearchEditingProjectRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchEditingProjectRequest} extends {@link RequestModel}
*
* <p>SearchEditingProjectRequest</p>
*/
public class SearchEditingProjectRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private String ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNo")
private Integer pageNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private String resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SortBy")
private String sortBy;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
private SearchEditingProjectRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.sortBy = builder.sortBy;
this.startTime = builder.startTime;
this.status = builder.status;
this.title = builder.title;
}
public static Builder builder() {
return new Builder();
}
public static SearchEditingProjectRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public String getOwnerId() {
return this.ownerId;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public String getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sortBy
*/
public String getSortBy() {
return this.sortBy;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
public static final class Builder extends Request.Builder<SearchEditingProjectRequest, Builder> {
private String endTime;
private String ownerAccount;
private String ownerId;
private Integer pageNo;
private Integer pageSize;
private String resourceOwnerAccount;
private String resourceOwnerId;
private String sortBy;
private String startTime;
private String status;
private String title;
private Builder() {
super();
}
private Builder(SearchEditingProjectRequest request) {
super(request);
this.endTime = request.endTime;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.sortBy = request.sortBy;
this.startTime = request.startTime;
this.status = request.status;
this.title = request.title;
}
/**
* <p>The end of the time range to query. The query is performed based on the time range during which the required online editing projects were created. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-01-11T13:00:00Z</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(String ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The number of the page to return. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* <p>The number of entries to return on each page. Default value: <strong>10</strong>. Maximum value: <strong>100</strong>.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(String resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The sorting rule of results. Valid values:</p>
* <ul>
* <li><strong>CreationTime:Desc</strong>: sorts the results based on the creation time in descending order. This is the default value.</li>
* <li><strong>CreationTime:Asc</strong>: sorts the results based on the creation time in ascending order.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreationTime:Desc</p>
*/
public Builder sortBy(String sortBy) {
this.putQueryParameter("SortBy", sortBy);
this.sortBy = sortBy;
return this;
}
/**
* <p>The beginning of the time range to query. The query is performed based on the time range during which the required online editing projects were created. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-01-11T12:00:00Z</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* <p>The status of the online editing project. Separate multiple states with commas (,). By default, all online editing projects are queried. Valid values:</p>
* <ul>
* <li><strong>Normal</strong>: indicates that the online editing project is in draft.</li>
* <li><strong>Producing</strong>: indicates that the video is being produced.</li>
* <li><strong>Produced</strong>: indicates that the video was produced.</li>
* <li><strong>ProduceFailed</strong>: indicates that the video failed to be produced.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* <p>The title of the online editing project.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder title(String title) {
this.putQueryParameter("Title", title);
this.title = title;
return this;
}
@Override
public SearchEditingProjectRequest build() {
return new SearchEditingProjectRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SearchEditingProjectResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchEditingProjectResponse} extends {@link TeaModel}
*
* <p>SearchEditingProjectResponse</p>
*/
public class SearchEditingProjectResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SearchEditingProjectResponseBody body;
private SearchEditingProjectResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SearchEditingProjectResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SearchEditingProjectResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchEditingProjectResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SearchEditingProjectResponseBody body);
@Override
SearchEditingProjectResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchEditingProjectResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SearchEditingProjectResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchEditingProjectResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchEditingProjectResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchEditingProjectResponse build() {
return new SearchEditingProjectResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SearchEditingProjectResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchEditingProjectResponseBody} extends {@link TeaModel}
*
* <p>SearchEditingProjectResponseBody</p>
*/
public class SearchEditingProjectResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ProjectList")
private ProjectList projectList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private SearchEditingProjectResponseBody(Builder builder) {
this.projectList = builder.projectList;
this.requestId = builder.requestId;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static SearchEditingProjectResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return projectList
*/
public ProjectList getProjectList() {
return this.projectList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private ProjectList projectList;
private String requestId;
private Integer total;
private Builder() {
}
private Builder(SearchEditingProjectResponseBody model) {
this.projectList = model.projectList;
this.requestId = model.requestId;
this.total = model.total;
}
/**
* <p>The list of online editing projects.</p>
*/
public Builder projectList(ProjectList projectList) {
this.projectList = projectList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9262E3DA-07FA-48*****62-FCBB6BC61D08</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of online editing projects returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public SearchEditingProjectResponseBody build() {
return new SearchEditingProjectResponseBody(this);
}
}
/**
*
* {@link SearchEditingProjectResponseBody} extends {@link TeaModel}
*
* <p>SearchEditingProjectResponseBody</p>
*/
public static class Project extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CoverURL")
private String coverURL;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Duration")
private Float duration;
@com.aliyun.core.annotation.NameInMap("ModifiedTime")
private String modifiedTime;
@com.aliyun.core.annotation.NameInMap("ProjectId")
private String projectId;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("StorageLocation")
private String storageLocation;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
private Project(Builder builder) {
this.coverURL = builder.coverURL;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.duration = builder.duration;
this.modifiedTime = builder.modifiedTime;
this.projectId = builder.projectId;
this.regionId = builder.regionId;
this.status = builder.status;
this.storageLocation = builder.storageLocation;
this.title = builder.title;
}
public static Builder builder() {
return new Builder();
}
public static Project create() {
return builder().build();
}
/**
* @return coverURL
*/
public String getCoverURL() {
return this.coverURL;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return duration
*/
public Float getDuration() {
return this.duration;
}
/**
* @return modifiedTime
*/
public String getModifiedTime() {
return this.modifiedTime;
}
/**
* @return projectId
*/
public String getProjectId() {
return this.projectId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return storageLocation
*/
public String getStorageLocation() {
return this.storageLocation;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
public static final class Builder {
private String coverURL;
private String creationTime;
private String description;
private Float duration;
private String modifiedTime;
private String projectId;
private String regionId;
private String status;
private String storageLocation;
private String title;
private Builder() {
}
private Builder(Project model) {
this.coverURL = model.coverURL;
this.creationTime = model.creationTime;
this.description = model.description;
this.duration = model.duration;
this.modifiedTime = model.modifiedTime;
this.projectId = model.projectId;
this.regionId = model.regionId;
this.status = model.status;
this.storageLocation = model.storageLocation;
this.title = model.title;
}
/**
* <p>The thumbnail URL of the online editing project.</p>
*
* <strong>example:</strong>
* <p>cover_url</p>
*/
public Builder coverURL(String coverURL) {
this.coverURL = coverURL;
return this;
}
/**
* <p>The time when the online editing project was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-01-11T12:00:00Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the online editing project.</p>
*
* <strong>example:</strong>
* <p>test project 001</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The duration of the online editing project, which must be consistent with the duration of the timeline.</p>
* <blockquote>
* <p>The Timeline parameter is not included in response parameters.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>22.65</p>
*/
public Builder duration(Float duration) {
this.duration = duration;
return this;
}
/**
* <p>The last time when the online editing project was modified. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2017-01-11T13:00:00Z</p>
*/
public Builder modifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
/**
* <p>The ID of the online editing project.</p>
*
* <strong>example:</strong>
* <p>25cfc178d2de4*****e77aebed6afcd</p>
*/
public Builder projectId(String projectId) {
this.projectId = projectId;
return this;
}
/**
* <p>The region where the online editing project was created.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The status of the online editing project. Separate multiple states with commas (,). By default, all online editing projects were queried. Valid values:</p>
* <ul>
* <li><strong>Normal</strong>: indicates that the online editing project is in draft.</li>
* <li><strong>Producing</strong>: indicates that the video is being produced.</li>
* <li><strong>Produced</strong>: indicates that the video was produced.</li>
* <li><strong>ProduceFailed</strong>: indicates that the video failed to be produced.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The path of the Object Storage Service (OSS) bucket where the produced video is stored.</p>
* <blockquote>
* <p>To view the path of the OSS bucket, log on to the <a href="https://vod.console.aliyun.com/?spm=a2c4g.11186623.2.15.6948257eaZ4m54#/vod/settings/censored">ApsaraVideo VOD console</a>, and choose <strong>Configuration Management</strong> > <strong>Media Management</strong> > <strong>Storage</strong>. On the Storage page, you can view the path of the OSS bucket.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>location_s</p>
*/
public Builder storageLocation(String storageLocation) {
this.storageLocation = storageLocation;
return this;
}
/**
* <p>The title of the online editing project.</p>
*
* <strong>example:</strong>
* <p>video_150873681****</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
public Project build() {
return new Project(this);
}
}
}
/**
*
* {@link SearchEditingProjectResponseBody} extends {@link TeaModel}
*
* <p>SearchEditingProjectResponseBody</p>
*/
public static class ProjectList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Project")
private java.util.List<Project> project;
private ProjectList(Builder builder) {
this.project = builder.project;
}
public static Builder builder() {
return new Builder();
}
public static ProjectList create() {
return builder().build();
}
/**
* @return project
*/
public java.util.List<Project> getProject() {
return this.project;
}
public static final class Builder {
private java.util.List<Project> project;
private Builder() {
}
private Builder(ProjectList model) {
this.project = model.project;
}
/**
* Project.
*/
public Builder project(java.util.List<Project> project) {
this.project = project;
return this;
}
public ProjectList build() {
return new ProjectList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SearchMediaRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchMediaRequest} extends {@link RequestModel}
*
* <p>SearchMediaRequest</p>
*/
public class SearchMediaRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Fields")
private String fields;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Match")
private String match;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNo")
private Integer pageNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ScrollToken")
private String scrollToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SearchType")
private String searchType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SortBy")
private String sortBy;
private SearchMediaRequest(Builder builder) {
super(builder);
this.fields = builder.fields;
this.match = builder.match;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.scrollToken = builder.scrollToken;
this.searchType = builder.searchType;
this.sortBy = builder.sortBy;
}
public static Builder builder() {
return new Builder();
}
public static SearchMediaRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return fields
*/
public String getFields() {
return this.fields;
}
/**
* @return match
*/
public String getMatch() {
return this.match;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return scrollToken
*/
public String getScrollToken() {
return this.scrollToken;
}
/**
* @return searchType
*/
public String getSearchType() {
return this.searchType;
}
/**
* @return sortBy
*/
public String getSortBy() {
return this.sortBy;
}
public static final class Builder extends Request.Builder<SearchMediaRequest, Builder> {
private String fields;
private String match;
private Integer pageNo;
private Integer pageSize;
private String scrollToken;
private String searchType;
private String sortBy;
private Builder() {
super();
}
private Builder(SearchMediaRequest request) {
super(request);
this.fields = request.fields;
this.match = request.match;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.scrollToken = request.scrollToken;
this.searchType = request.searchType;
this.sortBy = request.sortBy;
}
/**
* <p>The media asset fields to return in the query results.</p>
* <p>By default, only the basic media asset fields are returned. You can specify additional media asset fields that need to be returned in the request. For more information, see the "API examples" section of the <a href="https://help.aliyun.com/document_detail/99179.html">Search for media asset information</a> topic.</p>
*
* <strong>example:</strong>
* <p>Title,CoverURL</p>
*/
public Builder fields(String fields) {
this.putQueryParameter("Fields", fields);
this.fields = fields;
return this;
}
/**
* <p>The filter condition. For more information about the syntax, see <a href="https://help.aliyun.com/document_detail/86991.html">Protocol for media asset search</a>.</p>
*
* <strong>example:</strong>
* <p>field = value</p>
*/
public Builder match(String match) {
this.putQueryParameter("Match", match);
this.match = match;
return this;
}
/**
* <p>The number of the page to return. Default value: <strong>1</strong>.</p>
* <blockquote>
* <p>If the value of this parameter exceeds <strong>200</strong>, we recommend that you set the ScrollToken parameter as well.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* <p>The number of entries to return on each page. Default value: <strong>10</strong>. Maximum value: <strong>100</strong>.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The pagination identifier. The password must be 32 characters in length The first time you call this operation for each new search, you do not need to specify this parameter. The value of this parameter is returned each time data records that meet the specified filter condition are found. The value is used to record the current position of queried data. Record the returned parameter value and set this parameter according to the following requirements during the next search:</p>
* <ul>
* <li>If SearchType is set to <strong>video</strong> or <strong>audio</strong> and you need to traverse all data that meets the filter criteria, you must set the ScrollToken parameter.</li>
* <li>If the value of the PageNo parameter exceeds <strong>200</strong>, we recommend that you set this parameter to optimize search performance.</li>
* </ul>
*
* <strong>example:</strong>
* <p>24e0fba7188fae707e146esa54****</p>
*/
public Builder scrollToken(String scrollToken) {
this.putQueryParameter("ScrollToken", scrollToken);
this.scrollToken = scrollToken;
return this;
}
/**
* <p>The type of the media asset that you want to query. Default value: video. Valid values:</p>
* <ul>
* <li><strong>video</strong></li>
* <li><strong>audio</strong></li>
* <li><strong>image</strong></li>
* <li><strong>attached</strong></li>
* </ul>
* <blockquote>
* <p>If this parameter is set to <strong>video</strong> or <strong>audio</strong> and you want to traverse all data that meets the filter criteria, you must set the ScrollToken parameter.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>video</p>
*/
public Builder searchType(String searchType) {
this.putQueryParameter("SearchType", searchType);
this.searchType = searchType;
return this;
}
/**
* <p>The sort field and order. Separate multiple values with commas (,). Default value: CreationTime:Desc. Valid values:</p>
* <ul>
* <li><strong>CreationTime:Desc</strong>: The results are sorted in reverse chronological order based on the creation time.</li>
* <li><strong>CreationTime:Asc</strong>: The results are sorted in chronological order based on the creation time.</li>
* </ul>
* <blockquote>
* <ul>
* <li>For more information about the sort field, see "Sort field" in the <a href="https://help.aliyun.com/document_detail/99179.html">Search for media asset information</a> topic.</li>
* <li>To obtain the first 5,000 data records that meet the specified filter criteria, you can specify a maximum of three sort fields.</li>
* <li>To obtain all the data records that meet the specified filter criteria, you can specify only one sort field.</li>
* </ul>
* </blockquote>
*
* <strong>example:</strong>
* <p>CreationTime:Desc</p>
*/
public Builder sortBy(String sortBy) {
this.putQueryParameter("SortBy", sortBy);
this.sortBy = sortBy;
return this;
}
@Override
public SearchMediaRequest build() {
return new SearchMediaRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SearchMediaResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchMediaResponse} extends {@link TeaModel}
*
* <p>SearchMediaResponse</p>
*/
public class SearchMediaResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SearchMediaResponseBody body;
private SearchMediaResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SearchMediaResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SearchMediaResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchMediaResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SearchMediaResponseBody body);
@Override
SearchMediaResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchMediaResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SearchMediaResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchMediaResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchMediaResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchMediaResponse build() {
return new SearchMediaResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SearchMediaResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public class SearchMediaResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MediaList")
private java.util.List<MediaList> mediaList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ScrollToken")
private String scrollToken;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private SearchMediaResponseBody(Builder builder) {
this.mediaList = builder.mediaList;
this.requestId = builder.requestId;
this.scrollToken = builder.scrollToken;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static SearchMediaResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return mediaList
*/
public java.util.List<MediaList> getMediaList() {
return this.mediaList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return scrollToken
*/
public String getScrollToken() {
return this.scrollToken;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private java.util.List<MediaList> mediaList;
private String requestId;
private String scrollToken;
private Long total;
private Builder() {
}
private Builder(SearchMediaResponseBody model) {
this.mediaList = model.mediaList;
this.requestId = model.requestId;
this.scrollToken = model.scrollToken;
this.total = model.total;
}
/**
* <p>The information about the media assets.</p>
*/
public Builder mediaList(java.util.List<MediaList> mediaList) {
this.mediaList = mediaList;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>3E0CEF83-FB09-4E34-BA1451814B03****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The pagination identifier.</p>
*
* <strong>example:</strong>
* <p>24e0fba7188fae707e146esa54****</p>
*/
public Builder scrollToken(String scrollToken) {
this.scrollToken = scrollToken;
return this;
}
/**
* <p>The total number of data records that meet the specified filter criteria.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public SearchMediaResponseBody build() {
return new SearchMediaResponseBody(this);
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class Occurrences extends TeaModel {
@com.aliyun.core.annotation.NameInMap("From")
private Double from;
@com.aliyun.core.annotation.NameInMap("Score")
private Double score;
@com.aliyun.core.annotation.NameInMap("To")
private Double to;
private Occurrences(Builder builder) {
this.from = builder.from;
this.score = builder.score;
this.to = builder.to;
}
public static Builder builder() {
return new Builder();
}
public static Occurrences create() {
return builder().build();
}
/**
* @return from
*/
public Double getFrom() {
return this.from;
}
/**
* @return score
*/
public Double getScore() {
return this.score;
}
/**
* @return to
*/
public Double getTo() {
return this.to;
}
public static final class Builder {
private Double from;
private Double score;
private Double to;
private Builder() {
}
private Builder(Occurrences model) {
this.from = model.from;
this.score = model.score;
this.to = model.to;
}
/**
* <p>The start time of the clip.</p>
*
* <strong>example:</strong>
* <p>1.4</p>
*/
public Builder from(Double from) {
this.from = from;
return this;
}
/**
* <p>The score.</p>
*
* <strong>example:</strong>
* <p>0.75287705</p>
*/
public Builder score(Double score) {
this.score = score;
return this;
}
/**
* <p>The end time of the clip.</p>
*
* <strong>example:</strong>
* <p>2.5</p>
*/
public Builder to(Double to) {
this.to = to;
return this;
}
public Occurrences build() {
return new Occurrences(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class AiLabelInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Category")
private String category;
@com.aliyun.core.annotation.NameInMap("LabelId")
private String labelId;
@com.aliyun.core.annotation.NameInMap("LabelName")
private String labelName;
@com.aliyun.core.annotation.NameInMap("Occurrences")
private java.util.List<Occurrences> occurrences;
private AiLabelInfo(Builder builder) {
this.category = builder.category;
this.labelId = builder.labelId;
this.labelName = builder.labelName;
this.occurrences = builder.occurrences;
}
public static Builder builder() {
return new Builder();
}
public static AiLabelInfo create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return labelId
*/
public String getLabelId() {
return this.labelId;
}
/**
* @return labelName
*/
public String getLabelName() {
return this.labelName;
}
/**
* @return occurrences
*/
public java.util.List<Occurrences> getOccurrences() {
return this.occurrences;
}
public static final class Builder {
private String category;
private String labelId;
private String labelName;
private java.util.List<Occurrences> occurrences;
private Builder() {
}
private Builder(AiLabelInfo model) {
this.category = model.category;
this.labelId = model.labelId;
this.labelName = model.labelName;
this.occurrences = model.occurrences;
}
/**
* <p>The category.</p>
*
* <strong>example:</strong>
* <p>Transportation</p>
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* <p>The ID of the tag.</p>
*
* <strong>example:</strong>
* <p>10310250338</p>
*/
public Builder labelId(String labelId) {
this.labelId = labelId;
return this;
}
/**
* <p>The name of the tag.</p>
*
* <strong>example:</strong>
* <p>Vehicles</p>
*/
public Builder labelName(String labelName) {
this.labelName = labelName;
return this;
}
/**
* <p>The clips.</p>
*/
public Builder occurrences(java.util.List<Occurrences> occurrences) {
this.occurrences = occurrences;
return this;
}
public AiLabelInfo build() {
return new AiLabelInfo(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class OcrInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Content")
private String content;
@com.aliyun.core.annotation.NameInMap("From")
private Double from;
@com.aliyun.core.annotation.NameInMap("To")
private Double to;
private OcrInfo(Builder builder) {
this.content = builder.content;
this.from = builder.from;
this.to = builder.to;
}
public static Builder builder() {
return new Builder();
}
public static OcrInfo create() {
return builder().build();
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return from
*/
public Double getFrom() {
return this.from;
}
/**
* @return to
*/
public Double getTo() {
return this.to;
}
public static final class Builder {
private String content;
private Double from;
private Double to;
private Builder() {
}
private Builder(OcrInfo model) {
this.content = model.content;
this.from = model.from;
this.to = model.to;
}
/**
* <p>The text content.</p>
*
* <strong>example:</strong>
* <p>I"m Jane.</p>
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* <p>The start time of the subtitle.</p>
*
* <strong>example:</strong>
* <p>1.4</p>
*/
public Builder from(Double from) {
this.from = from;
return this;
}
/**
* <p>The end time of the subtitle.</p>
*
* <strong>example:</strong>
* <p>2.5</p>
*/
public Builder to(Double to) {
this.to = to;
return this;
}
public OcrInfo build() {
return new OcrInfo(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class AiData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AiLabelInfo")
private java.util.List<AiLabelInfo> aiLabelInfo;
@com.aliyun.core.annotation.NameInMap("OcrInfo")
private java.util.List<OcrInfo> ocrInfo;
private AiData(Builder builder) {
this.aiLabelInfo = builder.aiLabelInfo;
this.ocrInfo = builder.ocrInfo;
}
public static Builder builder() {
return new Builder();
}
public static AiData create() {
return builder().build();
}
/**
* @return aiLabelInfo
*/
public java.util.List<AiLabelInfo> getAiLabelInfo() {
return this.aiLabelInfo;
}
/**
* @return ocrInfo
*/
public java.util.List<OcrInfo> getOcrInfo() {
return this.ocrInfo;
}
public static final class Builder {
private java.util.List<AiLabelInfo> aiLabelInfo;
private java.util.List<OcrInfo> ocrInfo;
private Builder() {
}
private Builder(AiData model) {
this.aiLabelInfo = model.aiLabelInfo;
this.ocrInfo = model.ocrInfo;
}
/**
* <p>The AI tags.</p>
*/
public Builder aiLabelInfo(java.util.List<AiLabelInfo> aiLabelInfo) {
this.aiLabelInfo = aiLabelInfo;
return this;
}
/**
* <p>The information about subtitles.</p>
*/
public Builder ocrInfo(java.util.List<OcrInfo> ocrInfo) {
this.ocrInfo = ocrInfo;
return this;
}
public AiData build() {
return new AiData(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class AiRoughData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AiCategory")
private String aiCategory;
@com.aliyun.core.annotation.NameInMap("AiJobId")
private String aiJobId;
@com.aliyun.core.annotation.NameInMap("SaveType")
private String saveType;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private AiRoughData(Builder builder) {
this.aiCategory = builder.aiCategory;
this.aiJobId = builder.aiJobId;
this.saveType = builder.saveType;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static AiRoughData create() {
return builder().build();
}
/**
* @return aiCategory
*/
public String getAiCategory() {
return this.aiCategory;
}
/**
* @return aiJobId
*/
public String getAiJobId() {
return this.aiJobId;
}
/**
* @return saveType
*/
public String getSaveType() {
return this.saveType;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String aiCategory;
private String aiJobId;
private String saveType;
private String status;
private Builder() {
}
private Builder(AiRoughData model) {
this.aiCategory = model.aiCategory;
this.aiJobId = model.aiJobId;
this.saveType = model.saveType;
this.status = model.status;
}
/**
* <p>The AI category.</p>
*
* <strong>example:</strong>
* <p>TV series</p>
*/
public Builder aiCategory(String aiCategory) {
this.aiCategory = aiCategory;
return this;
}
/**
* <p>The ID of the AI task.</p>
*
* <strong>example:</strong>
* <p>cd35b0b0025f71edbfcb472190a9xxxx</p>
*/
public Builder aiJobId(String aiJobId) {
this.aiJobId = aiJobId;
return this;
}
/**
* <p>The save type.</p>
*
* <strong>example:</strong>
* <p>TEXT</p>
*/
public Builder saveType(String saveType) {
this.saveType = saveType;
return this;
}
/**
* <p>The data status.</p>
*
* <strong>example:</strong>
* <p>SaveSuccess</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public AiRoughData build() {
return new AiRoughData(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class Categories extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CateId")
private Long cateId;
@com.aliyun.core.annotation.NameInMap("CateName")
private String cateName;
@com.aliyun.core.annotation.NameInMap("Level")
private Long level;
@com.aliyun.core.annotation.NameInMap("ParentId")
private Long parentId;
private Categories(Builder builder) {
this.cateId = builder.cateId;
this.cateName = builder.cateName;
this.level = builder.level;
this.parentId = builder.parentId;
}
public static Builder builder() {
return new Builder();
}
public static Categories create() {
return builder().build();
}
/**
* @return cateId
*/
public Long getCateId() {
return this.cateId;
}
/**
* @return cateName
*/
public String getCateName() {
return this.cateName;
}
/**
* @return level
*/
public Long getLevel() {
return this.level;
}
/**
* @return parentId
*/
public Long getParentId() {
return this.parentId;
}
public static final class Builder {
private Long cateId;
private String cateName;
private Long level;
private Long parentId;
private Builder() {
}
private Builder(Categories model) {
this.cateId = model.cateId;
this.cateName = model.cateName;
this.level = model.level;
this.parentId = model.parentId;
}
/**
* <p>The category ID of the auxiliary media asset.</p>
*
* <strong>example:</strong>
* <p>10027394</p>
*/
public Builder cateId(Long cateId) {
this.cateId = cateId;
return this;
}
/**
* <p>The name of the category.</p>
*
* <strong>example:</strong>
* <p>test1</p>
*/
public Builder cateName(String cateName) {
this.cateName = cateName;
return this;
}
/**
* <p>The level of the category.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder level(Long level) {
this.level = level;
return this;
}
/**
* <p>The ID of the parent node.</p>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder parentId(Long parentId) {
this.parentId = parentId;
return this;
}
public Categories build() {
return new Categories(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class AttachedMedia extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("BusinessType")
private String businessType;
@com.aliyun.core.annotation.NameInMap("Categories")
private java.util.List<Categories> categories;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("StorageLocation")
private String storageLocation;
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("URL")
private String URL;
private AttachedMedia(Builder builder) {
this.appId = builder.appId;
this.businessType = builder.businessType;
this.categories = builder.categories;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.mediaId = builder.mediaId;
this.modificationTime = builder.modificationTime;
this.status = builder.status;
this.storageLocation = builder.storageLocation;
this.tags = builder.tags;
this.title = builder.title;
this.URL = builder.URL;
}
public static Builder builder() {
return new Builder();
}
public static AttachedMedia create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return businessType
*/
public String getBusinessType() {
return this.businessType;
}
/**
* @return categories
*/
public java.util.List<Categories> getCategories() {
return this.categories;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return storageLocation
*/
public String getStorageLocation() {
return this.storageLocation;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return URL
*/
public String getURL() {
return this.URL;
}
public static final class Builder {
private String appId;
private String businessType;
private java.util.List<Categories> categories;
private String creationTime;
private String description;
private String mediaId;
private String modificationTime;
private String status;
private String storageLocation;
private String tags;
private String title;
private String URL;
private Builder() {
}
private Builder(AttachedMedia model) {
this.appId = model.appId;
this.businessType = model.businessType;
this.categories = model.categories;
this.creationTime = model.creationTime;
this.description = model.description;
this.mediaId = model.mediaId;
this.modificationTime = model.modificationTime;
this.status = model.status;
this.storageLocation = model.storageLocation;
this.tags = model.tags;
this.title = model.title;
this.URL = model.URL;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The type of the auxiliary media asset. Valid values:</p>
* <ul>
* <li><strong>watermark</strong></li>
* <li><strong>subtitle</strong></li>
* <li><strong>material</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>watermark</p>
*/
public Builder businessType(String businessType) {
this.businessType = businessType;
return this;
}
/**
* <p>The list of category IDs.</p>
*/
public Builder categories(java.util.List<Categories> categories) {
this.categories = categories;
return this;
}
/**
* <p>The time when the auxiliary media asset was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:45:25Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the auxiliary media asset.</p>
*
* <strong>example:</strong>
* <p>test3</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The ID of the auxiliary media asset.</p>
*
* <strong>example:</strong>
* <p>a82a2cd7d4e147ba0ed6c1ee372****</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>The time when the auxiliary media asset was updated. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:48:25Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The status of the auxiliary media asset. Valid values:</p>
* <ul>
* <li><strong>Uploading</strong></li>
* <li><strong>Normal</strong></li>
* <li><strong>UploadFail</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The region in which the auxiliary media asset is stored.</p>
*
* <strong>example:</strong>
* <p>outin-bfefbb90a47c11*****7426.oss-cn-shanghai.aliyuncs.com</p>
*/
public Builder storageLocation(String storageLocation) {
this.storageLocation = storageLocation;
return this;
}
/**
* <p>The tags of the auxiliary media asset.</p>
*
* <strong>example:</strong>
* <p>test2</p>
*/
public Builder tags(String tags) {
this.tags = tags;
return this;
}
/**
* <p>The title of the auxiliary media asset.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* <p>The URL of the auxiliary media asset.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.com/****.png">https://example.com/****.png</a></p>
*/
public Builder URL(String URL) {
this.URL = URL;
return this;
}
public AttachedMedia build() {
return new AttachedMedia(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class Audio extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("AudioId")
private String audioId;
@com.aliyun.core.annotation.NameInMap("CateId")
private Long cateId;
@com.aliyun.core.annotation.NameInMap("CateName")
private String cateName;
@com.aliyun.core.annotation.NameInMap("CoverURL")
private String coverURL;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DownloadSwitch")
private String downloadSwitch;
@com.aliyun.core.annotation.NameInMap("Duration")
private Float duration;
@com.aliyun.core.annotation.NameInMap("MediaSource")
private String mediaSource;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("PreprocessStatus")
private String preprocessStatus;
@com.aliyun.core.annotation.NameInMap("RestoreExpiration")
private String restoreExpiration;
@com.aliyun.core.annotation.NameInMap("RestoreStatus")
private String restoreStatus;
@com.aliyun.core.annotation.NameInMap("Size")
private Long size;
@com.aliyun.core.annotation.NameInMap("Snapshots")
private java.util.List<String> snapshots;
@com.aliyun.core.annotation.NameInMap("SpriteSnapshots")
private java.util.List<String> spriteSnapshots;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("StorageClass")
private String storageClass;
@com.aliyun.core.annotation.NameInMap("StorageLocation")
private String storageLocation;
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("TranscodeMode")
private String transcodeMode;
private Audio(Builder builder) {
this.appId = builder.appId;
this.audioId = builder.audioId;
this.cateId = builder.cateId;
this.cateName = builder.cateName;
this.coverURL = builder.coverURL;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.downloadSwitch = builder.downloadSwitch;
this.duration = builder.duration;
this.mediaSource = builder.mediaSource;
this.modificationTime = builder.modificationTime;
this.preprocessStatus = builder.preprocessStatus;
this.restoreExpiration = builder.restoreExpiration;
this.restoreStatus = builder.restoreStatus;
this.size = builder.size;
this.snapshots = builder.snapshots;
this.spriteSnapshots = builder.spriteSnapshots;
this.status = builder.status;
this.storageClass = builder.storageClass;
this.storageLocation = builder.storageLocation;
this.tags = builder.tags;
this.title = builder.title;
this.transcodeMode = builder.transcodeMode;
}
public static Builder builder() {
return new Builder();
}
public static Audio create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return audioId
*/
public String getAudioId() {
return this.audioId;
}
/**
* @return cateId
*/
public Long getCateId() {
return this.cateId;
}
/**
* @return cateName
*/
public String getCateName() {
return this.cateName;
}
/**
* @return coverURL
*/
public String getCoverURL() {
return this.coverURL;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return downloadSwitch
*/
public String getDownloadSwitch() {
return this.downloadSwitch;
}
/**
* @return duration
*/
public Float getDuration() {
return this.duration;
}
/**
* @return mediaSource
*/
public String getMediaSource() {
return this.mediaSource;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return preprocessStatus
*/
public String getPreprocessStatus() {
return this.preprocessStatus;
}
/**
* @return restoreExpiration
*/
public String getRestoreExpiration() {
return this.restoreExpiration;
}
/**
* @return restoreStatus
*/
public String getRestoreStatus() {
return this.restoreStatus;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return snapshots
*/
public java.util.List<String> getSnapshots() {
return this.snapshots;
}
/**
* @return spriteSnapshots
*/
public java.util.List<String> getSpriteSnapshots() {
return this.spriteSnapshots;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return storageClass
*/
public String getStorageClass() {
return this.storageClass;
}
/**
* @return storageLocation
*/
public String getStorageLocation() {
return this.storageLocation;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return transcodeMode
*/
public String getTranscodeMode() {
return this.transcodeMode;
}
public static final class Builder {
private String appId;
private String audioId;
private Long cateId;
private String cateName;
private String coverURL;
private String creationTime;
private String description;
private String downloadSwitch;
private Float duration;
private String mediaSource;
private String modificationTime;
private String preprocessStatus;
private String restoreExpiration;
private String restoreStatus;
private Long size;
private java.util.List<String> snapshots;
private java.util.List<String> spriteSnapshots;
private String status;
private String storageClass;
private String storageLocation;
private String tags;
private String title;
private String transcodeMode;
private Builder() {
}
private Builder(Audio model) {
this.appId = model.appId;
this.audioId = model.audioId;
this.cateId = model.cateId;
this.cateName = model.cateName;
this.coverURL = model.coverURL;
this.creationTime = model.creationTime;
this.description = model.description;
this.downloadSwitch = model.downloadSwitch;
this.duration = model.duration;
this.mediaSource = model.mediaSource;
this.modificationTime = model.modificationTime;
this.preprocessStatus = model.preprocessStatus;
this.restoreExpiration = model.restoreExpiration;
this.restoreStatus = model.restoreStatus;
this.size = model.size;
this.snapshots = model.snapshots;
this.spriteSnapshots = model.spriteSnapshots;
this.status = model.status;
this.storageClass = model.storageClass;
this.storageLocation = model.storageLocation;
this.tags = model.tags;
this.title = model.title;
this.transcodeMode = model.transcodeMode;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The ID of the audio file.</p>
*
* <strong>example:</strong>
* <p>a82a2cd7d4e147bbed6c1ee372****</p>
*/
public Builder audioId(String audioId) {
this.audioId = audioId;
return this;
}
/**
* <p>The ID of the category.</p>
*
* <strong>example:</strong>
* <p>10000123</p>
*/
public Builder cateId(Long cateId) {
this.cateId = cateId;
return this;
}
/**
* <p>The name of the category.</p>
*
* <strong>example:</strong>
* <p>ceshi</p>
*/
public Builder cateName(String cateName) {
this.cateName = cateName;
return this;
}
/**
* <p>The URL of the thumbnail.</p>
*
* <strong>example:</strong>
* <p><a href="http://example.com/image04.jpg">http://example.com/image04.jpg</a></p>
*/
public Builder coverURL(String coverURL) {
this.coverURL = coverURL;
return this;
}
/**
* <p>The time when the audio stream was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:45:25Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the audio file.</p>
*
* <strong>example:</strong>
* <p>audio description</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The download switch. The audio file can be downloaded offline only when the download switch is turned on. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder downloadSwitch(String downloadSwitch) {
this.downloadSwitch = downloadSwitch;
return this;
}
/**
* <p>The duration of the audio file.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder duration(Float duration) {
this.duration = duration;
return this;
}
/**
* <p>The source of the audio file. Valid values:</p>
* <ul>
* <li><strong>general</strong>: The audio file is uploaded by using ApsaraVideo VOD.</li>
* <li><strong>short_video</strong>: The audio file is uploaded to ApsaraVideo VOD by using the short video SDK. For more information, see <a href="https://help.aliyun.com/document_detail/53407.html">Introduction</a>.</li>
* <li><strong>editing</strong>: The audio file is uploaded to ApsaraVideo VOD after online editing and production. For more information, see <a href="https://help.aliyun.com/document_detail/68536.html">ProduceEditingProjectVideo</a>.</li>
* <li><strong>live</strong>: The audio file is recorded and uploaded as a file to ApsaraVideo VOD.</li>
* </ul>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder mediaSource(String mediaSource) {
this.mediaSource = mediaSource;
return this;
}
/**
* <p>The time when the audio file was updated. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:48:25Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The preprocessing status. Only preprocessed videos can be used for live streaming in the production studio. Valid values:</p>
* <ul>
* <li><strong>UnPreprocess</strong></li>
* <li><strong>Preprocessing</strong></li>
* <li><strong>PreprocessSucceed</strong></li>
* <li><strong>PreprocessFailed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>UnPreprocess</p>
*/
public Builder preprocessStatus(String preprocessStatus) {
this.preprocessStatus = preprocessStatus;
return this;
}
/**
* <p>The period of time in which the audio file remains in the restored state.</p>
*
* <strong>example:</strong>
* <p>2023-03-30T10:14:14Z</p>
*/
public Builder restoreExpiration(String restoreExpiration) {
this.restoreExpiration = restoreExpiration;
return this;
}
/**
* <p>The restoration status of the audio file. Valid values:</p>
* <ul>
* <li><strong>Processing</strong></li>
* <li><strong>Success</strong></li>
* <li><strong>Failed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Success</p>
*/
public Builder restoreStatus(String restoreStatus) {
this.restoreStatus = restoreStatus;
return this;
}
/**
* <p>The size of the audio file.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* <p>The automatic snapshots.</p>
*/
public Builder snapshots(java.util.List<String> snapshots) {
this.snapshots = snapshots;
return this;
}
/**
* <p>The sprite snapshots.</p>
*/
public Builder spriteSnapshots(java.util.List<String> spriteSnapshots) {
this.spriteSnapshots = spriteSnapshots;
return this;
}
/**
* <p>The status of the audio file. Valid values:</p>
* <ul>
* <li><strong>Uploading</strong></li>
* <li><strong>Normal</strong></li>
* <li><strong>UploadFail</strong></li>
* <li><strong>Deleted</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The storage class of the audio file. Valid values:</p>
* <ul>
* <li><strong>Standard</strong>: All media resources are stored as Standard objects.</li>
* <li><strong>IA</strong>: All media resources are stored as IA objects.</li>
* <li><strong>Archive</strong>: All media resources are stored as Archive objects.</li>
* <li><strong>ColdArchive</strong>: All media resources are stored as Cold Archive objects.</li>
* <li><strong>SourceIA</strong>: Only the source file is stored as an IA object.</li>
* <li><strong>SourceArchive</strong>: Only the source file is stored as an Archive object.</li>
* <li><strong>SourceColdArchive</strong>: Only the source file is stored as a Cold Archive object.</li>
* <li><strong>Changing</strong>: The storage class is being modified.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Standard</p>
*/
public Builder storageClass(String storageClass) {
this.storageClass = storageClass;
return this;
}
/**
* <p>The region in which the audio is stored.</p>
*
* <strong>example:</strong>
* <p>outin-aaa*****aa.oss-cn-shanghai.aliyuncs.com</p>
*/
public Builder storageLocation(String storageLocation) {
this.storageLocation = storageLocation;
return this;
}
/**
* <p>The tags of the audio file.</p>
*
* <strong>example:</strong>
* <p>tag1,tag2</p>
*/
public Builder tags(String tags) {
this.tags = tags;
return this;
}
/**
* <p>The title of the audio file</p>
*
* <strong>example:</strong>
* <p>audio</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* <p>The transcoding mode. Valid values:</p>
* <ul>
* <li><strong>FastTranscode</strong>: The audio file is immediately transcoded after it is uploaded. You cannot play the file before it is transcoded.</li>
* <li><strong>NoTranscode</strong>: The audio file can be played without being transcoded. You can immediately play the file after it is uploaded.</li>
* <li><strong>AsyncTranscode</strong>: The audio file can be immediately played and asynchronously transcoded after it is uploaded.</li>
* </ul>
*
* <strong>example:</strong>
* <p>FastTranscode</p>
*/
public Builder transcodeMode(String transcodeMode) {
this.transcodeMode = transcodeMode;
return this;
}
public Audio build() {
return new Audio(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class Image extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CateId")
private Long cateId;
@com.aliyun.core.annotation.NameInMap("CateName")
private String cateName;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("ImageId")
private String imageId;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("StorageLocation")
private String storageLocation;
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("URL")
private String URL;
private Image(Builder builder) {
this.appId = builder.appId;
this.cateId = builder.cateId;
this.cateName = builder.cateName;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.imageId = builder.imageId;
this.modificationTime = builder.modificationTime;
this.status = builder.status;
this.storageLocation = builder.storageLocation;
this.tags = builder.tags;
this.title = builder.title;
this.URL = builder.URL;
}
public static Builder builder() {
return new Builder();
}
public static Image create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return cateId
*/
public Long getCateId() {
return this.cateId;
}
/**
* @return cateName
*/
public String getCateName() {
return this.cateName;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return storageLocation
*/
public String getStorageLocation() {
return this.storageLocation;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return URL
*/
public String getURL() {
return this.URL;
}
public static final class Builder {
private String appId;
private Long cateId;
private String cateName;
private String creationTime;
private String description;
private String imageId;
private String modificationTime;
private String status;
private String storageLocation;
private String tags;
private String title;
private String URL;
private Builder() {
}
private Builder(Image model) {
this.appId = model.appId;
this.cateId = model.cateId;
this.cateName = model.cateName;
this.creationTime = model.creationTime;
this.description = model.description;
this.imageId = model.imageId;
this.modificationTime = model.modificationTime;
this.status = model.status;
this.storageLocation = model.storageLocation;
this.tags = model.tags;
this.title = model.title;
this.URL = model.URL;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The ID of the category.</p>
*
* <strong>example:</strong>
* <p>1000123</p>
*/
public Builder cateId(Long cateId) {
this.cateId = cateId;
return this;
}
/**
* <p>The name of the category.</p>
*
* <strong>example:</strong>
* <p>beauty</p>
*/
public Builder cateName(String cateName) {
this.cateName = cateName;
return this;
}
/**
* <p>The time when the image was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:45:25Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the image file.</p>
*
* <strong>example:</strong>
* <p>image test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The ID of the image file.</p>
*
* <strong>example:</strong>
* <p>11130843741se99wqmoes****</p>
*/
public Builder imageId(String imageId) {
this.imageId = imageId;
return this;
}
/**
* <p>The time when the image file was updated. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:48:25Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The status of the image file.</p>
* <ul>
* <li><strong>Uploading</strong></li>
* <li><strong>Normal</strong></li>
* <li><strong>UploadFail</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Uploading</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The region in which the image is stored.</p>
*
* <strong>example:</strong>
* <p>outin-bfefbb90a47c******163e1c7426.oss-cn-shanghai.aliyuncs.com</p>
*/
public Builder storageLocation(String storageLocation) {
this.storageLocation = storageLocation;
return this;
}
/**
* <p>The tags of the image file.</p>
*
* <strong>example:</strong>
* <p>tag1</p>
*/
public Builder tags(String tags) {
this.tags = tags;
return this;
}
/**
* <p>The title of the image file.</p>
*
* <strong>example:</strong>
* <p>image1</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* <p>The URL of the image file.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.com/****.png">https://example.com/****.png</a></p>
*/
public Builder URL(String URL) {
this.URL = URL;
return this;
}
public Image build() {
return new Image(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class Video extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("CateId")
private Long cateId;
@com.aliyun.core.annotation.NameInMap("CateName")
private String cateName;
@com.aliyun.core.annotation.NameInMap("CoverURL")
private String coverURL;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DownloadSwitch")
private String downloadSwitch;
@com.aliyun.core.annotation.NameInMap("Duration")
private Float duration;
@com.aliyun.core.annotation.NameInMap("MediaSource")
private String mediaSource;
@com.aliyun.core.annotation.NameInMap("ModificationTime")
private String modificationTime;
@com.aliyun.core.annotation.NameInMap("PreprocessStatus")
private String preprocessStatus;
@com.aliyun.core.annotation.NameInMap("RestoreExpiration")
private String restoreExpiration;
@com.aliyun.core.annotation.NameInMap("RestoreStatus")
private String restoreStatus;
@com.aliyun.core.annotation.NameInMap("Size")
private Long size;
@com.aliyun.core.annotation.NameInMap("Snapshots")
private java.util.List<String> snapshots;
@com.aliyun.core.annotation.NameInMap("SpriteSnapshots")
private java.util.List<String> spriteSnapshots;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("StorageClass")
private String storageClass;
@com.aliyun.core.annotation.NameInMap("StorageLocation")
private String storageLocation;
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("TranscodeMode")
private String transcodeMode;
@com.aliyun.core.annotation.NameInMap("VideoId")
private String videoId;
private Video(Builder builder) {
this.appId = builder.appId;
this.cateId = builder.cateId;
this.cateName = builder.cateName;
this.coverURL = builder.coverURL;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.downloadSwitch = builder.downloadSwitch;
this.duration = builder.duration;
this.mediaSource = builder.mediaSource;
this.modificationTime = builder.modificationTime;
this.preprocessStatus = builder.preprocessStatus;
this.restoreExpiration = builder.restoreExpiration;
this.restoreStatus = builder.restoreStatus;
this.size = builder.size;
this.snapshots = builder.snapshots;
this.spriteSnapshots = builder.spriteSnapshots;
this.status = builder.status;
this.storageClass = builder.storageClass;
this.storageLocation = builder.storageLocation;
this.tags = builder.tags;
this.title = builder.title;
this.transcodeMode = builder.transcodeMode;
this.videoId = builder.videoId;
}
public static Builder builder() {
return new Builder();
}
public static Video create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return cateId
*/
public Long getCateId() {
return this.cateId;
}
/**
* @return cateName
*/
public String getCateName() {
return this.cateName;
}
/**
* @return coverURL
*/
public String getCoverURL() {
return this.coverURL;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return downloadSwitch
*/
public String getDownloadSwitch() {
return this.downloadSwitch;
}
/**
* @return duration
*/
public Float getDuration() {
return this.duration;
}
/**
* @return mediaSource
*/
public String getMediaSource() {
return this.mediaSource;
}
/**
* @return modificationTime
*/
public String getModificationTime() {
return this.modificationTime;
}
/**
* @return preprocessStatus
*/
public String getPreprocessStatus() {
return this.preprocessStatus;
}
/**
* @return restoreExpiration
*/
public String getRestoreExpiration() {
return this.restoreExpiration;
}
/**
* @return restoreStatus
*/
public String getRestoreStatus() {
return this.restoreStatus;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return snapshots
*/
public java.util.List<String> getSnapshots() {
return this.snapshots;
}
/**
* @return spriteSnapshots
*/
public java.util.List<String> getSpriteSnapshots() {
return this.spriteSnapshots;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return storageClass
*/
public String getStorageClass() {
return this.storageClass;
}
/**
* @return storageLocation
*/
public String getStorageLocation() {
return this.storageLocation;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return transcodeMode
*/
public String getTranscodeMode() {
return this.transcodeMode;
}
/**
* @return videoId
*/
public String getVideoId() {
return this.videoId;
}
public static final class Builder {
private String appId;
private Long cateId;
private String cateName;
private String coverURL;
private String creationTime;
private String description;
private String downloadSwitch;
private Float duration;
private String mediaSource;
private String modificationTime;
private String preprocessStatus;
private String restoreExpiration;
private String restoreStatus;
private Long size;
private java.util.List<String> snapshots;
private java.util.List<String> spriteSnapshots;
private String status;
private String storageClass;
private String storageLocation;
private String tags;
private String title;
private String transcodeMode;
private String videoId;
private Builder() {
}
private Builder(Video model) {
this.appId = model.appId;
this.cateId = model.cateId;
this.cateName = model.cateName;
this.coverURL = model.coverURL;
this.creationTime = model.creationTime;
this.description = model.description;
this.downloadSwitch = model.downloadSwitch;
this.duration = model.duration;
this.mediaSource = model.mediaSource;
this.modificationTime = model.modificationTime;
this.preprocessStatus = model.preprocessStatus;
this.restoreExpiration = model.restoreExpiration;
this.restoreStatus = model.restoreStatus;
this.size = model.size;
this.snapshots = model.snapshots;
this.spriteSnapshots = model.spriteSnapshots;
this.status = model.status;
this.storageClass = model.storageClass;
this.storageLocation = model.storageLocation;
this.tags = model.tags;
this.title = model.title;
this.transcodeMode = model.transcodeMode;
this.videoId = model.videoId;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>app-****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The ID of the category.</p>
*
* <strong>example:</strong>
* <p>10000123</p>
*/
public Builder cateId(Long cateId) {
this.cateId = cateId;
return this;
}
/**
* <p>The name of the category.</p>
*
* <strong>example:</strong>
* <p>video1</p>
*/
public Builder cateName(String cateName) {
this.cateName = cateName;
return this;
}
/**
* <p>The URL of the thumbnail.</p>
*
* <strong>example:</strong>
* <p><a href="https://example.aliyundoc.com/image01.png">https://example.aliyundoc.com/image01.png</a></p>
*/
public Builder coverURL(String coverURL) {
this.coverURL = coverURL;
return this;
}
/**
* <p>The time when the video file was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:45:25Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p>The description of the video file.</p>
*
* <strong>example:</strong>
* <p>Video test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The download switch. The video file can be downloaded offline only when the download switch is turned on. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder downloadSwitch(String downloadSwitch) {
this.downloadSwitch = downloadSwitch;
return this;
}
/**
* <p>The duration of the video file. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder duration(Float duration) {
this.duration = duration;
return this;
}
/**
* <p>The source of the video file. Valid values:</p>
* <ul>
* <li><strong>general</strong>: The video file is uploaded by using ApsaraVideo VOD.</li>
* <li><strong>short_video</strong>: The video file is uploaded by using the short video SDK.</li>
* <li><strong>editing</strong>: The video file is produced after online editing.</li>
* <li><strong>live</strong>: The video stream is recorded and uploaded as a file.</li>
* </ul>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder mediaSource(String mediaSource) {
this.mediaSource = mediaSource;
return this;
}
/**
* <p>The time when the video file was updated. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:48:25Z</p>
*/
public Builder modificationTime(String modificationTime) {
this.modificationTime = modificationTime;
return this;
}
/**
* <p>The preprocessing status. Valid values:</p>
* <ul>
* <li><strong>UnPreprocess</strong></li>
* <li><strong>Preprocessing</strong></li>
* <li><strong>PreprocessSucceed</strong></li>
* <li><strong>PreprocessFailed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Preprocessing</p>
*/
public Builder preprocessStatus(String preprocessStatus) {
this.preprocessStatus = preprocessStatus;
return this;
}
/**
* <p>The period of time in which the video file remains in the restored state.</p>
*
* <strong>example:</strong>
* <p>2023-03-30T10:14:14Z</p>
*/
public Builder restoreExpiration(String restoreExpiration) {
this.restoreExpiration = restoreExpiration;
return this;
}
/**
* <p>The restoration status of the video file. Valid values:</p>
* <ul>
* <li><strong>Processing</strong></li>
* <li><strong>Success</strong></li>
* <li><strong>Failed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Success</p>
*/
public Builder restoreStatus(String restoreStatus) {
this.restoreStatus = restoreStatus;
return this;
}
/**
* <p>The size of the video file.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* <p>The automatic snapshots.</p>
*/
public Builder snapshots(java.util.List<String> snapshots) {
this.snapshots = snapshots;
return this;
}
/**
* <p>The sprite snapshots.</p>
*/
public Builder spriteSnapshots(java.util.List<String> spriteSnapshots) {
this.spriteSnapshots = spriteSnapshots;
return this;
}
/**
* <p>The status of the file. Valid values:</p>
* <ul>
* <li><strong>Uploading</strong></li>
* <li><strong>UploadFail</strong></li>
* <li><strong>UploadSucc</strong></li>
* <li><strong>Transcoding</strong></li>
* <li><strong>TranscodeFail</strong></li>
* <li><strong>Blocked</strong></li>
* <li><strong>Normal</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>UploadSucc</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The storage class of the video file. Valid values:</p>
* <ul>
* <li><strong>Standard</strong>: All media resources are stored as Standard objects.</li>
* <li><strong>IA</strong>: All media resources are stored as IA objects.</li>
* <li><strong>Archive</strong>: All media resources are stored as Archive objects.</li>
* <li><strong>ColdArchive</strong>: All media resources are stored as Cold Archive objects.</li>
* <li><strong>SourceIA</strong>: Only the source file is stored as an IA object.</li>
* <li><strong>SourceArchive</strong>: Only the source file is stored as an Archive object.</li>
* <li><strong>SourceColdArchive</strong>: Only the source file is stored as a Cold Archive object.</li>
* <li><strong>Changing</strong>: The storage class of the video file is being changed.</li>
* <li><strong>SourceChanging</strong>: The storage class of the source file is being changed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Standard</p>
*/
public Builder storageClass(String storageClass) {
this.storageClass = storageClass;
return this;
}
/**
* <p>The region in which the video is stored.</p>
*
* <strong>example:</strong>
* <p>outin-bfefbb90a47c******163e1c7426.oss-cn-shanghai.aliyuncs.com</p>
*/
public Builder storageLocation(String storageLocation) {
this.storageLocation = storageLocation;
return this;
}
/**
* <p>The tags of the video file.</p>
*
* <strong>example:</strong>
* <p>tag1</p>
*/
public Builder tags(String tags) {
this.tags = tags;
return this;
}
/**
* <p>The title of the video.</p>
*
* <strong>example:</strong>
* <p>ceshi</p>
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* <p>The transcoding mode. Valid values:</p>
* <ul>
* <li><strong>FastTranscode</strong>: The video file is immediately transcoded after it is uploaded. You cannot play the file before it is transcoded.</li>
* <li><strong>NoTranscode</strong>: The video file can be played without being transcoded. You can immediately play the file after it is uploaded.</li>
* <li><strong>AsyncTranscode</strong>: The video file can be immediately played and asynchronously transcoded after it is uploaded.</li>
* </ul>
*
* <strong>example:</strong>
* <p>FastTranscode</p>
*/
public Builder transcodeMode(String transcodeMode) {
this.transcodeMode = transcodeMode;
return this;
}
/**
* <p>The ID of the video file.</p>
*
* <strong>example:</strong>
* <p>a82a2asdasqadaf3faa0ed6c1ee372****</p>
*/
public Builder videoId(String videoId) {
this.videoId = videoId;
return this;
}
public Video build() {
return new Video(this);
}
}
}
/**
*
* {@link SearchMediaResponseBody} extends {@link TeaModel}
*
* <p>SearchMediaResponseBody</p>
*/
public static class MediaList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AiData")
private AiData aiData;
@com.aliyun.core.annotation.NameInMap("AiRoughData")
private AiRoughData aiRoughData;
@com.aliyun.core.annotation.NameInMap("AttachedMedia")
private AttachedMedia attachedMedia;
@com.aliyun.core.annotation.NameInMap("Audio")
private Audio audio;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Image")
private Image image;
@com.aliyun.core.annotation.NameInMap("MediaId")
private String mediaId;
@com.aliyun.core.annotation.NameInMap("MediaType")
private String mediaType;
@com.aliyun.core.annotation.NameInMap("Video")
private Video video;
private MediaList(Builder builder) {
this.aiData = builder.aiData;
this.aiRoughData = builder.aiRoughData;
this.attachedMedia = builder.attachedMedia;
this.audio = builder.audio;
this.creationTime = builder.creationTime;
this.image = builder.image;
this.mediaId = builder.mediaId;
this.mediaType = builder.mediaType;
this.video = builder.video;
}
public static Builder builder() {
return new Builder();
}
public static MediaList create() {
return builder().build();
}
/**
* @return aiData
*/
public AiData getAiData() {
return this.aiData;
}
/**
* @return aiRoughData
*/
public AiRoughData getAiRoughData() {
return this.aiRoughData;
}
/**
* @return attachedMedia
*/
public AttachedMedia getAttachedMedia() {
return this.attachedMedia;
}
/**
* @return audio
*/
public Audio getAudio() {
return this.audio;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return image
*/
public Image getImage() {
return this.image;
}
/**
* @return mediaId
*/
public String getMediaId() {
return this.mediaId;
}
/**
* @return mediaType
*/
public String getMediaType() {
return this.mediaType;
}
/**
* @return video
*/
public Video getVideo() {
return this.video;
}
public static final class Builder {
private AiData aiData;
private AiRoughData aiRoughData;
private AttachedMedia attachedMedia;
private Audio audio;
private String creationTime;
private Image image;
private String mediaId;
private String mediaType;
private Video video;
private Builder() {
}
private Builder(MediaList model) {
this.aiData = model.aiData;
this.aiRoughData = model.aiRoughData;
this.attachedMedia = model.attachedMedia;
this.audio = model.audio;
this.creationTime = model.creationTime;
this.image = model.image;
this.mediaId = model.mediaId;
this.mediaType = model.mediaType;
this.video = model.video;
}
/**
* <p>Details about AI data.</p>
*/
public Builder aiData(AiData aiData) {
this.aiData = aiData;
return this;
}
/**
* <p>The basic information about AI data.</p>
*/
public Builder aiRoughData(AiRoughData aiRoughData) {
this.aiRoughData = aiRoughData;
return this;
}
/**
* <p><a href="https://help.aliyun.com/document_detail/86991.html">The information about the auxiliary media asset</a>.</p>
*/
public Builder attachedMedia(AttachedMedia attachedMedia) {
this.attachedMedia = attachedMedia;
return this;
}
/**
* <p><a href="https://help.aliyun.com/document_detail/86991.html">The information about the audio</a>.</p>
*/
public Builder audio(Audio audio) {
this.audio = audio;
return this;
}
/**
* <p>The time when the media asset was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>hh:mm:ss</em>Z format. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-07-19T03:45:25Z</p>
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* <p><a href="https://help.aliyun.com/document_detail/86991.html">The information about the image</a>.</p>
*/
public Builder image(Image image) {
this.image = image;
return this;
}
/**
* <p>The ID of the file.</p>
*
* <strong>example:</strong>
* <p>a82a2cd7d4e147bbed6c1ee372****</p>
*/
public Builder mediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <p>The type of the media asset. Valid values:</p>
* <ul>
* <li><strong>video</strong></li>
* <li><strong>audio</strong></li>
* <li><strong>image</strong></li>
* <li><strong>attached</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>video</p>
*/
public Builder mediaType(String mediaType) {
this.mediaType = mediaType;
return this;
}
/**
* <p><a href="https://help.aliyun.com/document_detail/86991.html">The information about the video</a>.</p>
*/
public Builder video(Video video) {
this.video = video;
return this;
}
public MediaList build() {
return new MediaList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetAuditSecurityIpRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetAuditSecurityIpRequest} extends {@link RequestModel}
*
* <p>SetAuditSecurityIpRequest</p>
*/
public class SetAuditSecurityIpRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ips")
@com.aliyun.core.annotation.Validation(required = true)
private String ips;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OperateMode")
private String operateMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityGroupName")
private String securityGroupName;
private SetAuditSecurityIpRequest(Builder builder) {
super(builder);
this.ips = builder.ips;
this.operateMode = builder.operateMode;
this.securityGroupName = builder.securityGroupName;
}
public static Builder builder() {
return new Builder();
}
public static SetAuditSecurityIpRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ips
*/
public String getIps() {
return this.ips;
}
/**
* @return operateMode
*/
public String getOperateMode() {
return this.operateMode;
}
/**
* @return securityGroupName
*/
public String getSecurityGroupName() {
return this.securityGroupName;
}
public static final class Builder extends Request.Builder<SetAuditSecurityIpRequest, Builder> {
private String ips;
private String operateMode;
private String securityGroupName;
private Builder() {
super();
}
private Builder(SetAuditSecurityIpRequest request) {
super(request);
this.ips = request.ips;
this.operateMode = request.operateMode;
this.securityGroupName = request.securityGroupName;
}
/**
* <p>The IP addresses that you want to add to the review security group. You can add a maximum of 100 IP addresses to a review security group. Separate multiple IP addresses with commas (,). You can add IP addresses in the following formats to review security groups:</p>
* <ul>
* <li>IP address: 192.168.0.1</li>
* <li>CIDR block: 192.168.0.1/24. /24 indicates that the prefix of the CIDR block is 24 bits in length. You can replace 24 with a value that ranges <code>from 1 to 32</code>.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>192.168.0.1</p>
*/
public Builder ips(String ips) {
this.putQueryParameter("Ips", ips);
this.ips = ips;
return this;
}
/**
* <p>The operation type. Valid values:</p>
* <ul>
* <li><strong>Append</strong> (default): adds the IP addresses to the original whitelist.</li>
* <li><strong>Cover</strong>: overwrites the original whitelist.</li>
* <li><strong>Delete</strong>: removes the IP addresses from the original whitelist.</li>
* </ul>
* <blockquote>
* <p> If the value that you specify is invalid, the default value is used.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Cover</p>
*/
public Builder operateMode(String operateMode) {
this.putQueryParameter("OperateMode", operateMode);
this.operateMode = operateMode;
return this;
}
/**
* <p>The name of the review security group. Default value: <strong>Default</strong>. You can specify a maximum of 10 review security groups.</p>
*
* <strong>example:</strong>
* <p>Default</p>
*/
public Builder securityGroupName(String securityGroupName) {
this.putQueryParameter("SecurityGroupName", securityGroupName);
this.securityGroupName = securityGroupName;
return this;
}
@Override
public SetAuditSecurityIpRequest build() {
return new SetAuditSecurityIpRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetAuditSecurityIpResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetAuditSecurityIpResponse} extends {@link TeaModel}
*
* <p>SetAuditSecurityIpResponse</p>
*/
public class SetAuditSecurityIpResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetAuditSecurityIpResponseBody body;
private SetAuditSecurityIpResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetAuditSecurityIpResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetAuditSecurityIpResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetAuditSecurityIpResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetAuditSecurityIpResponseBody body);
@Override
SetAuditSecurityIpResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetAuditSecurityIpResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetAuditSecurityIpResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetAuditSecurityIpResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetAuditSecurityIpResponseBody body) {
this.body = body;
return this;
}
@Override
public SetAuditSecurityIpResponse build() {
return new SetAuditSecurityIpResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetAuditSecurityIpResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetAuditSecurityIpResponseBody} extends {@link TeaModel}
*
* <p>SetAuditSecurityIpResponseBody</p>
*/
public class SetAuditSecurityIpResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SetAuditSecurityIpResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SetAuditSecurityIpResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(SetAuditSecurityIpResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4AF6-D7393642CA58****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SetAuditSecurityIpResponseBody build() {
return new SetAuditSecurityIpResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetCrossdomainContentRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetCrossdomainContentRequest} extends {@link RequestModel}
*
* <p>SetCrossdomainContentRequest</p>
*/
public class SetCrossdomainContentRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Content")
@com.aliyun.core.annotation.Validation(required = true)
private String content;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private String ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private String resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceRealOwnerId")
private String resourceRealOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StorageLocation")
@com.aliyun.core.annotation.Validation(required = true)
private String storageLocation;
private SetCrossdomainContentRequest(Builder builder) {
super(builder);
this.content = builder.content;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.resourceRealOwnerId = builder.resourceRealOwnerId;
this.storageLocation = builder.storageLocation;
}
public static Builder builder() {
return new Builder();
}
public static SetCrossdomainContentRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public String getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public String getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return resourceRealOwnerId
*/
public String getResourceRealOwnerId() {
return this.resourceRealOwnerId;
}
/**
* @return storageLocation
*/
public String getStorageLocation() {
return this.storageLocation;
}
public static final class Builder extends Request.Builder<SetCrossdomainContentRequest, Builder> {
private String content;
private String ownerAccount;
private String ownerId;
private String resourceOwnerAccount;
private String resourceOwnerId;
private String resourceRealOwnerId;
private String storageLocation;
private Builder() {
super();
}
private Builder(SetCrossdomainContentRequest request) {
super(request);
this.content = request.content;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.resourceRealOwnerId = request.resourceRealOwnerId;
this.storageLocation = request.storageLocation;
}
/**
* <p>The content of the cross-domain policy file. The file must be in the XML format and can contain up to 2,048 characters.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p><cross-domain-policy><allow-access-from domain="<em>"/><allow-http-request-headers-from domain="</em>" headers="*" secure="false"/></cross-domain-policy></p>
*/
public Builder content(String content) {
this.putQueryParameter("Content", content);
this.content = content;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(String ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(String resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the resource owner.</p>
*
* <strong>example:</strong>
* <p>3461111</p>
*/
public Builder resourceRealOwnerId(String resourceRealOwnerId) {
this.putQueryParameter("ResourceRealOwnerId", resourceRealOwnerId);
this.resourceRealOwnerId = resourceRealOwnerId;
return this;
}
/**
* <p>The URL of the Object Storage Service (OSS) bucket.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>outin-67870fd5b****1e98a3900163e1c35d5.oss-cn-shanghai.aliyuncs.com</p>
*/
public Builder storageLocation(String storageLocation) {
this.putQueryParameter("StorageLocation", storageLocation);
this.storageLocation = storageLocation;
return this;
}
@Override
public SetCrossdomainContentRequest build() {
return new SetCrossdomainContentRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetCrossdomainContentResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetCrossdomainContentResponse} extends {@link TeaModel}
*
* <p>SetCrossdomainContentResponse</p>
*/
public class SetCrossdomainContentResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetCrossdomainContentResponseBody body;
private SetCrossdomainContentResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetCrossdomainContentResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetCrossdomainContentResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetCrossdomainContentResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetCrossdomainContentResponseBody body);
@Override
SetCrossdomainContentResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetCrossdomainContentResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetCrossdomainContentResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetCrossdomainContentResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetCrossdomainContentResponseBody body) {
this.body = body;
return this;
}
@Override
public SetCrossdomainContentResponse build() {
return new SetCrossdomainContentResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetCrossdomainContentResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetCrossdomainContentResponseBody} extends {@link TeaModel}
*
* <p>SetCrossdomainContentResponseBody</p>
*/
public class SetCrossdomainContentResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SetCrossdomainContentResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SetCrossdomainContentResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(SetCrossdomainContentResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A13-****-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SetCrossdomainContentResponseBody build() {
return new SetCrossdomainContentResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultAITemplateRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultAITemplateRequest} extends {@link RequestModel}
*
* <p>SetDefaultAITemplateRequest</p>
*/
public class SetDefaultAITemplateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TemplateId")
@com.aliyun.core.annotation.Validation(required = true)
private String templateId;
private SetDefaultAITemplateRequest(Builder builder) {
super(builder);
this.templateId = builder.templateId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultAITemplateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return templateId
*/
public String getTemplateId() {
return this.templateId;
}
public static final class Builder extends Request.Builder<SetDefaultAITemplateRequest, Builder> {
private String templateId;
private Builder() {
super();
}
private Builder(SetDefaultAITemplateRequest request) {
super(request);
this.templateId = request.templateId;
}
/**
* <p>The ID of the AI template.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1706a0063dd733f6a823ef32e0a5****</p>
*/
public Builder templateId(String templateId) {
this.putQueryParameter("TemplateId", templateId);
this.templateId = templateId;
return this;
}
@Override
public SetDefaultAITemplateRequest build() {
return new SetDefaultAITemplateRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultAITemplateResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultAITemplateResponse} extends {@link TeaModel}
*
* <p>SetDefaultAITemplateResponse</p>
*/
public class SetDefaultAITemplateResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetDefaultAITemplateResponseBody body;
private SetDefaultAITemplateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetDefaultAITemplateResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetDefaultAITemplateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetDefaultAITemplateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetDefaultAITemplateResponseBody body);
@Override
SetDefaultAITemplateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetDefaultAITemplateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetDefaultAITemplateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetDefaultAITemplateResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetDefaultAITemplateResponseBody body) {
this.body = body;
return this;
}
@Override
public SetDefaultAITemplateResponse build() {
return new SetDefaultAITemplateResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultAITemplateResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultAITemplateResponseBody} extends {@link TeaModel}
*
* <p>SetDefaultAITemplateResponseBody</p>
*/
public class SetDefaultAITemplateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TemplateId")
private String templateId;
private SetDefaultAITemplateResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.templateId = builder.templateId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultAITemplateResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return templateId
*/
public String getTemplateId() {
return this.templateId;
}
public static final class Builder {
private String requestId;
private String templateId;
private Builder() {
}
private Builder(SetDefaultAITemplateResponseBody model) {
this.requestId = model.requestId;
this.templateId = model.templateId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>8E70E3F8-E2EE-47BC-4677-379D6F28****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the AI template.</p>
*
* <strong>example:</strong>
* <p>1706a0063dd733f6a823ef32e0a5****</p>
*/
public Builder templateId(String templateId) {
this.templateId = templateId;
return this;
}
public SetDefaultAITemplateResponseBody build() {
return new SetDefaultAITemplateResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultTranscodeTemplateGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultTranscodeTemplateGroupRequest} extends {@link RequestModel}
*
* <p>SetDefaultTranscodeTemplateGroupRequest</p>
*/
public class SetDefaultTranscodeTemplateGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TranscodeTemplateGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String transcodeTemplateGroupId;
private SetDefaultTranscodeTemplateGroupRequest(Builder builder) {
super(builder);
this.transcodeTemplateGroupId = builder.transcodeTemplateGroupId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultTranscodeTemplateGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return transcodeTemplateGroupId
*/
public String getTranscodeTemplateGroupId() {
return this.transcodeTemplateGroupId;
}
public static final class Builder extends Request.Builder<SetDefaultTranscodeTemplateGroupRequest, Builder> {
private String transcodeTemplateGroupId;
private Builder() {
super();
}
private Builder(SetDefaultTranscodeTemplateGroupRequest request) {
super(request);
this.transcodeTemplateGroupId = request.transcodeTemplateGroupId;
}
/**
* <p>The ID of the transcoding template group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>d58079958be8d*****b699ab7ab6e1bf</p>
*/
public Builder transcodeTemplateGroupId(String transcodeTemplateGroupId) {
this.putQueryParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
this.transcodeTemplateGroupId = transcodeTemplateGroupId;
return this;
}
@Override
public SetDefaultTranscodeTemplateGroupRequest build() {
return new SetDefaultTranscodeTemplateGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultTranscodeTemplateGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultTranscodeTemplateGroupResponse} extends {@link TeaModel}
*
* <p>SetDefaultTranscodeTemplateGroupResponse</p>
*/
public class SetDefaultTranscodeTemplateGroupResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetDefaultTranscodeTemplateGroupResponseBody body;
private SetDefaultTranscodeTemplateGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetDefaultTranscodeTemplateGroupResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetDefaultTranscodeTemplateGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetDefaultTranscodeTemplateGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetDefaultTranscodeTemplateGroupResponseBody body);
@Override
SetDefaultTranscodeTemplateGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetDefaultTranscodeTemplateGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetDefaultTranscodeTemplateGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetDefaultTranscodeTemplateGroupResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetDefaultTranscodeTemplateGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public SetDefaultTranscodeTemplateGroupResponse build() {
return new SetDefaultTranscodeTemplateGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultTranscodeTemplateGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultTranscodeTemplateGroupResponseBody} extends {@link TeaModel}
*
* <p>SetDefaultTranscodeTemplateGroupResponseBody</p>
*/
public class SetDefaultTranscodeTemplateGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SetDefaultTranscodeTemplateGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultTranscodeTemplateGroupResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(SetDefaultTranscodeTemplateGroupResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A*****F6-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SetDefaultTranscodeTemplateGroupResponseBody build() {
return new SetDefaultTranscodeTemplateGroupResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultWatermarkRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultWatermarkRequest} extends {@link RequestModel}
*
* <p>SetDefaultWatermarkRequest</p>
*/
public class SetDefaultWatermarkRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("WatermarkId")
@com.aliyun.core.annotation.Validation(required = true)
private String watermarkId;
private SetDefaultWatermarkRequest(Builder builder) {
super(builder);
this.watermarkId = builder.watermarkId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultWatermarkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return watermarkId
*/
public String getWatermarkId() {
return this.watermarkId;
}
public static final class Builder extends Request.Builder<SetDefaultWatermarkRequest, Builder> {
private String watermarkId;
private Builder() {
super();
}
private Builder(SetDefaultWatermarkRequest request) {
super(request);
this.watermarkId = request.watermarkId;
}
/**
* <p>The ID of the watermark template. You can specify only one watermark template ID. You can obtain the ID by using one of the following methods:</p>
* <ul>
* <li>Obtain the watermark template ID from the response to the <a href="~~AddWatermark~~">AddWatermark</a> operation that you call to create a watermark template.</li>
* <li>Obtain the watermark template ID from the response to the <a href="~~ListWatermark~~">ListWatermark</a> operation that you call to query all watermark templates within your account.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>9bcc8bfadb843f*****09a2671d0df97</p>
*/
public Builder watermarkId(String watermarkId) {
this.putQueryParameter("WatermarkId", watermarkId);
this.watermarkId = watermarkId;
return this;
}
@Override
public SetDefaultWatermarkRequest build() {
return new SetDefaultWatermarkRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultWatermarkResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultWatermarkResponse} extends {@link TeaModel}
*
* <p>SetDefaultWatermarkResponse</p>
*/
public class SetDefaultWatermarkResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetDefaultWatermarkResponseBody body;
private SetDefaultWatermarkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetDefaultWatermarkResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetDefaultWatermarkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetDefaultWatermarkResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetDefaultWatermarkResponseBody body);
@Override
SetDefaultWatermarkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetDefaultWatermarkResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetDefaultWatermarkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetDefaultWatermarkResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetDefaultWatermarkResponseBody body) {
this.body = body;
return this;
}
@Override
public SetDefaultWatermarkResponse build() {
return new SetDefaultWatermarkResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetDefaultWatermarkResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetDefaultWatermarkResponseBody} extends {@link TeaModel}
*
* <p>SetDefaultWatermarkResponseBody</p>
*/
public class SetDefaultWatermarkResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SetDefaultWatermarkResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SetDefaultWatermarkResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(SetDefaultWatermarkResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>25818875-5F78-4A*****F6-D7393642CA58</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SetDefaultWatermarkResponseBody build() {
return new SetDefaultWatermarkResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetEditingProjectMaterialsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetEditingProjectMaterialsRequest} extends {@link RequestModel}
*
* <p>SetEditingProjectMaterialsRequest</p>
*/
public class SetEditingProjectMaterialsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaterialIds")
@com.aliyun.core.annotation.Validation(required = true)
private String materialIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private String ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProjectId")
@com.aliyun.core.annotation.Validation(required = true)
private String projectId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private String resourceOwnerId;
private SetEditingProjectMaterialsRequest(Builder builder) {
super(builder);
this.materialIds = builder.materialIds;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.projectId = builder.projectId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static SetEditingProjectMaterialsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return materialIds
*/
public String getMaterialIds() {
return this.materialIds;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public String getOwnerId() {
return this.ownerId;
}
/**
* @return projectId
*/
public String getProjectId() {
return this.projectId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public String getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<SetEditingProjectMaterialsRequest, Builder> {
private String materialIds;
private String ownerAccount;
private String ownerId;
private String projectId;
private String resourceOwnerAccount;
private String resourceOwnerId;
private Builder() {
super();
}
private Builder(SetEditingProjectMaterialsRequest request) {
super(request);
this.materialIds = request.materialIds;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.projectId = request.projectId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the media asset. You can specify IDs of media assets such as videos, images, or auxiliary media assets. Separate multiple IDs with commas (,).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>9e3101bf24bf41c*****123318788ca</p>
*/
public Builder materialIds(String materialIds) {
this.putQueryParameter("MaterialIds", materialIds);
this.materialIds = materialIds;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(String ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the online editing project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fb2101bf24bf4*****754cb318787dc</p>
*/
public Builder projectId(String projectId) {
this.putQueryParameter("ProjectId", projectId);
this.projectId = projectId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(String resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public SetEditingProjectMaterialsRequest build() {
return new SetEditingProjectMaterialsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetEditingProjectMaterialsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetEditingProjectMaterialsResponse} extends {@link TeaModel}
*
* <p>SetEditingProjectMaterialsResponse</p>
*/
public class SetEditingProjectMaterialsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetEditingProjectMaterialsResponseBody body;
private SetEditingProjectMaterialsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetEditingProjectMaterialsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetEditingProjectMaterialsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetEditingProjectMaterialsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetEditingProjectMaterialsResponseBody body);
@Override
SetEditingProjectMaterialsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetEditingProjectMaterialsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetEditingProjectMaterialsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetEditingProjectMaterialsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetEditingProjectMaterialsResponseBody body) {
this.body = body;
return this;
}
@Override
public SetEditingProjectMaterialsResponse build() {
return new SetEditingProjectMaterialsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetEditingProjectMaterialsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetEditingProjectMaterialsResponseBody} extends {@link TeaModel}
*
* <p>SetEditingProjectMaterialsResponseBody</p>
*/
public class SetEditingProjectMaterialsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private SetEditingProjectMaterialsResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static SetEditingProjectMaterialsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(SetEditingProjectMaterialsResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>746FFA07-8BBB-46*****B1-3E94E3B2915E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public SetEditingProjectMaterialsResponseBody build() {
return new SetEditingProjectMaterialsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetMessageCallbackRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetMessageCallbackRequest} extends {@link RequestModel}
*
* <p>SetMessageCallbackRequest</p>
*/
public class SetMessageCallbackRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AuthKey")
private String authKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AuthSwitch")
private String authSwitch;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CallbackType")
private String callbackType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CallbackURL")
private String callbackURL;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EventTypeList")
private String eventTypeList;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MnsEndpoint")
private String mnsEndpoint;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MnsQueueName")
private String mnsQueueName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
private SetMessageCallbackRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.authKey = builder.authKey;
this.authSwitch = builder.authSwitch;
this.callbackType = builder.callbackType;
this.callbackURL = builder.callbackURL;
this.eventTypeList = builder.eventTypeList;
this.mnsEndpoint = builder.mnsEndpoint;
this.mnsQueueName = builder.mnsQueueName;
this.ownerAccount = builder.ownerAccount;
}
public static Builder builder() {
return new Builder();
}
public static SetMessageCallbackRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return authKey
*/
public String getAuthKey() {
return this.authKey;
}
/**
* @return authSwitch
*/
public String getAuthSwitch() {
return this.authSwitch;
}
/**
* @return callbackType
*/
public String getCallbackType() {
return this.callbackType;
}
/**
* @return callbackURL
*/
public String getCallbackURL() {
return this.callbackURL;
}
/**
* @return eventTypeList
*/
public String getEventTypeList() {
return this.eventTypeList;
}
/**
* @return mnsEndpoint
*/
public String getMnsEndpoint() {
return this.mnsEndpoint;
}
/**
* @return mnsQueueName
*/
public String getMnsQueueName() {
return this.mnsQueueName;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
public static final class Builder extends Request.Builder<SetMessageCallbackRequest, Builder> {
private String appId;
private String authKey;
private String authSwitch;
private String callbackType;
private String callbackURL;
private String eventTypeList;
private String mnsEndpoint;
private String mnsQueueName;
private String ownerAccount;
private Builder() {
super();
}
private Builder(SetMessageCallbackRequest request) {
super(request);
this.appId = request.appId;
this.authKey = request.authKey;
this.authSwitch = request.authSwitch;
this.callbackType = request.callbackType;
this.callbackURL = request.callbackURL;
this.eventTypeList = request.eventTypeList;
this.mnsEndpoint = request.mnsEndpoint;
this.mnsQueueName = request.mnsQueueName;
this.ownerAccount = request.ownerAccount;
}
/**
* <p>The ID of the application. If you leave this parameter empty, the default value <strong>app-1000000</strong> is used.</p>
*
* <strong>example:</strong>
* <p>app-1000000</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The authentication key. The key can be up to 32 characters in length and must contain uppercase letters, lowercase letters, and digits. This parameter takes effect only when you set CallbackType to <strong>HTTP</strong>.</p>
*
* <strong>example:</strong>
* <p>Dsf346dvet</p>
*/
public Builder authKey(String authKey) {
this.putQueryParameter("AuthKey", authKey);
this.authKey = authKey;
return this;
}
/**
* <p>Specifies whether to enable callback authentication. This parameter takes effect only when you set CallbackType to <strong>HTTP</strong>. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder authSwitch(String authSwitch) {
this.putQueryParameter("AuthSwitch", authSwitch);
this.authSwitch = authSwitch;
return this;
}
/**
* <p>The callback method. Valid values:</p>
* <ul>
* <li><strong>HTTP</strong></li>
* <li><strong>Simple Message Queue(formerly MNS)</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>HTTP</p>
*/
public Builder callbackType(String callbackType) {
this.putQueryParameter("CallbackType", callbackType);
this.callbackType = callbackType;
return this;
}
/**
* <p>The callback URL. This parameter is required if you set CallbackType to <strong>HTTP</strong>. The callback URL cannot exceed 256 bytes in length. You can specify only one callback URL.</p>
*
* <strong>example:</strong>
* <p><a href="http://developer.aliyundoc.com">http://developer.aliyundoc.com</a></p>
*/
public Builder callbackURL(String callbackURL) {
this.putQueryParameter("CallbackURL", callbackURL);
this.callbackURL = callbackURL;
return this;
}
/**
* <p>The type of the callback event. If you do not set this parameter, notifications for all types of events are disabled. If you set this parameter to <strong>ALL</strong>, notifications for all types of events are enabled. You can specify the event types for which notifications are enabled. Separate multiple event types with commas (,). For more information about the valid values of this parameter, see <a href="https://help.aliyun.com/document_detail/55627.html">Overview</a>.</p>
*
* <strong>example:</strong>
* <p>FileUploadComplete</p>
*/
public Builder eventTypeList(String eventTypeList) {
this.putQueryParameter("EventTypeList", eventTypeList);
this.eventTypeList = eventTypeList;
return this;
}
/**
* <p>The public endpoint of Message Service (MNS). This parameter only takes effect when the CallbackType parameter is set to <strong>Simple Message Queue(formerly MNS)</strong>. To obtain the public endpoint, log on to the <a href="https://account.aliyun.com/login/login.html">Simple Message Queue(formerly MNS) console</a> and click <strong>Get Endpoint</strong> in the upper-right corner of the Topics page. For more information, see <a href="https://help.aliyun.com/document_detail/27480.html">Endpoint</a>.</p>
*
* <strong>example:</strong>
* <p>http://****.mns.cn-shanghai.aliyuncs.com/</p>
*/
public Builder mnsEndpoint(String mnsEndpoint) {
this.putQueryParameter("MnsEndpoint", mnsEndpoint);
this.mnsEndpoint = mnsEndpoint;
return this;
}
/**
* <p>The name of the Simple Message Queue(formerly MNS). You can obtain the name of the Simple Message Queue(formerly MNS) on the <strong>Queues</strong> page in the <a href="https://account.aliyun.com/login/login.html">Simple Message Queue(formerly MNS) console</a>. This parameter is required when you set CallbackType to <strong>Simple Message Queue(formerly MNS)</strong>.</p>
*
* <strong>example:</strong>
* <p>quene_name</p>
*/
public Builder mnsQueueName(String mnsQueueName) {
this.putQueryParameter("MnsQueueName", mnsQueueName);
this.mnsQueueName = mnsQueueName;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
@Override
public SetMessageCallbackRequest build() {
return new SetMessageCallbackRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321 | java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/SetMessageCallbackResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vod20170321.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link SetMessageCallbackResponse} extends {@link TeaModel}
*
* <p>SetMessageCallbackResponse</p>
*/
public class SetMessageCallbackResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SetMessageCallbackResponseBody body;
private SetMessageCallbackResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SetMessageCallbackResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SetMessageCallbackResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SetMessageCallbackResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SetMessageCallbackResponseBody body);
@Override
SetMessageCallbackResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SetMessageCallbackResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SetMessageCallbackResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SetMessageCallbackResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SetMessageCallbackResponseBody body) {
this.body = body;
return this;
}
@Override
public SetMessageCallbackResponse build() {
return new SetMessageCallbackResponse(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.