com.aliyun.dingtalkcontact_1_0.models.UpdateUserOwnnessRequest 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.dingtalkcontact_1_0.models;
import com.aliyun.tea.*;
public class UpdateUserOwnnessRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1-删除,0-正常
*/
@NameInMap("deletedFlag")
public Integer deletedFlag;
/**
* This parameter is required.
*/
@NameInMap("endTime")
public Long endTime;
/**
* This parameter is required.
*
* example:
* 123456
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 1-请假,3-出差
*/
@NameInMap("ownenssType")
public Integer ownenssType;
/**
* This parameter is required.
*/
@NameInMap("startTime")
public Long startTime;
public static UpdateUserOwnnessRequest build(java.util.Map map) throws Exception {
UpdateUserOwnnessRequest self = new UpdateUserOwnnessRequest();
return TeaModel.build(map, self);
}
public UpdateUserOwnnessRequest setDeletedFlag(Integer deletedFlag) {
this.deletedFlag = deletedFlag;
return this;
}
public Integer getDeletedFlag() {
return this.deletedFlag;
}
public UpdateUserOwnnessRequest setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public UpdateUserOwnnessRequest setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public UpdateUserOwnnessRequest setOwnenssType(Integer ownenssType) {
this.ownenssType = ownenssType;
return this;
}
public Integer getOwnenssType() {
return this.ownenssType;
}
public UpdateUserOwnnessRequest setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
}