com.aliyun.dingtalkproject_1_0.models.CreatePlanTimeResponseBody 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.dingtalkproject_1_0.models;
import com.aliyun.tea.*;
public class CreatePlanTimeResponseBody extends TeaModel {
@NameInMap("result")
public CreatePlanTimeResponseBodyResult result;
public static CreatePlanTimeResponseBody build(java.util.Map map) throws Exception {
CreatePlanTimeResponseBody self = new CreatePlanTimeResponseBody();
return TeaModel.build(map, self);
}
public CreatePlanTimeResponseBody setResult(CreatePlanTimeResponseBodyResult result) {
this.result = result;
return this;
}
public CreatePlanTimeResponseBodyResult getResult() {
return this.result;
}
public static class CreatePlanTimeResponseBodyResultBody extends TeaModel {
/**
* example:
* 2022-09-05T00:00:00.000Z
*/
@NameInMap("date")
public String date;
/**
* example:
* 63186e54e07f18003fea6b90
*/
@NameInMap("objectId")
public String objectId;
/**
* example:
* 360000
*/
@NameInMap("planTime")
public Long planTime;
public static CreatePlanTimeResponseBodyResultBody build(java.util.Map map) throws Exception {
CreatePlanTimeResponseBodyResultBody self = new CreatePlanTimeResponseBodyResultBody();
return TeaModel.build(map, self);
}
public CreatePlanTimeResponseBodyResultBody setDate(String date) {
this.date = date;
return this;
}
public String getDate() {
return this.date;
}
public CreatePlanTimeResponseBodyResultBody setObjectId(String objectId) {
this.objectId = objectId;
return this;
}
public String getObjectId() {
return this.objectId;
}
public CreatePlanTimeResponseBodyResultBody setPlanTime(Long planTime) {
this.planTime = planTime;
return this;
}
public Long getPlanTime() {
return this.planTime;
}
}
public static class CreatePlanTimeResponseBodyResult extends TeaModel {
@NameInMap("body")
public java.util.List body;
/**
* example:
* 创建工时成功
*/
@NameInMap("message")
public String message;
@NameInMap("ok")
public Boolean ok;
public static CreatePlanTimeResponseBodyResult build(java.util.Map map) throws Exception {
CreatePlanTimeResponseBodyResult self = new CreatePlanTimeResponseBodyResult();
return TeaModel.build(map, self);
}
public CreatePlanTimeResponseBodyResult setBody(java.util.List body) {
this.body = body;
return this;
}
public java.util.List getBody() {
return this.body;
}
public CreatePlanTimeResponseBodyResult setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePlanTimeResponseBodyResult setOk(Boolean ok) {
this.ok = ok;
return this;
}
public Boolean getOk() {
return this.ok;
}
}
}