com.aliyun.sdk.service.green20220302.models.VideoModerationCancelResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.green20220302.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link VideoModerationCancelResponseBody} extends {@link TeaModel}
*
* VideoModerationCancelResponseBody
*/
public class VideoModerationCancelResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private VideoModerationCancelResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static VideoModerationCancelResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
/**
* The returned HTTP status code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The message that is returned in response to the request.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public VideoModerationCancelResponseBody build() {
return new VideoModerationCancelResponseBody(this);
}
}
}