com.aliyun.dingtalkimpaas_1_0.models.GetMediaUrlRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkimpaas_1_0.models;
import com.aliyun.tea.*;
public class GetMediaUrlRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* @wesfsdfsfwe
*/
@NameInMap("mediaId")
public String mediaId;
/**
* example:
* 86399
*/
@NameInMap("urlExpireTime")
public Integer urlExpireTime;
public static GetMediaUrlRequest build(java.util.Map map) throws Exception {
GetMediaUrlRequest self = new GetMediaUrlRequest();
return TeaModel.build(map, self);
}
public GetMediaUrlRequest setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
public GetMediaUrlRequest setUrlExpireTime(Integer urlExpireTime) {
this.urlExpireTime = urlExpireTime;
return this;
}
public Integer getUrlExpireTime() {
return this.urlExpireTime;
}
}