com.aliyun.dingtalkokr_1_0.models.GetPeriodListResponseBody 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.dingtalkokr_1_0.models;
import com.aliyun.tea.*;
public class GetPeriodListResponseBody extends TeaModel {
@NameInMap("data")
public GetPeriodListResponseBodyData data;
@NameInMap("success")
public Boolean success;
public static GetPeriodListResponseBody build(java.util.Map map) throws Exception {
GetPeriodListResponseBody self = new GetPeriodListResponseBody();
return TeaModel.build(map, self);
}
public GetPeriodListResponseBody setData(GetPeriodListResponseBodyData data) {
this.data = data;
return this;
}
public GetPeriodListResponseBodyData getData() {
return this.data;
}
public GetPeriodListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetPeriodListResponseBodyDataPeriodList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("endTime")
public Float endTime;
/**
* This parameter is required.
*/
@NameInMap("id")
public java.io.InputStream id;
/**
* This parameter is required.
*/
@NameInMap("isCurrent")
public Boolean isCurrent;
/**
* This parameter is required.
*/
@NameInMap("isYearly")
public Boolean isYearly;
/**
* This parameter is required.
*/
@NameInMap("name")
public java.io.InputStream name;
/**
* This parameter is required.
*/
@NameInMap("startTime")
public Float startTime;
public static GetPeriodListResponseBodyDataPeriodList build(java.util.Map map) throws Exception {
GetPeriodListResponseBodyDataPeriodList self = new GetPeriodListResponseBodyDataPeriodList();
return TeaModel.build(map, self);
}
public GetPeriodListResponseBodyDataPeriodList setEndTime(Float endTime) {
this.endTime = endTime;
return this;
}
public Float getEndTime() {
return this.endTime;
}
public GetPeriodListResponseBodyDataPeriodList setId(java.io.InputStream id) {
this.id = id;
return this;
}
public java.io.InputStream getId() {
return this.id;
}
public GetPeriodListResponseBodyDataPeriodList setIsCurrent(Boolean isCurrent) {
this.isCurrent = isCurrent;
return this;
}
public Boolean getIsCurrent() {
return this.isCurrent;
}
public GetPeriodListResponseBodyDataPeriodList setIsYearly(Boolean isYearly) {
this.isYearly = isYearly;
return this;
}
public Boolean getIsYearly() {
return this.isYearly;
}
public GetPeriodListResponseBodyDataPeriodList setName(java.io.InputStream name) {
this.name = name;
return this;
}
public java.io.InputStream getName() {
return this.name;
}
public GetPeriodListResponseBodyDataPeriodList setStartTime(Float startTime) {
this.startTime = startTime;
return this;
}
public Float getStartTime() {
return this.startTime;
}
}
public static class GetPeriodListResponseBodyData extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("periodList")
public java.util.List periodList;
public static GetPeriodListResponseBodyData build(java.util.Map map) throws Exception {
GetPeriodListResponseBodyData self = new GetPeriodListResponseBodyData();
return TeaModel.build(map, self);
}
public GetPeriodListResponseBodyData setPeriodList(java.util.List periodList) {
this.periodList = periodList;
return this;
}
public java.util.List getPeriodList() {
return this.periodList;
}
}
}