com.aliyun.dingtalkresident_1_0.models.UpdateSpaceRequest 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.dingtalkresident_1_0.models;
import com.aliyun.tea.*;
public class UpdateSpaceRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* A栋
*/
@NameInMap("spaceInfoVOList")
public java.util.List spaceInfoVOList;
public static UpdateSpaceRequest build(java.util.Map map) throws Exception {
UpdateSpaceRequest self = new UpdateSpaceRequest();
return TeaModel.build(map, self);
}
public UpdateSpaceRequest setSpaceInfoVOList(java.util.List spaceInfoVOList) {
this.spaceInfoVOList = spaceInfoVOList;
return this;
}
public java.util.List getSpaceInfoVOList() {
return this.spaceInfoVOList;
}
public static class UpdateSpaceRequestSpaceInfoVOList extends TeaModel {
/**
* example:
* 123.4
*/
@NameInMap("billingArea")
public Float billingArea;
/**
* example:
* 123.4
*/
@NameInMap("buildingArea")
public Float buildingArea;
/**
* example:
* 当tagcode为Building的时候必填
*/
@NameInMap("buildingType")
public Long buildingType;
/**
* This parameter is required.
*
* example:
* 10005
*/
@NameInMap("deptId")
public Long deptId;
/**
* example:
* 12
*/
@NameInMap("floor")
public String floor;
/**
* example:
* 1
*/
@NameInMap("houseState")
public Long houseState;
/**
* example:
* 1
*/
@NameInMap("houseType")
public Long houseType;
/**
* example:
* 二单元
*/
@NameInMap("name")
public String name;
@NameInMap("parentDeptId")
public Long parentDeptId;
/**
* This parameter is required.
*
* example:
* 空间类型标签code,House/Unit/Building/Partition
*/
@NameInMap("tagCode")
public String tagCode;
public static UpdateSpaceRequestSpaceInfoVOList build(java.util.Map map) throws Exception {
UpdateSpaceRequestSpaceInfoVOList self = new UpdateSpaceRequestSpaceInfoVOList();
return TeaModel.build(map, self);
}
public UpdateSpaceRequestSpaceInfoVOList setBillingArea(Float billingArea) {
this.billingArea = billingArea;
return this;
}
public Float getBillingArea() {
return this.billingArea;
}
public UpdateSpaceRequestSpaceInfoVOList setBuildingArea(Float buildingArea) {
this.buildingArea = buildingArea;
return this;
}
public Float getBuildingArea() {
return this.buildingArea;
}
public UpdateSpaceRequestSpaceInfoVOList setBuildingType(Long buildingType) {
this.buildingType = buildingType;
return this;
}
public Long getBuildingType() {
return this.buildingType;
}
public UpdateSpaceRequestSpaceInfoVOList setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public UpdateSpaceRequestSpaceInfoVOList setFloor(String floor) {
this.floor = floor;
return this;
}
public String getFloor() {
return this.floor;
}
public UpdateSpaceRequestSpaceInfoVOList setHouseState(Long houseState) {
this.houseState = houseState;
return this;
}
public Long getHouseState() {
return this.houseState;
}
public UpdateSpaceRequestSpaceInfoVOList setHouseType(Long houseType) {
this.houseType = houseType;
return this;
}
public Long getHouseType() {
return this.houseType;
}
public UpdateSpaceRequestSpaceInfoVOList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateSpaceRequestSpaceInfoVOList setParentDeptId(Long parentDeptId) {
this.parentDeptId = parentDeptId;
return this;
}
public Long getParentDeptId() {
return this.parentDeptId;
}
public UpdateSpaceRequestSpaceInfoVOList setTagCode(String tagCode) {
this.tagCode = tagCode;
return this;
}
public String getTagCode() {
return this.tagCode;
}
}
}