com.aliyun.dingtalkbizfinance_1_0.models.GetCategoryResponseBody 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.dingtalkbizfinance_1_0.models;
import com.aliyun.tea.*;
public class GetCategoryResponseBody extends TeaModel {
// 类别code
@NameInMap("code")
public String code;
// 是否为目录
@NameInMap("isDir")
public Boolean isDir;
// 名称
@NameInMap("name")
public String name;
// 父类别code
@NameInMap("parentCode")
public String parentCode;
// 状态:valid,invalid,deleted
@NameInMap("status")
public String status;
// 类型:income收入,expense支出
@NameInMap("type")
public String type;
public static GetCategoryResponseBody build(java.util.Map map) throws Exception {
GetCategoryResponseBody self = new GetCategoryResponseBody();
return TeaModel.build(map, self);
}
public GetCategoryResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetCategoryResponseBody setIsDir(Boolean isDir) {
this.isDir = isDir;
return this;
}
public Boolean getIsDir() {
return this.isDir;
}
public GetCategoryResponseBody setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetCategoryResponseBody setParentCode(String parentCode) {
this.parentCode = parentCode;
return this;
}
public String getParentCode() {
return this.parentCode;
}
public GetCategoryResponseBody setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetCategoryResponseBody setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}