com.aliyun.dingtalkbadge_1_0.models.UpdateBadgeCodeUserInstanceRequest 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.dingtalkbadge_1_0.models;
import com.aliyun.tea.*;
public class UpdateBadgeCodeUserInstanceRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("availableTimes")
public java.util.List availableTimes;
/**
* This parameter is required.
*
* example:
* ccodexxxxx
*/
@NameInMap("codeId")
public String codeId;
/**
* This parameter is required.
*
* example:
* TEST
*/
@NameInMap("codeIdentity")
public String codeIdentity;
@NameInMap("codeValue")
public String codeValue;
/**
* This parameter is required.
*
* example:
* corpIdxxxx
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*/
@NameInMap("extInfo")
public java.util.Map extInfo;
/**
* This parameter is required.
*/
@NameInMap("gmtExpired")
public String gmtExpired;
/**
* example:
* OPEN
*/
@NameInMap("status")
public String status;
/**
* This parameter is required.
*
* example:
* INTERNAL_STAFF
*/
@NameInMap("userCorpRelationType")
public String userCorpRelationType;
/**
* This parameter is required.
*
* example:
* 86-xxxxxx
*/
@NameInMap("userIdentity")
public String userIdentity;
public static UpdateBadgeCodeUserInstanceRequest build(java.util.Map map) throws Exception {
UpdateBadgeCodeUserInstanceRequest self = new UpdateBadgeCodeUserInstanceRequest();
return TeaModel.build(map, self);
}
public UpdateBadgeCodeUserInstanceRequest setAvailableTimes(java.util.List availableTimes) {
this.availableTimes = availableTimes;
return this;
}
public java.util.List getAvailableTimes() {
return this.availableTimes;
}
public UpdateBadgeCodeUserInstanceRequest setCodeId(String codeId) {
this.codeId = codeId;
return this;
}
public String getCodeId() {
return this.codeId;
}
public UpdateBadgeCodeUserInstanceRequest setCodeIdentity(String codeIdentity) {
this.codeIdentity = codeIdentity;
return this;
}
public String getCodeIdentity() {
return this.codeIdentity;
}
public UpdateBadgeCodeUserInstanceRequest setCodeValue(String codeValue) {
this.codeValue = codeValue;
return this;
}
public String getCodeValue() {
return this.codeValue;
}
public UpdateBadgeCodeUserInstanceRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public UpdateBadgeCodeUserInstanceRequest setExtInfo(java.util.Map extInfo) {
this.extInfo = extInfo;
return this;
}
public java.util.Map getExtInfo() {
return this.extInfo;
}
public UpdateBadgeCodeUserInstanceRequest setGmtExpired(String gmtExpired) {
this.gmtExpired = gmtExpired;
return this;
}
public String getGmtExpired() {
return this.gmtExpired;
}
public UpdateBadgeCodeUserInstanceRequest setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public UpdateBadgeCodeUserInstanceRequest setUserCorpRelationType(String userCorpRelationType) {
this.userCorpRelationType = userCorpRelationType;
return this;
}
public String getUserCorpRelationType() {
return this.userCorpRelationType;
}
public UpdateBadgeCodeUserInstanceRequest setUserIdentity(String userIdentity) {
this.userIdentity = userIdentity;
return this;
}
public String getUserIdentity() {
return this.userIdentity;
}
public static class UpdateBadgeCodeUserInstanceRequestAvailableTimes extends TeaModel {
/**
* This parameter is required.
*
* example:
* yyyy-MM-dd HH:mm:ss
*/
@NameInMap("gmtEnd")
public String gmtEnd;
/**
* This parameter is required.
*
* example:
* yyyy-MM-dd HH:mm:ss
*/
@NameInMap("gmtStart")
public String gmtStart;
public static UpdateBadgeCodeUserInstanceRequestAvailableTimes build(java.util.Map map) throws Exception {
UpdateBadgeCodeUserInstanceRequestAvailableTimes self = new UpdateBadgeCodeUserInstanceRequestAvailableTimes();
return TeaModel.build(map, self);
}
public UpdateBadgeCodeUserInstanceRequestAvailableTimes setGmtEnd(String gmtEnd) {
this.gmtEnd = gmtEnd;
return this;
}
public String getGmtEnd() {
return this.gmtEnd;
}
public UpdateBadgeCodeUserInstanceRequestAvailableTimes setGmtStart(String gmtStart) {
this.gmtStart = gmtStart;
return this;
}
public String getGmtStart() {
return this.gmtStart;
}
}
}